From 338b5848deb0ea34768ee56bc7149e64a2f0d10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Persson?= Date: Thu, 15 Jun 2023 11:00:46 +0200 Subject: [PATCH] Removed superfluous processing of the OpenPGP key. --- cairomm.spec | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/cairomm.spec b/cairomm.spec index 9d6f081..4ff4c46 100644 --- a/cairomm.spec +++ b/cairomm.spec @@ -114,16 +114,8 @@ The API/ABI version series is %{apiver}. %prep -# Import developer’s 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: