Use %setup and %patch instead of %autosetup in rawhide

This commit is contained in:
Nick Bebout 2019-09-23 08:37:33 -05:00
parent baf7009f9b
commit e76c1e4c18
1 changed files with 3 additions and 1 deletions

View File

@ -124,7 +124,9 @@ gpg2 --dearmor --quiet --batch --yes $key >/dev/null
gpgv2 --homedir "$gpghome" --quiet --keyring $key.gpg %{SOURCE1} %{SOURCE0}
rm -rf "$gpghome" $key.gpg # Cleanup tmp gpg home dir and dearmored key
%autosetup -p1
# autosetup -p1
%setup -n znc-1.7.5-rc1
%patch0 -p1
# The manual page references /usr/local/; fix that
sed -ie 's!/usr/local/!/usr/!' man/znc.1