]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
add version info for py.postclean (added in f12c2314)
authorElan Ruusamäe <glen@delfi.ee>
Mon, 26 May 2014 07:45:17 +0000 (10:45 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 26 May 2014 07:45:24 +0000 (10:45 +0300)
rpm.macros

index f677799fdc13e8401304090b4df7c6a8a84083c1..864001cc9177e40b7ebc60927321fab5add9893f 100644 (file)
@@ -1146,6 +1146,8 @@ fi; \
 # -x - comma separated of file basenames to preserve (rpmbuild(macros) >= 1.658)
 # ARGS - extra directories to clean for .py sources
 #
+# BuildRequires:       rpmbuild(macros) >= 1.189
+#
 %py_postclean(x:) \
 for d in %{py_sitescriptdir} %{py_sitedir} %*; do \
        [ ! -d "$RPM_BUILD_ROOT$d" ] || find "$RPM_BUILD_ROOT$d" -name '*.py' -print0 %{-x:| grep -ZzvE '/(%(echo '%{-x*}' | tr ',' '|'))$'} | xargs -0r -l512 rm;\
This page took 0.067634 seconds and 4 git commands to generate.