Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory
checked in at Tue May 3 09:09:08 CEST 2011.



--------
--- gpgme/gpgme.changes 2011-02-04 16:34:36.000000000 +0100
+++ /mounts/work_src_done/STABLE/gpgme/gpgme.changes    2011-04-28 
08:30:09.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Apr 28 06:24:11 UTC 2011 - [email protected]
+
+- Add gnupg-2.0.17-test-failure.patch: fix test failure with gnupg 2.0.17 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  gnupg-2.0.17-test-failure.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gpgme.spec ++++++
--- /var/tmp/diff_new_pack.q66ZKD/_old  2011-05-03 09:08:33.000000000 +0200
+++ /var/tmp/diff_new_pack.q66ZKD/_new  2011-05-03 09:08:33.000000000 +0200
@@ -25,7 +25,7 @@
 BuildRequires:  pth >= 2.0.7
 %endif
 Version:        1.3.0
-Release:        8
+Release:        15
 License:        GPLv2+
 Summary:        A Library Designed to Give Applications Easy Access to GnuPG
 Url:            http://www.gnupg.org/related_software/gpgme/
@@ -33,6 +33,8 @@
 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
+# PATCH-FIX-UPSTREAM gnupg-2.0.17-test-failure.patch [email protected] -- Fix 
test failure with gnupg 2.0.17
+Patch1:         gnupg-2.0.17-test-failure.patch
 BuildRequires:  libassuan-devel >= 1.1.0
 BuildRequires:  libgpg-error-devel >= 1.4
 PreReq:         %install_info_prereq
@@ -103,6 +105,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 sh autogen.sh

++++++ gnupg-2.0.17-test-failure.patch ++++++
Cherry picked from commit 43f38db1afe9830b888076adeec1eec21f32335c

>From 43f38db1afe9830b888076adeec1eec21f32335c Mon Sep 17 00:00:00 2001
From: Marcus Brinkmann <[email protected]>
Date: Wed, 27 Apr 2011 12:56:19 +0200
Subject: [PATCH] Update GPGME test suite for use with GnuPG 2.1.

diff --git a/tests/gpg/t-encrypt-sign.c b/tests/gpg/t-encrypt-sign.c
index 9da5ff0..9d00340 100644
--- a/tests/gpg/t-encrypt-sign.c
+++ b/tests/gpg/t-encrypt-sign.c
@@ -60,7 +60,8 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t 
type)
               result->signatures->pubkey_algo);
       exit (1);
     }
-  if (result->signatures->hash_algo != GPGME_MD_SHA1)
+  if (result->signatures->hash_algo != GPGME_MD_SHA1
+      && result->signatures->hash_algo != GPGME_MD_RMD160)
     {
       fprintf (stderr, "Wrong hash algorithm reported: %i\n",
               result->signatures->hash_algo);

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to