[gpgme] gpgme-config: remove libassuan-related flags as threatened (#676954) \ devel: fix typo (broken dep)
Rex Dieter
rdieter at fedoraproject.org
Thu Mar 17 18:16:03 UTC 2011
commit 8462f3af66b541f461df9235cce1594a88d7134c
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Thu Mar 17 13:18:06 2011 -0500
gpgme-config: remove libassuan-related flags as threatened (#676954)
\
devel: fix typo (broken dep)
gpgme-1.1.8-config_extras.patch | 28 ------------------------
gpgme-1.3.0-config_extras.patch | 45 +++++++++++++++++++++++++++++++++++++++
gpgme.spec | 9 +++++--
3 files changed, 51 insertions(+), 31 deletions(-)
---
diff --git a/gpgme-1.3.0-config_extras.patch b/gpgme-1.3.0-config_extras.patch
new file mode 100644
index 0000000..93b8bb0
--- /dev/null
+++ b/gpgme-1.3.0-config_extras.patch
@@ -0,0 +1,45 @@
+diff -up gpgme-1.3.0/src/gpgme-config.in.config_extras gpgme-1.3.0/src/gpgme-config.in
+--- gpgme-1.3.0/src/gpgme-config.in.config_extras 2009-10-23 08:44:56.000000000 -0500
++++ gpgme-1.3.0/src/gpgme-config.in 2011-03-17 13:15:12.511565537 -0500
+@@ -12,7 +12,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ includedir=@includedir@
+-libdir=@libdir@
++libdir=@exec_prefix@/lib
+
+ # Make sure that no weird locale setting messes up our sed regexps etc.
+ LC_COLLATE=C
+@@ -20,26 +20,26 @@ LC_ALL=C
+ LANG=C
+
+ # Network libraries.
+-assuan_cflags="@LIBASSUAN_CFLAGS@"
+-assuan_libs="@LIBASSUAN_LIBS@"
++#assuan_cflags="@LIBASSUAN_CFLAGS@"
++#assuan_libs="@LIBASSUAN_LIBS@"
+
+ # Configure libgpg-error.
+ gpg_error_cflags="@GPG_ERROR_CFLAGS@"
+-gpg_error_libs="@GPG_ERROR_LIBS@"
++#gpg_error_libs="@GPG_ERROR_LIBS@"
+
+ # Configure thread packages.
+ thread_modules=""
+
+ @HAVE_PTH_TRUE at thread_modules="$thread_modules pth"
+-libs_pth="@PTH_LDFLAGS@ @PTH_LIBS@"
++#libs_pth="@PTH_LDFLAGS@ @PTH_LIBS@"
+ cflags_pth="@PTH_CFLAGS@"
+
+ @HAVE_PTHREAD_TRUE at thread_modules="$thread_modules pthread"
+-libs_pthread="-lpthread"
++#libs_pthread="-lpthread"
+ cflags_pthread=""
+
+ # Configure glib.
+-libs_glib="@GLIB_LIBS@"
++#libs_glib="@GLIB_LIBS@"
+ cflags_glib="@GLIB_CFLAGS@"
+ with_glib=
+
diff --git a/gpgme.spec b/gpgme.spec
index 10915b4..149b94f 100644
--- a/gpgme.spec
+++ b/gpgme.spec
@@ -2,7 +2,7 @@
Name: gpgme
Summary: GnuPG Made Easy - high level crypto API
Version: 1.3.0
-Release: 3%{?dist}
+Release: 4%{?dist}
License: LGPLv2+
Group: Applications/System
@@ -11,7 +11,7 @@ Source0: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch1: gpgme-1.1.8-config_extras.patch
+Patch1: gpgme-1.3.0-config_extras.patch
# fix ImplicitDSOLinking in tests/, upstreamable
Patch2: gpgme-1.3.0-ImplicitDSOLinking.patch
@@ -44,7 +44,7 @@ Requires: %{name} = %{version}-%{release}
Requires: libgpg-error-devel
# http://bugzilla.redhat.com/676954
# TODO: see if -lassuan can be added to config_extras patch too -- Rex
-Requires: libassuan2-devel
+#Requires: libassuan2-devel
# /usr/share/aclocal ownership
#Requires: automake
Requires(post): /sbin/install-info
@@ -124,6 +124,9 @@ fi
%changelog
+* Thu Mar 17 2011 Rex Dieter <rdieter at fedoraproject.org> - 1.3.0-4
+- gpgme-config: remove libassuan-related flags as threatened (#676954)
+\
* Sun Feb 13 2011 Rex Dieter <rdieter at fedoraproject.org> - 1.3.0-3
- -devel: fix typo (broken dep)
More information about the scm-commits
mailing list