]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm.macros
- allow additional dirs to wipe .py files in %py_postclean
[packages/rpm-build-macros.git] / 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.25604 seconds and 4 git commands to generate.