Skip to content
Snippets Groups Projects
Commit 534d803f authored by Jakub Ružička's avatar Jakub Ružička
Browse files

rpm: sync from Fedora

This is a no-op as GPG_CHECK is disabled for upstream package but it
keeps the .spec files in sync.
parent 1d2f0219
Branches
Tags
1 merge request!1281pkg: update changelogs
......@@ -29,9 +29,8 @@ Source1: knot-resolver-%{version}.tar.xz.asc
# PGP keys used to sign upstream releases
# Export with --armor using command from https://fedoraproject.org/wiki/PackagingDrafts:GPGSignatures
# Don't forget to update %%prep section when adding/removing keys
Source100: gpgkey-B6006460B60A80E782062449E747DF1F9575A3AA.gpg.asc
Source101: gpgkey-BE26EBB9CBE059B3910CA35BCE8DD6A1A50A21E4.gpg.asc
Source102: gpgkey-4A8BA48C2AED933BD495C509A1FBA5F7EF8C4869.gpg.asc
# This key is from: https://secure.nic.cz/files/knot-resolver/kresd-keyblock.asc
Source100: kresd-keyblock.asc
BuildRequires: gnupg2
%endif
......@@ -162,8 +161,8 @@ native C implementation, which doesn't require this package.
%prep
%if 0%{GPG_CHECK}
export GNUPGHOME=./gpg-keyring
mkdir ${GNUPGHOME}
gpg2 --import %{SOURCE100} %{SOURCE101} %{SOURCE102}
mkdir -m 700 ${GNUPGHOME}
gpg2 --import %{SOURCE100}
gpg2 --verify %{SOURCE1} %{SOURCE0}
%endif
%setup -q -n %{name}-%{version}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment