SOURCES (AC-branch): rpm.macros, rpm.macros - allow additional dir...
glen
glen at pld-linux.org
Tue Aug 23 20:32:12 CEST 2005
Author: glen Date: Tue Aug 23 18:32:10 2005 GMT
Module: SOURCES Tag: AC-branch
---- Log message:
- allow additional dirs to wipe .py files in %py_postclean
---- Files affected:
SOURCES:
rpm.macros (1.158.4.54 -> 1.158.4.55)
SOURCES:
rpm.macros (1.233 -> 1.234)
---- Diffs:
================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.158.4.54 SOURCES/rpm.macros:1.158.4.55
--- SOURCES/rpm.macros:1.158.4.54 Mon Jul 25 11:05:50 2005
+++ SOURCES/rpm.macros Tue Aug 23 20:32:05 2005
@@ -505,7 +505,7 @@
# remove python sources, so that check-files won't complain
# (idea by glen <at> pld-linux <dot> org)
%py_postclean() \
-for d in %{py_sitescriptdir} %{py_sitedir}; do \
+for d in %{py_sitescriptdir} %{py_sitedir} %*; do \
[ ! -d "$RPM_BUILD_ROOT$d" ] || find "$RPM_BUILD_ROOT$d" -name '*.py' -print0 | xargs -0r -l512 rm;\
done \
%{nil}
================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.233 SOURCES/rpm.macros:1.234
--- SOURCES/rpm.macros:1.233 Thu Aug 11 18:54:56 2005
+++ SOURCES/rpm.macros Tue Aug 23 20:32:05 2005
@@ -508,7 +508,7 @@
# remove python sources, so that check-files won't complain
# (idea by glen <at> pld-linux <dot> org)
%py_postclean() \
-for d in %{py_sitescriptdir} %{py_sitedir}; do \
+for d in %{py_sitescriptdir} %{py_sitedir} %*; do \
[ ! -d "$RPM_BUILD_ROOT$d" ] || find "$RPM_BUILD_ROOT$d" -name '*.py' -print0 | xargs -0r -l512 rm;\
done \
%{nil}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.158.4.54&r2=1.158.4.55&f=u
http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.233&r2=1.234&f=u
More information about the pld-cvs-commit
mailing list