diff --git a/gpg2.changes b/gpg2.changes index ec13ad0..ea6d99e 100644 --- a/gpg2.changes +++ b/gpg2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 28 14:15:24 UTC 2010 - puzel@novell.com + +- fix build for older distributions + ------------------------------------------------------------------- Tue Dec 15 20:56:35 CET 2009 - jengelh@medozas.de diff --git a/gpg2.spec b/gpg2.spec index d849535..bd23eac 100644 --- a/gpg2.spec +++ b/gpg2.spec @@ -1,7 +1,7 @@ # # spec file for package gpg2 (Version 2.0.13) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,8 +20,9 @@ Name: gpg2 Version: 2.0.13 -Release: 2 -BuildRequires: expect fdupes libpth-devel +Release: 3 +BuildRequires: expect +BuildRequires: fdupes BuildRequires: libgpg-error-devel >= 1.4 BuildRequires: libgcrypt-devel >= 1.4.0 BuildRequires: libksba-devel >= 1.0.2 @@ -33,6 +34,11 @@ BuildRequires: zlib-devel BuildRequires: libadns-devel BuildRequires: openldap2-devel BuildRequires: openldap2 +%if 0%{?suse_version} >= 1120 +BuildRequires: libpth-devel +%else +BuildRequires: pth +%endif Url: http://www.gnupg.org/aegypten2/ License: GPLv2+ Group: Productivity/Networking/Security