]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- allow additional dirs to wipe .py files in %py_postclean
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 Aug 2005 18:32:05 +0000 (18:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.234

rpm.macros

index 1ec9bcc683e52ba6124224f9251ab95949ccfc80..b0ebbcb2c3b2e6c5d4cb7cf4c5081c465dad513d 100644 (file)
@@ -508,7 +508,7 @@ done \
 # 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}
This page took 0.0582549999999999 seconds and 4 git commands to generate.