Fix use of autosetup / autopatch macros.

See: http://rpm.org/user_doc/autosetup.html
This commit is contained in:
Richard W.M. Jones 2018-06-14 13:45:36 +01:00
parent e75b67457a
commit 3d5206894f
1 changed files with 1 additions and 2 deletions

View File

@ -429,8 +429,7 @@ for %{name}.
tmphome="$(mktemp -d)"
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%endif
%setup -q
%autopatch -p1
%autosetup -p1
%ifnarch %{complete_test_arches}
# Simplify the test suite so it doesn't require qemu.