From: Jakub Bogusz Date: Sun, 5 Feb 2023 06:40:13 +0000 (+0100) Subject: - versioned Obsoletes, verbose jar files, updated URL X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=5444e30f459fb895015e1b5b3257e2858b4b98e1;p=packages%2Fjava-xml-commons.git - versioned Obsoletes, verbose jar files, updated URL --- diff --git a/java-xml-commons.spec b/java-xml-commons.spec index b9cfc3c..614c89e 100644 --- a/java-xml-commons.spec +++ b/java-xml-commons.spec @@ -1,5 +1,5 @@ %define subver b2 -%define rel 10 +%define rel 10 %define srcname xml-commons Summary: Common code for Apache XML projects Summary(pl.UTF-8): Wspólny kod dla projektów Apache XML @@ -12,7 +12,7 @@ Source0: http://www.apache.org/dist/xml/commons/%{srcname}-%{version}.%{subver}. # Source0-md5: 6c6551ece56948ee535d5f5014489b8d Patch0: %{srcname}.build.patch Patch1: %{srcname}.manifest.patch -URL: http://xml.apache.org/commons/ +URL: https://xerces.apache.org/xml-commons/ BuildRequires: ant BuildRequires: jdk BuildRequires: jpackage-utils @@ -22,7 +22,7 @@ BuildRequires: rpmbuild(macros) >= 1.300 BuildRequires: sed >= 4.0 Requires: jpackage-utils Provides: java(xml-commons-apis) -Obsoletes: xml-commons +Obsoletes: xml-commons < 1.0-1 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -43,7 +43,7 @@ Summary: Online manual for xml-commons Summary(pl.UTF-8): Dokumentacja online dla xml-commons Group: Documentation Requires: jpackage-utils -Obsoletes: xml-commons-javadoc +Obsoletes: xml-commons-javadoc < 1.0-1 %description javadoc Documentation for xml-commons. @@ -63,6 +63,7 @@ Dokumentacja dla xml-commons. %build %ant clean + %ant jars %install @@ -89,7 +90,10 @@ ln -nfs %{srcname}-%{version} %{_javadocdir}/%{srcname} %files %defattr(644,root,root,755) %doc KEYS README.html -%{_javadir}/*.jar +%{_javadir}/xml-commons-apis-%{version}.jar +%{_javadir}/xml-commons-apis.jar +%{_javadir}/xml-commons-which-%{version}.jar +%{_javadir}/xml-commons-which.jar %files javadoc %defattr(644,root,root,755)