|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file
|
|
|
|
# spec file for package apache-commons-digester
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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
|
|
|
@@ -33,9 +33,7 @@ BuildRequires: commons-beanutils
|
|
|
|
BuildRequires: commons-logging
|
|
|
|
BuildRequires: commons-logging
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: java-devel >= 1.8
|
|
|
|
BuildRequires: java-devel >= 1.8
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
BuildRequires: javapackages-local >= 6
|
|
|
|
Requires: mvn(commons-beanutils:commons-beanutils)
|
|
|
|
|
|
|
|
Requires: mvn(commons-logging:commons-logging)
|
|
|
|
|
|
|
|
Provides: %{short_name} = %{version}-%{release}
|
|
|
|
Provides: %{short_name} = %{version}-%{release}
|
|
|
|
Obsoletes: %{short_name} < %{version}-%{release}
|
|
|
|
Obsoletes: %{short_name} < %{version}-%{release}
|
|
|
|
Provides: jakarta-%{short_name} = %{version}-%{release}
|
|
|
|
Provides: jakarta-%{short_name} = %{version}-%{release}
|
|
|
@@ -89,7 +87,7 @@ install -pm 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{na
|
|
|
|
ln -s %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
|
|
|
|
ln -s %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
|
|
|
|
# pom
|
|
|
|
# pom
|
|
|
|
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
|
|
|
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
|
|
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
|
|
|
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
|
|
|
%add_maven_depmap %{name}.pom %{name}.jar -a org.apache.commons:%{short_name}
|
|
|
|
%add_maven_depmap %{name}.pom %{name}.jar -a org.apache.commons:%{short_name}
|
|
|
|
# javadoc
|
|
|
|
# javadoc
|
|
|
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
|