From 80f1285e9ca6c4839c95ae2116a53078ccc3c8f5 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 18 Sep 2006 19:34:24 +0000 Subject: [PATCH] - fix gpgme-config --thread=pthread --cflags --- gpgme-1.1.2-config_extras.patch | 4 ++-- gpgme.spec | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gpgme-1.1.2-config_extras.patch b/gpgme-1.1.2-config_extras.patch index 36e9010..f6d26c2 100644 --- a/gpgme-1.1.2-config_extras.patch +++ b/gpgme-1.1.2-config_extras.patch @@ -1,5 +1,5 @@ --- gpgme-1.1.2/gpgme/gpgme-config.in.config_extras 2005-11-18 17:03:28.000000000 -0600 -+++ gpgme-1.1.2/gpgme/gpgme-config.in 2006-03-06 08:50:57.000000000 -0600 ++++ gpgme-1.1.2/gpgme/gpgme-config.in 2006-09-18 14:12:04.000000000 -0500 @@ -16,15 +16,19 @@ # Configure libgpg-error. @@ -17,7 +17,7 @@ +@HAVE_PTHREAD_TRUE@thread_modules="$thread_modules pthread" +#libs_pthread="@PTHREAD_LDFLAGS@ @PTHREAD_LIBS@" -+cflags_pthread="@PTHREAD_CFLAGS@" ++#cflags_pthread="@PTHREAD_CFLAGS@" + # Configure glib. libs_glib="@GLIB_LIBS@" diff --git a/gpgme.spec b/gpgme.spec index c952d47..c3e41db 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -2,7 +2,7 @@ Name: gpgme Summary: GnuPG Made Easy - high level crypto API Version: 1.1.2 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPL Group: Applications/System @@ -17,6 +17,8 @@ BuildRequires: gnupg >= 1.2.2 BuildRequires: gnupg2 >= 1.9.6 BuildRequires: libgpg-error-devel >= 0.5 BuildRequires: pth-devel >= 2.0.4 +# Not really used, only for win32 build +#BuildRequires: glib2-devel Requires: gnupg >= 1.2.2 Requires: gnupg2 >= 1.9.6 @@ -99,6 +101,9 @@ fi %changelog +* Mon Sep 18 2006 Rex Dieter 1.1.2-6 +- fix gpgme-config --thread=pthread --cflags + * Tue Aug 29 2006 Rex Dieter 1.1.2-5 - fc6 respin