diff options
author | Yosl <yosl@seattlemesh.net> | 2021-05-14 13:14:01 -0400 |
---|---|---|
committer | Yosl <yosl@seattlemesh.net> | 2021-05-14 13:14:01 -0400 |
commit | c75fa9df91a0ca6974040ae69b99e3d8ef2f978c (patch) | |
tree | 924938853a3ef5f6417e8d7d8a89db76d4c61a69 | |
parent | 84e2e247786ea4ff5cc715bd527470fe81b01060 (diff) | |
download | gnunet-rpm-c75fa9df91a0ca6974040ae69b99e3d8ef2f978c.tar.gz gnunet-rpm-c75fa9df91a0ca6974040ae69b99e3d8ef2f978c.zip |
PACKAGING: Added pgp key verification
-rw-r--r-- | rpmbuild/SPECS/gnunet.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmbuild/SPECS/gnunet.spec b/rpmbuild/SPECS/gnunet.spec index 45a3f9d..7360679 100644 --- a/rpmbuild/SPECS/gnunet.spec +++ b/rpmbuild/SPECS/gnunet.spec | |||
@@ -15,6 +15,8 @@ Group: Productivity/Networking/File-Sharling | |||
15 | URL: https://%{name}.org | 15 | URL: https://%{name}.org |
16 | %undefine _disable_source_fetch | 16 | %undefine _disable_source_fetch |
17 | Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz | 17 | Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz |
18 | Source1: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig | ||
19 | Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/3D11063C10F98D14BD24D1470B0998EF86F59B6A | ||
18 | %define SHA512SUM0 422637e8f4343a291a8dedf9d4669f5f75b7b6f614d9dde1a5bfcc1565cce25bbb5ef0f8c3cbfca1753b04176b460431545982e6805dc4bb99191c51d6455f4d | 20 | %define SHA512SUM0 422637e8f4343a291a8dedf9d4669f5f75b7b6f614d9dde1a5bfcc1565cce25bbb5ef0f8c3cbfca1753b04176b460431545982e6805dc4bb99191c51d6455f4d |
19 | BuildRequires: libtool | 21 | BuildRequires: libtool |
20 | BuildRequires: libtool-ltdl | 22 | BuildRequires: libtool-ltdl |
@@ -53,6 +55,7 @@ BuildRequires: libcurl-devel | |||
53 | BuildRequires: dbus | 55 | BuildRequires: dbus |
54 | BuildRequires: libsodium-devel | 56 | BuildRequires: libsodium-devel |
55 | BuildRequires: mariadb-devel | 57 | BuildRequires: mariadb-devel |
58 | BuildRequires: gnupg2 | ||
56 | Requires: libextractor | 59 | Requires: libextractor |
57 | Requires: openssl | 60 | Requires: openssl |
58 | Requires: nss-util | 61 | Requires: nss-util |
@@ -119,6 +122,7 @@ audio calls. | |||
119 | 122 | ||
120 | %prep | 123 | %prep |
121 | echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | 124 | echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - |
125 | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' | ||
122 | 126 | ||
123 | %setup | 127 | %setup |
124 | 128 | ||