From 08f8992e68658599bf10722d7cff281bd0affa11 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Mon, 22 Jan 2018 17:19:47 +0100 Subject: [PATCH] make gpg signature verification EPEL7 compatible --- knot.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/knot.spec b/knot.spec index 157e6ec..c5f2bea 100644 --- a/knot.spec +++ b/knot.spec @@ -76,8 +76,11 @@ The package contains documentation for the Knot DNS server. On-line version is available on https://www.knot-dns.cz/documentation/ %prep -gpg2 --import --import-options import-export,import-minimal %{SOURCE1000} > ./gpg-keyring.gpg -gpgv2 --keyring ./gpg-keyring.gpg %{SOURCE1} %{SOURCE0} +export GNUPGHOME=./gpg-keyring +mkdir ${GNUPGHOME} +gpg2 --import %{SOURCE1000} +gpg2 --verify %{SOURCE1} %{SOURCE0} + %setup -q # make sure embedded LMDB library is not used