SPECS: java-xml-commons.spec - no macros for obsoletes, cosmetics

glen glen at pld-linux.org
Fri Jan 30 16:54:08 CET 2009


Author: glen                         Date: Fri Jan 30 15:54:08 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- no macros for obsoletes, cosmetics

---- Files affected:
SPECS:
   java-xml-commons.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/java-xml-commons.spec
diff -u SPECS/java-xml-commons.spec:1.21 SPECS/java-xml-commons.spec:1.22
--- SPECS/java-xml-commons.spec:1.21	Fri Jan 30 12:07:04 2009
+++ SPECS/java-xml-commons.spec	Fri Jan 30 16:54:02 2009
@@ -1,16 +1,16 @@
 # $Revision$, $Date$
-%define		_beta	b2
-%define		_rel	3
+%define		subver	b2
+%define		rel		3
 %define		srcname	xml-commons
 %include	/usr/lib/rpm/macros.java
 Summary:	Common code for Apache XML projects
 Summary(pl.UTF-8):	Wspólny kod dla projektów Apache XML
 Name:		java-%{srcname}
 Version:	1.0
-Release:	0.%{_beta}.%{_rel}
+Release:	0.%{subver}.%{rel}
 License:	Apache
 Group:		Development/Languages/Java
-Source0:	http://www.apache.org/dist/xml/commons/%{srcname}-%{version}.%{_beta}.tar.gz
+Source0:	http://www.apache.org/dist/xml/commons/%{srcname}-%{version}.%{subver}.tar.gz
 # Source0-md5:	6c6551ece56948ee535d5f5014489b8d
 Patch0:		%{srcname}.build.patch
 Patch1:		%{srcname}.manifest.patch
@@ -23,8 +23,8 @@
 BuildRequires:	rpmbuild(macros) >= 1.300
 BuildRequires:	sed >= 4.0
 Requires:	jpackage-utils
-Provides:	%{srcname}
-Obsoletes:	%{srcname}
+Provides:	xml-commons
+Obsoletes:	xml-commons
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -59,7 +59,7 @@
 Dokumentacja dla xml-commons.
 
 %prep
-%setup -q -n %{srcname}-%{version}.%{_beta}
+%setup -q -n %{srcname}-%{version}.%{subver}
 
 %{__sed} -i -e 's,\r$,,' build.xml
 %{__sed} -i -e 's,\r$,,' java/which.xml
@@ -109,13 +109,16 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2009/01/30 15:54:02  glen
+- no macros for obsoletes, cosmetics
+
 Revision 1.21  2009/01/30 11:07:04  pawelz
 - renamed from xml-commons.spec
 
 Revision 1.20  2009/01/28 10:16:05  pawelz
 - use gcj not sun javac (so now we could build it on i486)
 - BR: gcj, ant >= 1.7.1-3 (because of ant-gcjtask.patch)
-- what happened to "%%ant clean"? I am almost sure that I'v added it in last
+- what happened to "%ant clean"? I am almost sure that I'v added it in last
   commit... strange...
 
 Revision 1.19  2009/01/27 16:30:58  pawelz
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-xml-commons.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list