Removed superfluous processing of the OpenPGP key.

This commit is contained in:
Björn Persson 2023-06-15 11:01:10 +02:00
parent 31d45eb1d6
commit 7e6978075f

View File

@ -102,16 +102,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%{apiver}.gpg
rm -rf "${workdir}"
%{gpgverify} \
--keyring='cairomm%{apiver}.gpg' --signature='%{SOURCE1}' --data='%{SOURCE0}'
--keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -n cairomm-%{version}
# We must remove the jQuery/jQueryUI bundle with precompiled/minified/bundled