From a7bab8655f13abce7ce43f2ebd8a52c6c548d45d Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 18 Jul 2022 11:39:43 +0300 Subject: [PATCH] Fix %prep --- SPECS/nginx.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SPECS/nginx.spec b/SPECS/nginx.spec index 67ab397..760f4aa 100644 --- a/SPECS/nginx.spec +++ b/SPECS/nginx.spec @@ -254,7 +254,8 @@ Requires: zlib-devel # Combine all keys from upstream into one file cat %{S:2} %{S:3} %{S:4} > %{_builddir}/%{name}.gpg %{gpgverify} --keyring='%{_builddir}/%{name}.gpg' --signature='%{SOURCE1000}' --data='%{SOURCE0}' -%autosetup -p1 -T -D -b 0 -b 1 +%setup -T -D -b 0 -b 1 +%autopatch -p1 cp %{SOURCE200} %{SOURCE210} %{SOURCE10} %{SOURCE12} . %if 0%{?rhel} > 0 && 0%{?rhel} < 8