Accepting request 820017 from home:pmonrealgonzalez:branches:Base:System

- Fix build: [bsc#1174007]
  * Test t-encrypt-sym.py fails since gpg-2.2.21 update
- Add gpgme-fix-t-encrypt-sym.patch

OBS-URL: https://build.opensuse.org/request/show/820017
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=119
This commit is contained in:
Pedro Monreal Gonzalez 2020-07-13 10:31:17 +00:00 committed by Git OBS Bridge
parent 7b2799047d
commit 7ed6b88695
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: gpgme-1.13.1/lang/python/tests/t-encrypt-sym.py
===================================================================
--- gpgme-1.13.1.orig/lang/python/tests/t-encrypt-sym.py
+++ gpgme-1.13.1/lang/python/tests/t-encrypt-sym.py
@@ -44,7 +44,7 @@ for passphrase in ("abc", b"abc"):
c.set_passphrase_cb(passphrase_cb, None)
c.op_encrypt([], 0, source, cipher)
- assert passphrase_cb_called == 1, \
+ assert passphrase_cb_called == 2, \
"Callback called {} times".format(passphrase_cb_called)
support.print_data(cipher)

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 10 14:45:50 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- Fix build: [bsc#1174007]
* Test t-encrypt-sym.py fails since gpg-2.2.21 update
- Add gpgme-fix-t-encrypt-sym.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 2 08:23:12 UTC 2020 - Dan Čermák <dcermak@suse.com> Thu Jul 2 08:23:12 UTC 2020 - Dan Čermák <dcermak@suse.com>

View File

@ -47,6 +47,7 @@ Patch2: gpgme-t-json-test-with-keygrip-when-listing-keys.patch
# required to make notmuch's testsuite pass, see # required to make notmuch's testsuite pass, see
# id:87366av72u.fsf@fifthhorseman.net on notmuch@notmuchmail.org # id:87366av72u.fsf@fifthhorseman.net on notmuch@notmuchmail.org
Patch3: 0001-gpg-Avoid-error-diagnostics-with-override-session-ke.patch Patch3: 0001-gpg-Avoid-error-diagnostics-with-override-session-ke.patch
Patch4: gpgme-fix-t-encrypt-sym.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gpg2 >= 2.0.10 BuildRequires: gpg2 >= 2.0.10
BuildRequires: libassuan-devel >= 2.4.2 BuildRequires: libassuan-devel >= 2.4.2