Switch to %autosetup -S gendiff

Avoid manually listing the patches by switching to %autosetup. Keep the
backup files by using the 'gendiff' version control system option of
%autosetup available in rpm >= 4.14.
This commit is contained in:
Clemens Lang 2022-09-12 11:05:43 +02:00
parent e4795e526b
commit 70b3076eb0

View File

@ -56,15 +56,7 @@ conjunction with imapd to create a TLS secure IMAP server.
%prep %prep
%{gpgverify} --keyring='%{SOURCE99}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %{gpgverify} --keyring='%{SOURCE99}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -q %autosetup -S gendiff -p1
%patch0 -p1 -b .authpriv
%patch1 -p1 -b .systemd-service
%patch3 -p1 -b .system-ciphers
%patch4 -p1 -b .coverity
%patch5 -p1 -b .default-tls-version
%patch6 -p1 -b .curves-doc-update
%patch7 -p1 -b .fips-test
%patch8 -p1 -b .disabled-curves
# Fix the stack protector flag # Fix the stack protector flag
sed -i 's/-fstack-protector/-fstack-protector-strong/' configure sed -i 's/-fstack-protector/-fstack-protector-strong/' configure