diff --git a/gpgme-1.3.0-gpgme-config-remove-extraneous-libs.patch b/gpgme-1.3.0-gpgme-config-remove-extraneous-libs.patch new file mode 100644 index 0000000..767c215 --- /dev/null +++ b/gpgme-1.3.0-gpgme-config-remove-extraneous-libs.patch @@ -0,0 +1,12 @@ +diff -ur gpgme-1.3.0.orig/src/gpgme-config.in gpgme-1.3.0/src/gpgme-config.in +--- gpgme-1.3.0.orig/src/gpgme-config.in 2009-10-23 15:44:56.000000000 +0200 ++++ gpgme-1.3.0/src/gpgme-config.in 2011-01-31 15:40:34.000000000 +0100 +@@ -21,7 +21,7 @@ + + # Network libraries. + assuan_cflags="@LIBASSUAN_CFLAGS@" +-assuan_libs="@LIBASSUAN_LIBS@" ++#assuan_libs="@LIBASSUAN_LIBS@" + + # Configure libgpg-error. + gpg_error_cflags="@GPG_ERROR_CFLAGS@" diff --git a/gpgme.changes b/gpgme.changes index 3e65d52..5fe3aa8 100644 --- a/gpgme.changes +++ b/gpgme.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 31 14:47:20 UTC 2011 - gber@opensuse.org + +- added gpgme-1.3.0-gpgme-config-remove-extraneous-libs.patch in + order to remove the extraneuos libassuan from gpgme-config + ------------------------------------------------------------------- Tue Dec 14 13:05:39 UTC 2010 - cristian.rodriguez@opensuse.org diff --git a/gpgme.spec b/gpgme.spec index 3d142e0..87a4e3e 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -32,6 +32,7 @@ Url: http://www.gnupg.org/related_software/gpgme/ Group: Productivity/Security Source: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2 Source2: baselibs.conf +Patch0: gpgme-1.3.0-gpgme-config-remove-extraneous-libs.patch BuildRequires: libassuan-devel >= 1.1.0 BuildRequires: libgpg-error-devel >= 1.4 PreReq: %install_info_prereq @@ -102,6 +103,7 @@ of standard widgets for common key selection tasks is even planned. %prep %setup -q +%patch0 -p1 %build sh autogen.sh