From ef382f88eb0bf5cf35d858951e674ba8bac0117d Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 11 Apr 2016 10:50:07 +0200 Subject: [PATCH] added source verification on build --- .gitignore | 1 + libtasn1.spec | 2 ++ sources | 1 + 3 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 9b36909..cde9368 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ libtasn1-2.7.tar.gz /libtasn1-4.7.tar.gz.sig /libtasn1-4.8.tar.gz.sig /libtasn1-4.8.tar.gz +/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg diff --git a/libtasn1.spec b/libtasn1.spec index 37971fb..f5f9d0c 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -9,6 +9,7 @@ Group: System Environment/Libraries URL: http://www.gnu.org/software/libtasn1/ Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig +Source2: gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg Patch1: libtasn1-3.4-rpath.patch BuildRequires: bison, pkgconfig %ifarch %ix86 x86_64 ppc ppc64 @@ -49,6 +50,7 @@ data. %prep +gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %setup -q %patch1 -p1 -b .rpath diff --git a/sources b/sources index 3e0d497..bbe803e 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ 140c4dfb1bf77d08fc16d5da9f7b732c libtasn1-4.8.tar.gz.sig 9a6767705725544f2b86670dcfb34107 libtasn1-4.8.tar.gz +310168e221d6e810022b270e32bf9662 gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg