[packages/java-xml-commons] - versioned Obsoletes, verbose jar files, updated URL

qboosh qboosh at pld-linux.org
Sun Feb 5 07:38:48 CET 2023


commit 5444e30f459fb895015e1b5b3257e2858b4b98e1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 5 07:40:13 2023 +0100

    - versioned Obsoletes, verbose jar files, updated URL

 java-xml-commons.spec | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/java-xml-commons.git/commitdiff/5444e30f459fb895015e1b5b3257e2858b4b98e1



More information about the pld-cvs-commit mailing list