SPECS: python-setuptools.spec - --root option casuses that pth fil...

arekm arekm at pld-linux.org
Fri Dec 9 21:39:22 CET 2005


Author: arekm                        Date: Fri Dec  9 20:39:22 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- --root option casuses that pth file is not created; create manually

---- Files affected:
SPECS:
   python-setuptools.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/python-setuptools.spec
diff -u SPECS/python-setuptools.spec:1.1 SPECS/python-setuptools.spec:1.2
--- SPECS/python-setuptools.spec:1.1	Fri Dec  9 18:34:39 2005
+++ SPECS/python-setuptools.spec	Fri Dec  9 21:39:16 2005
@@ -36,9 +36,10 @@
 python ./setup.py install \
 	--optimize 2 \
 	--root=$RPM_BUILD_ROOT
-
 %py_postclean
 
+echo '%{module}-%{version}-py%{py_ver}.egg' > $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.pth
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -54,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/12/09 20:39:16  arekm
+- --root option casuses that pth file is not created; create manually
+
 Revision 1.1  2005/12/09 17:34:39  arekm
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-setuptools.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list