gnunet-rpm

GNUnet RPM package rules
Log | Files | Refs | README

commit bb597beb3f8967d286ab2f5b9e0b4eda588c25b3
parent b68c0e73cc653227652ce52ad8c716038481eed2
Author: Yosl <yosl@seattlemesh.net>
Date:   Sat, 30 Nov 2019 21:39:41 -0800

Downloads source tarball and attempts to verify it

Diffstat:
Mrpmbuild/SPECS/gnunet.spec | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/rpmbuild/SPECS/gnunet.spec b/rpmbuild/SPECS/gnunet.spec @@ -9,7 +9,11 @@ Summary: Framework for secure peer-to-peer networking License: AGPL-3.0 #Group: URL: https://gnunet.org -Source0: https://ftpmirror.gnu.org/gnu/gnunet/gnunet-%{version}.tar.gz +%undefine _disable_source_fetch +Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz +%define SHA512SUM0 bcdcd9452a905dcc0c474517f2941ae5822bda23e918c4ba5d61d085016d69eba5b1477bb30cf8179a6d6290898ea23ec485e3f1acfb3cf4ed0979ce8054af8 +# change the 8 at the end to a 7 +#%define SHA256SUM0 d21f1b7a5e0c3e1ddf062c87a302db9abb43574bb7bf8c9e8f233b5d0e6675fe BuildRequires: libtool BuildRequires: autoconf BuildRequires: make @@ -44,6 +48,8 @@ BuildRequires: libextractor Framework for secure peer-to-peer networking %prep +echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - + %setup -q %build