# # spec file # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global base_name el %global short_name commons-%{base_name} Name: apache-%{short_name} Version: 1.0 Release: 3.37 Summary: The Apache Commons Extension Language License: Apache-1.1 Group: Development/Libraries/Java URL: https://commons.apache.org/%{base_name} Source0: https://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz Source1: https://repo1.maven.org/maven2/%{short_name}/%{short_name}/%{version}/%{short_name}-%{version}.pom Patch0: %{short_name}-%{version}-license.patch Patch1: %{short_name}-eclipse-manifest.patch Patch2: %{short_name}-enum.patch BuildRequires: ant BuildRequires: apache-commons-logging BuildRequires: fdupes BuildRequires: mvn(javax.servlet.jsp:javax.servlet.jsp-api) BuildRequires: glassfish-servlet-api BuildRequires: javapackages-local BuildRequires: junit BuildRequires: java-17-openjdk Requires: mvn(commons-logging:commons-logging) Provides: jakarta-%{short_name} Obsoletes: jakarta-%{short_name} Provides: %{short_name} BuildArch: noarch %description An implementation of standard interfaces and abstract classes for javax.servlet.jsp.el which is part of the JSP 2.0 specification. %package javadoc Summary: API documentation for %{name} Group: Development/Libraries/Java %description javadoc %{summary}. %prep %setup -q -n %{short_name}-%{version}-src %patch0 -p1 -b .license %patch1 -p1 %patch2 -p1 # remove all precompiled stuff find . -type f -name "*.jar" -exec rm -f {} \; cat > build.properties < - Build with java source and target levels 8 * Wed Dec 9 2020 Fridrich Strba - Provide and Obsolete jakarta-commons-el (bsc#1179637) * Fri Apr 12 2019 Fridrich Strba - Initial packaging of apache-commons-el 1.0