]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- eol for undos
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 1 Jun 2010 15:02:58 +0000 (15:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.566

rpm.macros

index b7b9127327b953a04be9d36b2b73a72d5d17c9e6..2a101f38b61597325da359620f236153359bd065 100644 (file)
@@ -1843,10 +1843,12 @@ else: \
 #
 # Requirements:
 # BuildRequires:       sed >= 4.0
 #
 # Requirements:
 # BuildRequires:       sed >= 4.0
-# BuildRequires:       rpmbuild(macros) >= 1.553
+# BuildRequires:       rpmbuild(macros) >= 1.565
 
 # NB: make sure this macro stays on one line
 
 # NB: make sure this macro stays on one line
-%undos(f:i)    %{-f:%{__find} -regextype posix-extended -%{-i:i}regex '^.+\\.(%(echo %{-f*} | tr ',' '|'))$' -print0 | xargs -0} %{__sed} -i -e 's,\\r$,,'
+# 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$,,' %* \
+%{nil}
 
 # Hook to register nagios object based plugins in Nagios NRPE daemon config.
 #
 
 # Hook to register nagios object based plugins in Nagios NRPE daemon config.
 #
This page took 0.083152 seconds and 4 git commands to generate.