[gpgme/f14/master] - fix the condition for adding the -D_FILE_OFFSET_BITS...
Tomáš Mráz
tmraz at fedoraproject.org
Wed Aug 18 13:17:56 UTC 2010
commit 2c122df20511a158c6699e7a5de0d5e5e6035e0f
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date: Wed Aug 18 15:17:48 2010 +0200
- 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 at NEED__FILE_OFFSET_BITS@" != "x" ; then
++if test "0 at 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 <tmraz at redhat.com> - 1.2.0-3
+- fix the condition for adding the -D_FILE_OFFSET_BITS...
+
* Wed Aug 11 2010 Tomas Mraz <tmraz at redhat.com> - 1.2.0-2
- add -D_FILE_OFFSET_BITS... to gpgme-config as appropriate (#621698)
More information about the scm-commits
mailing list