From 2c122df20511a158c6699e7a5de0d5e5e6035e0f Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 18 Aug 2010 15:17:48 +0200 Subject: [PATCH] - fix the condition for adding the -D_FILE_OFFSET_BITS... --- gpgme-1.2.0-largefile.patch | 2 +- gpgme.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gpgme-1.2.0-largefile.patch b/gpgme-1.2.0-largefile.patch index 4e5c363..98f9039 100644 --- a/gpgme-1.2.0-largefile.patch +++ b/gpgme-1.2.0-largefile.patch @@ -5,7 +5,7 @@ diff -up gpgme-1.2.0/src/gpgme-config.in.largefile gpgme-1.2.0/src/gpgme-config. cflags_glib="@GLIB_CFLAGS@" with_glib= -+if test "x@NEED__FILE_OFFSET_BITS@" != "x" ; then ++if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then + cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@" +fi + diff --git a/gpgme.spec b/gpgme.spec index 0c84045..0e4cc20 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -2,7 +2,7 @@ Name: gpgme Summary: GnuPG Made Easy - high level crypto API Version: 1.2.0 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ Group: Applications/System @@ -120,6 +120,9 @@ fi %changelog +* Wed Aug 18 2010 Tomas Mraz - 1.2.0-3 +- fix the condition for adding the -D_FILE_OFFSET_BITS... + * Wed Aug 11 2010 Tomas Mraz - 1.2.0-2 - add -D_FILE_OFFSET_BITS... to gpgme-config as appropriate (#621698)