]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
v1.674: %undos find only files when using -f option auto/th/rpm-build-macros-1.674-2
authorElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 19:55:54 +0000 (22:55 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 19:55:54 +0000 (22:55 +0300)
rpm-build-macros.spec
rpm.macros

index 74fb4cafb9c90ea57422ce81bd0c159dac3e62e0..89cdd8280181655775f96c95fbf323fd091df828 100644 (file)
@@ -5,7 +5,7 @@
 %if "%{pld_release}" == "ac"
 %define        with_rpm4       1
 %endif
-%define                rpm_macros_rev  1.673
+%define                rpm_macros_rev  1.674
 %define                find_lang_rev   1.36
 Summary:       PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
index 68037f6819c3a59be0e6d4d1426c1f33a5ee1529..f4fd66b7a8577582c9702d4289d3a8089f3f48e3 100644 (file)
@@ -2098,11 +2098,11 @@ else: \
 #
 # Requirements:
 # BuildRequires:       sed >= 4.0
-# BuildRequires:       rpmbuild(macros) >= 1.565
+# BuildRequires:       rpmbuild(macros) >= 1.674
 
 # NB: make sure this macro stays on one line
 # NB: make sure it includes newline escape
-%undos(f:i)    %{-f:%{__find} -regextype posix-extended -%{-i:i}regex '^.+\\.(%(echo %{-f*} | tr ',' '|'))$' -print0 | xargs -0} %{__sed} -i -e 's,\\r$,,' %* \
+%undos(f:i)    %{-f:%{__find} -type f -regextype posix-extended -%{-i:i}regex '^.+\\.(%(echo %{-f*} | tr ',' '|'))$' -print0 | xargs -0} %{__sed} -i -e 's,\\r$,,' %* \
 %{nil}
 
 # Hook to register nagios object based plugins in Nagios NRPE daemon config.
This page took 0.042111 seconds and 4 git commands to generate.