11
0

4 Commits

2 changed files with 10 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 2 15:29:26 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 20 11:04:48 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Tue Feb 20 11:04:48 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file for package apache-commons-el
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -35,9 +35,8 @@ BuildRequires: apache-commons-logging
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: glassfish-jsp-api BuildRequires: glassfish-jsp-api
BuildRequires: glassfish-servlet-api BuildRequires: glassfish-servlet-api
BuildRequires: javapackages-local BuildRequires: javapackages-local >= 6
BuildRequires: junit BuildRequires: junit
Requires: mvn(commons-logging:commons-logging)
Provides: jakarta-%{short_name} Provides: jakarta-%{short_name}
Obsoletes: jakarta-%{short_name} Obsoletes: jakarta-%{short_name}
Provides: %{short_name} Provides: %{short_name}
@@ -73,9 +72,7 @@ jspapi.build.notrequired=true
EOBP EOBP
%build %build
export CLASSPATH= ant \
export OPT_JAR_LIST=:
%{ant} \
-Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \ -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \
-Dfinal.name=%{short_name} \ -Dfinal.name=%{short_name} \
-Dj2se.javadoc=%{_javadocdir}/java \ -Dj2se.javadoc=%{_javadocdir}/java \
@@ -89,7 +86,7 @@ ln -sf %{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar
ln -sf %{short_name}.jar %{buildroot}%{_javadir}/jakarta-%{short_name}.jar ln -sf %{short_name}.jar %{buildroot}%{_javadir}/jakarta-%{short_name}.jar
# pom # pom
install -dm 0755 %{buildroot}%{_mavenpomdir} install -dm 0755 %{buildroot}%{_mavenpomdir}
install -pm 0644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{short_name}.pom %{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{short_name}.pom
%add_maven_depmap %{short_name}.pom %{short_name}.jar -a "org.apache.commons:commons-el" %add_maven_depmap %{short_name}.pom %{short_name}.jar -a "org.apache.commons:commons-el"
# javadoc # javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name} install -dm 0755 %{buildroot}%{_javadocdir}/%{name}