diff --git a/libpng16.changes b/libpng16.changes index 32c1e3e..057ed46 100644 --- a/libpng16.changes +++ b/libpng16.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Fri Aug 30 14:08:02 UTC 2013 - coolo@suse.com - -- remove gpg-offline usage, libpng16 is too low in the build chain - ------------------------------------------------------------------- Thu Aug 8 15:19:27 UTC 2013 - pgajdos@suse.com diff --git a/libpng16.spec b/libpng16.spec index b3b7e81..a0c2624 100644 --- a/libpng16.spec +++ b/libpng16.spec @@ -35,7 +35,9 @@ Source1: ftp://ftp.simplesystems.org/pub/png/src/libpng16/Gnupg/libpng-%{ Source2: libpng16.keyring Source3: rpm-macros.libpng-tools Source4: baselibs.conf -#BuildRequires: gpg-offline +%if 0%{?suse_version} >= 1230 +BuildRequires: gpg-offline +%endif BuildRequires: libtool BuildRequires: pkg-config BuildRequires: zlib-devel @@ -109,6 +111,7 @@ Package consists of low level tools for manipulating and fixing particular PNG files. %prep +%{?gpg_verify: %gpg_verify %{SOURCE1}} %setup -n libpng-%{version} %build