diff --git a/.gitignore b/.gitignore index 2414e97..e0f75db 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /man-db-2.11.2.tar.xz /man-db-2.12.0.tar.xz /man-db-2.12.0.tar.xz.asc +/0xac0a4ff12611b6fccf01c111393587d97d86500b diff --git a/man-db.spec b/man-db.spec index 6a3a348..519f0ae 100644 --- a/man-db.spec +++ b/man-db.spec @@ -11,7 +11,9 @@ URL: http://www.nongnu.org/man-db/ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.asc -Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xac0a4ff12611b6fccf01c111393587d97d86500b +# Man-db GPG key is stored in a different name which makes it hard to fetch +# It was downloaded here: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xac0a4ff12611b6fccf01c111393587d97d86500b +Source2: 0xac0a4ff12611b6fccf01c111393587d97d86500b Source3: man-db.crondaily Source4: man-db.sysconfig @@ -57,8 +59,6 @@ BuildArch: noarch This package provides periodic update of man-db cache. %prep -# Rename the GPG key to correct name -mv lookup 0xac0a4ff12611b6fccf01c111393587d97d86500b %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 diff --git a/sources b/sources index f496404..3e58160 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ SHA512 (man-db-2.12.0.tar.xz) = 4b644a508cf10ef6d27b6325b08f8a89e0695bbc1409bf420efd27649c6851860cc472c4d86063f7b71dccd01fb158faa82afa1e2b91c9a20154acf66b0349bf SHA512 (man-db-2.12.0.tar.xz.asc) = 20ee61dacc33acee92c1c7d9b63df538c8dd884775ae00c3cb984158424a57a6d6906cacd2dc2b914fb3a293dc37b98f757d361b56c6706236867f3462f9996b +SHA512 (0xac0a4ff12611b6fccf01c111393587d97d86500b) = 6509ce7ccd1b60b71e180e6ea9c6b63788d55c27f013e03609e649ef1e5b4f28b5358a7a7160e192b20c09e16ba5b24c111bd8275f8218029febe872a016448e