From 1dc154eff1b46d1363e72b5d09237e8ba61cd8a2f64ece20c33150a9810b7688 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 29 Jan 2010 14:57:14 +0000 Subject: [PATCH] Accepting request 30695 from Base:System Copy from Base:System/gpg2 based on submit request 30695 from user puzel OBS-URL: https://build.opensuse.org/request/show/30695 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpg2?expand=0&rev=34 --- gpg2.changes | 5 +++++ gpg2.spec | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) 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