Fix the troublesome URL for GPG key

This commit is contained in:
Lukas Javorsky 2023-10-02 12:37:56 +00:00
parent 6d98edec09
commit 955f3e8d08
3 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -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