diff --git a/.gitignore b/.gitignore index 607e594..c8a68a6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ pkg-config-0.25.tar.gz /pkg-config-0.27.tar.gz /pkg-config-0.28.tar.gz /pkg-config-0.29.tar.gz +/dan-nicholson-C7EC6914-pub.asc +/pkg-config-0.29.1.tar.gz.asc /pkg-config-0.29.1.tar.gz diff --git a/pkgconfig.spec b/pkgconfig.spec index 6ec1788..09e88ba 100644 --- a/pkgconfig.spec +++ b/pkgconfig.spec @@ -6,10 +6,13 @@ Epoch: 1 License: GPLv2+ URL: http://pkgconfig.freedesktop.org Group: Development/Tools -Source: http://www.freedesktop.org/software/pkgconfig/releases/pkg-config-%{version}.tar.gz +Source0: http://www.freedesktop.org/software/pkgconfig/releases/pkg-config-%{version}.tar.gz +Source1: http://www.freedesktop.org/software/pkgconfig/releases/pkg-config-%{version}.tar.gz.asc +Source2: dan-nicholson-C7EC6914-pub.asc BuildRequires: autoconf, automake, libtool BuildRequires: glib2-devel +BuildRequires: gnupg2 Provides: pkgconfig(pkg-config) = %{version} @@ -20,6 +23,8 @@ compiler and linker flags. %prep %setup -n pkg-config-%{version} -q +gpg2 --import %{SOURCE2} +gpg2 --verify %{SOURCE1} %{SOURCE0} %build #autoreconf -i @@ -50,6 +55,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pkg-config %changelog * Mon Mar 07 2016 Christophe Fergeau 0.29.1-1 - Update to 0.29.1 +- Add verification of tarball GPG signature * Thu Feb 04 2016 Fedora Release Engineering - 1:0.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild