- FTBFS gpgme-1.1.8-3.fc13: ImplicitDSOLinking (#564605)

This commit is contained in:
Rex Dieter 2010-02-14 21:04:06 +00:00
parent 5ae7d3e987
commit ebd764b829
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
diff -up gpgme-1.1.8/tests/gpgsm/Makefile.am.ImplicitDSOLinking gpgme-1.1.8/tests/gpgsm/Makefile.am
--- gpgme-1.1.8/tests/gpgsm/Makefile.am.ImplicitDSOLinking 2008-12-03 07:39:48.000000000 -0600
+++ gpgme-1.1.8/tests/gpgsm/Makefile.am 2010-02-14 14:59:43.567369732 -0600
@@ -32,7 +32,7 @@ EXTRA_DIST = cert_dfn_pca01.der cert_dfn
INCLUDES = -I$(top_builddir)/src
AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
-LDADD = ../../src/libgpgme.la
+LDADD = ../../src/libgpgme.la @GPG_ERROR_LIBS@
# We don't run t-genkey in the test suite, because it takes too long
# and needs a working pinentry.
diff -up gpgme-1.1.8/tests/gpgsm/Makefile.in.ImplicitDSOLinking gpgme-1.1.8/tests/gpgsm/Makefile.in
--- gpgme-1.1.8/tests/gpgsm/Makefile.in.ImplicitDSOLinking 2008-12-08 12:41:52.000000000 -0600
+++ gpgme-1.1.8/tests/gpgsm/Makefile.in 2010-02-14 15:01:18.270368592 -0600
@@ -283,7 +283,7 @@ EXTRA_DIST = cert_dfn_pca01.der cert_dfn
INCLUDES = -I$(top_builddir)/src
AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
-LDADD = ../../src/libgpgme.la
+LDADD = ../../src/libgpgme.la @GPG_ERROR_LIBS@
key_id = 32100C27173EF6E9C4E9A25D3D69F86D37A4F939
DISTCLEANFILES = pubring.kbx pubring.kbx~ gpgsm.conf trustlist.txt \
private-keys-v1.d/$(key_id).key random_seed
diff -up gpgme-1.1.8/tests/Makefile.am.ImplicitDSOLinking gpgme-1.1.8/tests/Makefile.am
diff -up gpgme-1.1.8/tests/Makefile.in.ImplicitDSOLinking gpgme-1.1.8/tests/Makefile.in

View File

@ -2,7 +2,7 @@
Name: gpgme Name: gpgme
Summary: GnuPG Made Easy - high level crypto API Summary: GnuPG Made Easy - high level crypto API
Version: 1.1.8 Version: 1.1.8
Release: 3%{?dist} Release: 4%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Applications/System Group: Applications/System
@ -13,6 +13,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: gpgme-1.1.8-config_extras.patch Patch1: gpgme-1.1.8-config_extras.patch
# fix ImplicitDSOLinking in tests/, upstreamable
Patch2: gpgme-1.1.8-ImplicitDSOLinking.patch
BuildRequires: gawk BuildRequires: gawk
BuildRequires: gnupg2 BuildRequires: gnupg2
BuildRequires: gnupg2-smime BuildRequires: gnupg2-smime
@ -47,6 +50,7 @@ Requires(postun): /sbin/install-info
%setup -q %setup -q
%patch1 -p1 -b .config_extras %patch1 -p1 -b .config_extras
%patch2 -p1 -b .ImplicitDSOLinking
## HACK ALERT ## HACK ALERT
# The config script already suppresses the -L if it's /usr/lib, so cheat and # The config script already suppresses the -L if it's /usr/lib, so cheat and
@ -112,6 +116,9 @@ fi
%changelog %changelog
* Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.1.8-4
- FTBFS gpgme-1.1.8-3.fc13: ImplicitDSOLinking (#564605)
* Thu Nov 19 2009 Tomas Mraz <tmraz@redhat.com> - 1.1.8-3 * Thu Nov 19 2009 Tomas Mraz <tmraz@redhat.com> - 1.1.8-3
- Add buildrequires gnupg2-smime for the gpgsm - Add buildrequires gnupg2-smime for the gpgsm