update to 1.3.1

OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=26
This commit is contained in:
Petr Uzel 2011-07-29 15:54:23 +00:00 committed by Git OBS Bridge
parent 128ab85020
commit 120c786f5a
5 changed files with 20 additions and 30 deletions

View File

@ -1,21 +0,0 @@
Cherry picked from commit 43f38db1afe9830b888076adeec1eec21f32335c
From 43f38db1afe9830b888076adeec1eec21f32335c Mon Sep 17 00:00:00 2001
From: Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
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);

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74e040fcd46061f6b0d8b621a2a2a48100a7ba5c9f69e7cf207259a6e2e3e6a1
size 869470

3
gpgme-1.3.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f71b336604cfbad1d97096edd26b03a34caac8b92fe354e1293f168a3a51d46
size 843510

View File

@ -1,3 +1,16 @@
Fri Jul 29 15:31:36 UTC 2011 - puzel@novell.com
- update to gpgme-1.3.1
- Detect GPG versions not supporting ---passwd.
- Interface changes relative to the 1.3.0 release:
GPGME_EXPORT_MODE_MINIMAL NEW
GPGME_STATUS_SUCCESS NEW
gpgme_err_code_from_syserror NEW
gpgme_err_set_errno NEW
gpgme_error_from_errno CHANGED: Return gpgme_error_t
gpgme_error_from_syserror NEW
- drop gnupg-2.0.17-test-failure.patch (fixed upstream)
-------------------------------------------------------------------
Thu Apr 28 06:24:11 UTC 2011 - idoenmez@novell.com
@ -15,6 +28,7 @@ Mon Jan 31 14:47:20 UTC 2011 - gber@opensuse.org
order to remove the extraneuos libassuan from gpgme-config
-------------------------------------------------------------------
>>>>>>> ./gpgme.changes.r4f20f9a7e442573486c918b107fed59f
Tue Dec 14 13:05:39 UTC 2010 - cristian.rodriguez@opensuse.org
- run spec cleaner

View File

@ -24,18 +24,16 @@ BuildRequires: libpth-devel >= 2.0.7
%else
BuildRequires: pth >= 2.0.7
%endif
Version: 1.3.0
Version: 1.3.1
Release: 15
License: GPLv2+
Summary: A Library Designed to Give Applications Easy Access to GnuPG
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
# PATCH-FIX-UPSTREAM gnupg-2.0.17-test-failure.patch idoenmez@suse.de -- Fix test failure with gnupg 2.0.17
Patch1: gnupg-2.0.17-test-failure.patch
BuildRequires: libassuan-devel >= 1.1.0
Source2: baselibs.conf
BuildRequires: libassuan-devel >= 2.0.2
BuildRequires: libgpg-error-devel >= 1.4
PreReq: %install_info_prereq
Requires: gpg2
@ -105,7 +103,6 @@ of standard widgets for common key selection tasks is even planned.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
sh autogen.sh