SPECS: python-logilab-common.spec - use %py_postclean macro, BR rp...

charles charles at pld-linux.org
Thu Nov 17 15:13:42 CET 2005


Author: charles                      Date: Thu Nov 17 14:13:42 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %py_postclean macro, BR rpmbuild(macros) up to >= 1.219

---- Files affected:
SPECS:
   python-logilab-common.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/python-logilab-common.spec
diff -u SPECS/python-logilab-common.spec:1.26 SPECS/python-logilab-common.spec:1.27
--- SPECS/python-logilab-common.spec:1.26	Tue Nov 15 16:56:14 2005
+++ SPECS/python-logilab-common.spec	Thu Nov 17 15:13:37 2005
@@ -14,7 +14,7 @@
 BuildRequires:	python-devel
 BuildRequires:	python-modules >= 2.2.1
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.112
+BuildRequires:	rpmbuild(macros) >= 1.219
 %pyrequires_eq	python-modules
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,7 +46,7 @@
 # and some not, so they all provide the __init__.py and we
 # have to remove it in dependent software
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2005/11/17 14:13:37  charles
+- use %py_postclean macro, BR rpmbuild(macros) up to >= 1.219
+
 Revision 1.26  2005/11/15 15:56:14  charles
 - removed redundant %py_comp, %py_ocomp
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-logilab-common.spec?r1=1.26&r2=1.27&f=u




More information about the pld-cvs-commit mailing list