SPECS: python-logilab-astng.spec - use %py_postclean macro, BR rpm...

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


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

---- Files affected:
SPECS:
   python-logilab-astng.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/python-logilab-astng.spec
diff -u SPECS/python-logilab-astng.spec:1.3 SPECS/python-logilab-astng.spec:1.4
--- SPECS/python-logilab-astng.spec:1.3	Thu Nov 17 00:05:52 2005
+++ SPECS/python-logilab-astng.spec	Thu Nov 17 15:13:11 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
 Requires:	python-logilab-common
 BuildArch:	noarch
@@ -45,7 +45,7 @@
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
+%py_postclean
 
 # see install section of python-logilab-common for explanation
 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/logilab/__init__.*
@@ -64,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/11/17 14:13:11  charles
+- use %py_postclean macro, BR rpmbuild(macros) up to >= 1.219
+
 Revision 1.3  2005/11/16 23:05:52  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-logilab-astng.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list