Removed superfluous processing of the OpenPGP key.

This commit is contained in:
Björn Persson 2023-06-15 11:00:46 +02:00
parent 920f960fa1
commit 338b5848de

View File

@ -114,16 +114,8 @@ The API/ABI version series is %{apiver}.
%prep
# Import developers public GPG key to a keyring that we can use for signature
# verification.
workdir="$(mktemp --directory)"
gpg2 --homedir="${workdir}" --yes --import '%{SOURCE2}'
gpg2 --homedir="${workdir}" --export --export-options export-minimal \
> cairomm.gpg
rm -rf "${workdir}"
%{gpgverify} \
--keyring='cairomm.gpg' --signature='%{SOURCE1}' --data='%{SOURCE0}'
--keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup
# Fix stray executable bit: