SPECS: python-PyXML.spec - unified examplesdir - fixed doc duplica...

qboosh qboosh at pld-linux.org
Thu Dec 21 08:34:42 CET 2006


Author: qboosh                       Date: Thu Dec 21 07:34:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unified examplesdir
- fixed doc duplicate
- package .egg-info for python 2.5

---- Files affected:
SPECS:
   python-PyXML.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/python-PyXML.spec
diff -u SPECS/python-PyXML.spec:1.39 SPECS/python-PyXML.spec:1.40
--- SPECS/python-PyXML.spec:1.39	Wed Sep 27 22:21:59 2006
+++ SPECS/python-PyXML.spec	Thu Dec 21 08:34:37 2006
@@ -14,7 +14,7 @@
 # Source0-md5:	1f7655050cebbb664db976405fdba209
 URL:		http://pyxml.sourceforge.net/
 BuildRequires:	expat-devel >= 1:1.95.8
-BuildRequires:	python >= 2.2.1
+BuildRequires:	python >= 1:2.5
 %pyrequires_eq	python-modules
 Requires:	expat >= 1:1.95.8
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -79,7 +79,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 python setup.py install \
 	--root=$RPM_BUILD_ROOT \
@@ -87,20 +87,21 @@
 
 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
 
-cp -a demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -a demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc test ANNOUNCE CREDITS LICENCE README README* TODO
+%doc doc test ANNOUNCE CREDITS LICENCE README* TODO
 %attr(755,root,root) %{_bindir}/*
 %{py_sitedir}/_xmlplus
+%{py_sitedir}/PyXML-*.egg-info
 
 %files examples
 %defattr(644,root,root,755)
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -108,6 +109,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2006/12/21 07:34:37  qboosh
+- unified examplesdir
+- fixed doc duplicate
+- package .egg-info for python 2.5
+
 Revision 1.39  2006/09/27 20:21:59  wrobell
 - rel. 5 to rebuild with python 2.5 (final)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-PyXML.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list