Fix missing line break in %%autopatch macro

e.g.

%prep
%setup -q
%autopatch -p1
sed -i -e 's,\[libcrypto,\[libressl-libcrypto,g' configure.ac

resulted to:

/usr/bin/patch -p1 -s --fuzz=0 -s -Used -i -e 's,\[libcrypto,\[libressl-libcrypto,g' configure.ac
This commit is contained in:
Mikhail Novosyolov 2020-02-25 06:13:34 +03:00
parent 655bdca877
commit 15ecbd08f5
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ end}
%{lua:\
local options = rpm.expand("%{!-v:-q} %{-p:-p%{-p*}} ")\
for i, p in ipairs(patches) do\
print(rpm.expand("%apply_patch -m %{basename:"..p.."} "..options..p.."\\n"))\
print(rpm.expand("%apply_patch -m %{basename:"..p.."} "..options..p.."\\n\\n"))\
end}
# One macro to (optionally) do it all.

View file

@ -65,7 +65,7 @@ Summary: The RPM package management system
Name: rpm
Epoch: 1
Version: %{libver}.%{minorver}
Release: 112.git%{short_commit}
Release: 113.git%{short_commit}
License: LGPLv2.1+
Group: System/Configuration/Packaging
Url: http://rpm5.org/