Switch to %autosetup
Renumber high numbered patches to two digits patch. It does not really matter for autosetup. Simplify applying of new patches.
This commit is contained in:
parent
bdce0b1c00
commit
6d322a72e4
@ -94,8 +94,8 @@ Source50: https://gitlab.isc.org/isc-projects/bind9/-/raw/main/doc/arm/isc-logo.
|
|||||||
Patch10: bind-9.5-PIE.patch
|
Patch10: bind-9.5-PIE.patch
|
||||||
Patch16: bind-9.16-redhat_doc.patch
|
Patch16: bind-9.16-redhat_doc.patch
|
||||||
# https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/5601
|
# https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/5601
|
||||||
Patch106:bind93-rh490837.patch
|
Patch21: bind93-rh490837.patch
|
||||||
Patch157:bind-9.11-fips-tests.patch
|
Patch22: bind-9.11-fips-tests.patch
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -392,16 +392,7 @@ in HTML and PDF format.
|
|||||||
# RHEL does not yet support this verification
|
# RHEL does not yet support this verification
|
||||||
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
|
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
|
||||||
%endif
|
%endif
|
||||||
%setup -qn %{upname}-%{version}
|
%autosetup -n %{upname}-%{version} -p1
|
||||||
|
|
||||||
# Common patches
|
|
||||||
%patch10 -p1 -b .PIE
|
|
||||||
%patch16 -p1 -b .redhat_doc
|
|
||||||
%patch106 -p1 -b .rh490837
|
|
||||||
%patch112 -p1 -b .rh645544
|
|
||||||
%patch157 -p1 -b .fips-tests
|
|
||||||
|
|
||||||
#%patch133 -p1 -b .rh640538
|
|
||||||
|
|
||||||
# Sparc and s390 arches need to use -fPIE
|
# Sparc and s390 arches need to use -fPIE
|
||||||
%ifarch sparcv9 sparc64 s390 s390x
|
%ifarch sparcv9 sparc64 s390 s390x
|
||||||
|
Loading…
Reference in New Issue
Block a user