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:
parent
e4795e526b
commit
70b3076eb0
10
stunnel.spec
10
stunnel.spec
@ -56,15 +56,7 @@ conjunction with imapd to create a TLS secure IMAP server.
|
||||
|
||||
%prep
|
||||
%{gpgverify} --keyring='%{SOURCE99}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%setup -q
|
||||
%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
|
||||
%autosetup -S gendiff -p1
|
||||
|
||||
# Fix the stack protector flag
|
||||
sed -i 's/-fstack-protector/-fstack-protector-strong/' configure
|
||||
|
Loading…
Reference in New Issue
Block a user