SPECS: python-cElementTree.spec - restore egg info

glen glen at pld-linux.org
Sat Mar 4 23:40:10 CET 2006


Author: glen                         Date: Sat Mar  4 22:40:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- restore egg info

---- Files affected:
SPECS:
   python-cElementTree.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/python-cElementTree.spec
diff -u SPECS/python-cElementTree.spec:1.12 SPECS/python-cElementTree.spec:1.13
--- SPECS/python-cElementTree.spec:1.12	Sat Mar  4 16:05:14 2006
+++ SPECS/python-cElementTree.spec	Sat Mar  4 23:40:04 2006
@@ -12,6 +12,7 @@
 Source0:	http://effbot.org/downloads/cElementTree-%{version}-%{_snap}.tar.gz
 # Source0-md5:	b6896e742e39f594046b07e58f1d25fe
 Patch0:		%{name}-system_expat.patch
+Patch1:		%{name}-egg.patch
 URL:		http://effbot.org/zone/celementtree.htm
 BuildRequires:	expat-devel
 BuildRequires:	python
@@ -35,6 +36,7 @@
 %setup -q -n %{module}-%{version}-%{_snap}
 rm -rf expat
 %patch0 -p1
+%patch1 -p1
 
 %build
 CFLAGS="%{rpmcflags}" %{__python} setup.py build
@@ -43,6 +45,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 python ./setup.py install \
+	--single-version-externally-managed \
 	--optimize 2 \
 	--root=$RPM_BUILD_ROOT
 
@@ -57,6 +60,7 @@
 %defattr(644,root,root,755)
 %doc {samples,README,CHANGES}
 %attr(755,root,root) %{py_sitedir}/cElementTree.so
+%{py_sitedir}/*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2006/03/04 22:40:04  glen
+- restore egg info
+
 Revision 1.12  2006/03/04 15:05:14  glen
 - unneccessary
 
@@ -95,7 +102,8 @@
 - system_expat patch
 
 Revision 1.2  2005/10/22 22:26:52  glen
-- as i was blind enough to create another python-cElementTree.spec, then merged with one what i created
+- as i was blind enough to create another python-cElementTree.spec,
+  then merged with one what i created
 
 Revision 1.1  2005/09/28 20:10:58  arekm
 - initial pld release
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-cElementTree.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list