commit gpgme for openSUSE:Factory

2024-02-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2024-02-22 20:55:55

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.1706 (New)


Package is "gpgme"

Thu Feb 22 20:55:55 2024 rev:106 rq:1148548 version:1.23.2

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2024-01-07 
21:39:21.621963295 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.1706/gpgme.changes2024-02-22 
20:55:57.345564708 +0100
@@ -1,0 +2,9 @@
+Sat Feb 17 11:20:39 UTC 2024 - Ben Greiner 
+
+- Update gpgme-D545-obsolete-distutils.patch with upstream's
+  changes (but use pip instead of python-build for wheel building)
+- Change from in-place build to out-of-place build in order to
+  reflect upstream's build setup (See D545)
+- Don't replace distutils in 15.X
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.kOwtXu/_old  2024-02-22 20:55:57.997588472 +0100
+++ /var/tmp/diff_new_pack.kOwtXu/_new  2024-02-22 20:55:58.001588617 +0100
@@ -1,5 +1,5 @@
 #
-# spec file
+# spec file for package gpgme
 #
 # Copyright (c) 2024 SUSE LLC
 #
@@ -32,6 +32,14 @@
 %bcond_with python3
 %bcond_without qt6
 %endif
+
+%if 0%{suse_version} >= 1550 || "%{?pythons}" == "python311"
+%bcond_without replace_distutils
+%else
+# Keep deprecated distutils for Python 3.6 on 15.x
+%bcond_with replace_distutils
+%endif
+
 Name:   gpgme%{psuffix}
 Version:1.23.2
 Release:0
@@ -60,10 +68,12 @@
 BuildRequires:  swig
 %if %{with python3}
 BuildRequires:  %{python_module devel}
+BuildRequires:  python-rpm-macros
+%if %{with replace_distutils}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools >= 62.4}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  python-rpm-macros
+%endif
 %endif
 %if %{with qt}
 BuildRequires:  pkgconfig(Qt5Core)
@@ -245,7 +255,15 @@
 This package contains the bindings to use the library in Qt 6 C++ applications.
 
 %prep
-%autosetup -p1 -n gpgme-%{version}
+%autosetup -N -n gpgme-%{version}
+%if %{with replace_distutils}
+%patch -p1 -P1 -P2
+%endif
+%if 0%{suse_version} > 1500
+# Note: rpm in 15.x does not know about the autopatch -m flag.
+# Need to apply every additional patch explicitly, if any.
+%autopatch -p1 -m3
+%endif
 
 %build
 ./autogen.sh
@@ -268,6 +286,9 @@
 %endif
 %endif
 
+%define _configure ../configure
+mkdir build
+pushd build
 %configure \
--disable-silent-rules \
--disable-static \
@@ -275,8 +296,10 @@
--enable-languages="${languages}" \
--enable-build-timestamp="${build_timestamp}"
 %make_build
+popd
 
 %install
+pushd build
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 chmod -x %{buildroot}%{_libdir}/cmake/Gpgmepp/*.cmake
@@ -290,6 +313,7 @@
 rm -r %{buildroot}%{_libdir}/libgpgme*
 rm -r %{buildroot}%{_libdir}/pkgconfig/gpgme*
 %endif
+popd
 
 %check
 GPGME_DEBUG=2:mygpgme.log %make_build check skip=%{?qt_skip:%{qt_skip}} || cat 
$(find -name mygpgme.log -type f)
@@ -347,7 +371,7 @@
 %files %{python_files gpg}
 %license COPYING COPYING.LESSER LICENSES
 %{python_sitearch}/gpg
-%{python_sitearch}/gpg-%{version}.dist-info
+%{python_sitearch}/gpg-%{version}*-info
 %endif
 
 %if %{with qt}


++ gpgme-D545-obsolete-distutils.patch ++
--- /var/tmp/diff_new_pack.kOwtXu/_old  2024-02-22 20:55:58.045590222 +0100
+++ /var/tmp/diff_new_pack.kOwtXu/_new  2024-02-22 20:55:58.049590367 +0100
@@ -1,110 +1,31 @@
-diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
-index 68b98e8e..a8dd8948 100644
 a/lang/python/Makefile.am
-+++ b/lang/python/Makefile.am
-@@ -34,8 +34,8 @@ SUBDIRS = . ${tests} examples doc src
- .PHONY: prepare
- prepare: copystamp
- 
--# For VPATH builds we need to copy some files because Python's
--# distutils are not VPATH-aware.
-+# For VPATH builds we need to copy some files because Python
-+# is not VPATH-aware.
- copystamp:
-   ln -sf "$(top_srcdir)/src/data.h" .
-   ln -sf "$(top_builddir)/conf/config.h" .
-@@ -48,7 +48,7 @@ all-local: copystamp
- CFLAGS="$(CFLAGS)" \
- srcdir="$(srcdir)" \
- top_builddir="$(top_builddir)" \
--  $$PYTHON setup.py build --verbose --build-base="$$(basename 
"$${PYTHON}")-gpg" ; \
-+  $$PYTHON -m pip --verbose install --no-index --no-build-isolation 
--root="$$(basename "$${PYTHON}")-gpg" ${srcdir} ; \
-   done
- 
- python$(PYTHON_VERSION)-gpg/dist/gpg-$(VERSION).tar.gz.asc: copystamp
-@@ -57,8 +57,7 @@ python$(PYTHON_VERSION)-gpg/dist/gpg-$(VERSION).tar.gz.asc: 
copystamp
-   CFLAGS="$(CFLAGS)" \
-   

commit gpgme for openSUSE:Factory

2024-01-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2024-01-07 21:39:14

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.28375 (New)


Package is "gpgme"

Sun Jan  7 21:39:14 2024 rev:105 rq:1137281 version:1.23.2

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-12-07 
19:09:36.597497972 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.28375/gpgme.changes   2024-01-07 
21:39:21.621963295 +0100
@@ -1,0 +2,8 @@
+Sat Jan  6 12:43:19 UTC 2024 - Ben Greiner 
+
+- Python 3.12 has dropped distutils
+  * Build require python-setuptools instead
+  * Drop old gpgme-D545-python310.patch
+  * Replace with gpgme-D545-obsolete-distutils.patch
+
+---

Old:

  gpgme-D545-python310.patch

New:

  gpgme-D545-obsolete-distutils.patch

BETA DEBUG BEGIN:
  Old:  * Build require python-setuptools instead
  * Drop old gpgme-D545-python310.patch
  * Replace with gpgme-D545-obsolete-distutils.patch
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:  * Drop old gpgme-D545-python310.patch
  * Replace with gpgme-D545-obsolete-distutils.patch
BETA DEBUG END:



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.Au7pra/_old  2024-01-07 21:39:22.337989340 +0100
+++ /var/tmp/diff_new_pack.Au7pra/_new  2024-01-07 21:39:22.337989340 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -46,8 +46,8 @@
 Source3:https://gnupg.org/signature_key.asc#/gpgme.keyring
 # used to have a fixed timestamp
 Source99:   gpgme.changes
-# PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D545
-Patch1: gpgme-D545-python310.patch
+# PATCH-FIX-UPSTREAM obsolete distutlils  -- https://dev.gnupg.org/D545
+Patch1: gpgme-D545-obsolete-distutils.patch
 # PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch c...@bnavigator.de -- 
remove "-unknown" betasuffix boo#1205197
 Patch2: gpgme-suse-nobetasuffix.patch
 BuildRequires:  autoconf
@@ -60,6 +60,9 @@
 BuildRequires:  swig
 %if %{with python3}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools >= 62.4}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
 %endif
 %if %{with qt}
@@ -344,7 +347,7 @@
 %files %{python_files gpg}
 %license COPYING COPYING.LESSER LICENSES
 %{python_sitearch}/gpg
-%{python_sitearch}/gpg-%{version}-py%{python_version}.egg-info
+%{python_sitearch}/gpg-%{version}.dist-info
 %endif
 
 %if %{with qt}


++ gpgme-D545-obsolete-distutils.patch ++
 653 lines (skipped)


commit gpgme for openSUSE:Factory

2023-12-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-12-07 19:09:12

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.25432 (New)


Package is "gpgme"

Thu Dec  7 19:09:12 2023 rev:104 rq:1131307 version:1.23.2

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-12-01 
21:24:35.136153315 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.25432/gpgme.changes   2023-12-07 
19:09:36.597497972 +0100
@@ -1,0 +2,5 @@
+Tue Dec  5 19:03:33 UTC 2023 - Christophe Marin 
+
+- Make libgpgmepp-devel provide its CMake target file
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.HSG91o/_old  2023-12-07 19:09:37.189519811 +0100
+++ /var/tmp/diff_new_pack.HSG91o/_new  2023-12-07 19:09:37.193519960 +0100
@@ -142,6 +142,8 @@
 Requires:   libgpg-error-devel
 Requires:   libgpgme-devel = %{version}
 Requires:   libgpgmepp6 = %{version}
+# This avoids requiring CMake at build time for the default flavor
+Provides:   cmake(Gpgmepp) = %{version}
 %requires_gelibassuan-devel
 
 %description -n libgpgmepp-devel


commit gpgme for openSUSE:Factory

2023-11-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-11-01 22:09:29

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.17445 (New)


Package is "gpgme"

Wed Nov  1 22:09:29 2023 rev:102 rq:1121375 version:1.23.1

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-10-26 
17:11:36.202064361 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.17445/gpgme.changes   2023-11-01 
22:09:35.838815746 +0100
@@ -1,0 +2,6 @@
+Mon Oct 30 21:58:54 UTC 2023 - Andreas Stieger 
+
+- update to 1.23.1:
+  * fixes for other platforms
+
+---

Old:

  gpgme-1.23.0.tar.bz2
  gpgme-1.23.0.tar.bz2.sig

New:

  gpgme-1.23.1.tar.bz2
  gpgme-1.23.1.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.o6UAey/_old  2023-11-01 22:09:36.394836344 +0100
+++ /var/tmp/diff_new_pack.o6UAey/_new  2023-11-01 22:09:36.398836491 +0100
@@ -33,7 +33,7 @@
 %bcond_without qt6
 %endif
 Name:   gpgme%{psuffix}
-Version:1.23.0
+Version:1.23.1
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:GPL-3.0-or-later AND LGPL-2.1-or-later

++ gpgme-1.23.0.tar.bz2 -> gpgme-1.23.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gpgme-1.23.0/NEWS new/gpgme-1.23.1/NEWS
--- old/gpgme-1.23.0/NEWS   2023-10-25 11:05:22.0 +0200
+++ new/gpgme-1.23.1/NEWS   2023-10-27 14:34:18.0 +0200
@@ -1,3 +1,13 @@
+Noteworthy changes in version 1.23.1 (2023-10-27)
+-
+
+ * w32: Change gpgme-w32-spawn to use Unicode arguments.  [T6728]
+
+ [c=C43/A32/R0 cpp=C26/A20/R0 qt=C20/A5/R0]
+
+ Release-info: https://dev.gnupg.org/T6774
+
+
 Noteworthy changes in version 1.23.0 (2023-10-25)
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gpgme-1.23.0/VERSION new/gpgme-1.23.1/VERSION
--- old/gpgme-1.23.0/VERSION2023-10-25 11:07:11.0 +0200
+++ new/gpgme-1.23.1/VERSION2023-10-27 14:38:51.0 +0200
@@ -1 +1 @@
-1.23.0
+1.23.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gpgme-1.23.0/configure new/gpgme-1.23.1/configure
--- old/gpgme-1.23.0/configure  2023-10-25 11:07:11.0 +0200
+++ new/gpgme-1.23.1/configure  2023-10-27 14:38:51.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for gpgme 1.23.0.
+# Generated by GNU Autoconf 2.71 for gpgme 1.23.1.
 #
 # Report bugs to .
 #
@@ -621,8 +621,8 @@
 # Identity of this package.
 PACKAGE_NAME='gpgme'
 PACKAGE_TARNAME='gpgme'
-PACKAGE_VERSION='1.23.0'
-PACKAGE_STRING='gpgme 1.23.0'
+PACKAGE_VERSION='1.23.1'
+PACKAGE_STRING='gpgme 1.23.1'
 PACKAGE_BUGREPORT='https://bugs.gnupg.org'
 PACKAGE_URL=''
 
@@ -1517,7 +1517,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures gpgme 1.23.0 to adapt to many kinds of systems.
+\`configure' configures gpgme 1.23.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1588,7 +1588,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of gpgme 1.23.0:";;
+ short | recursive ) echo "Configuration of gpgme 1.23.1:";;
esac
   cat <<\_ACEOF
 
@@ -1758,7 +1758,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gpgme configure 1.23.0
+gpgme configure 1.23.1
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2539,7 +2539,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gpgme $as_me 1.23.0, which was
+It was created by gpgme $as_me 1.23.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3564,7 +3564,7 @@
 
 VERSION_MAJOR=1
 VERSION_MINOR=23
-VERSION_MICRO=0
+VERSION_MICRO=1
 
 
 
@@ -4085,7 +4085,7 @@
 
 # Define the identity of the package.
  PACKAGE='gpgme'
- VERSION='1.23.0'
+ VERSION='1.23.1'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -7399,7 +7399,7 @@
 
 
 
-VERSION_NUMBER=0x011700
+VERSION_NUMBER=0x011701
 
 
 # We need to compile and run a program 

commit gpgme for openSUSE:Factory

2023-10-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-10-26 17:11:34

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.24901 (New)


Package is "gpgme"

Thu Oct 26 17:11:34 2023 rev:101 rq:1120237 version:1.23.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-09-25 
20:00:19.887948482 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.24901/gpgme.changes   2023-10-26 
17:11:36.202064361 +0200
@@ -1,0 +2,14 @@
+Wed Oct 25 10:56:48 UTC 2023 - Pedro Monreal 
+
+- Update to 1.23.0:
+  * Support GPGME_ENCRYPT_ALWAYS_TRUST also for S/MIME. [T6559]
+  * New keylist mode GPGME_KEYLIST_MODE_WITH_V5FPR. [T6705]
+  * New key capability flags has_*. [T6748]
+  * gpgme-tool: Support use of Windows HANDLE. [T6634]
+  * qt: Support refreshing keys via WKD. [T6672]
+  * qt: Handle cancel in changeexpiryjob. [T6754]
+  * Remove patches fixed upstream:
+- gpgme-qt-tests-Fix-build-in-source-directory.patch
+- gpgme-build-Suggest-out-of-source-build.patch
+
+---

Old:

  gpgme-1.22.0.tar.bz2
  gpgme-1.22.0.tar.bz2.sig
  gpgme-build-Suggest-out-of-source-build.patch
  gpgme-qt-tests-Fix-build-in-source-directory.patch

New:

  gpgme-1.23.0.tar.bz2
  gpgme-1.23.0.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.rRNiOK/_old  2023-10-26 17:11:37.002093744 +0200
+++ /var/tmp/diff_new_pack.rRNiOK/_new  2023-10-26 17:11:37.006093891 +0200
@@ -33,7 +33,7 @@
 %bcond_without qt6
 %endif
 Name:   gpgme%{psuffix}
-Version:1.22.0
+Version:1.23.0
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:GPL-3.0-or-later AND LGPL-2.1-or-later
@@ -50,9 +50,6 @@
 Patch1: gpgme-D545-python310.patch
 # PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch c...@bnavigator.de -- 
remove "-unknown" betasuffix boo#1205197
 Patch2: gpgme-suse-nobetasuffix.patch
-# PATCH-FIX-UPSTREAM Fix building with qt
-Patch3: gpgme-qt-tests-Fix-build-in-source-directory.patch
-Patch4: gpgme-build-Suggest-out-of-source-build.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++

++ gpgme-1.22.0.tar.bz2 -> gpgme-1.23.0.tar.bz2 ++
 4401 lines of diff (skipped)


commit gpgme for openSUSE:Factory

2023-09-25 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-09-25 20:00:00

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.1770 (New)


Package is "gpgme"

Mon Sep 25 20:00:00 2023 rev:100 rq:1113289 version:1.22.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-08-23 
14:56:52.229910374 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.1770/gpgme.changes2023-09-25 
20:00:19.887948482 +0200
@@ -1,0 +2,14 @@
+Sat Sep 23 23:26:53 UTC 2023 - Christophe Marin 
+
+- Use GCC 12 for building the Qt6 library on Leap 15. The
+  default compiler is too old.
+- Use '%{without xxx}' rather than '!%{with xxx}' in spec file
+
+---
+Sat Sep 23 23:26:53 UTC 2023 - Christophe Marin 
+
+- Use GCC 12 for building the Qt6 library. The default compiler
+  is too old.
+- Use '%{without xxx}' rather than '!%{with xxx}' in spec file
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.eDDX5h/_old  2023-09-25 20:00:21.420003717 +0200
+++ /var/tmp/diff_new_pack.eDDX5h/_new  2023-09-25 20:00:21.424003861 +0200
@@ -70,6 +70,12 @@
 BuildRequires:  pkgconfig(Qt5Test)
 %endif
 %if %{with qt6}
+%if 0%{?suse_version} < 1550
+# The default compiler is too old for Qt6, use the newest
+# version available in the :Update repo
+BuildRequires:  gcc12-c++
+BuildRequires:  gcc12-PIE
+%endif
 BuildRequires:  pkgconfig(Qt6Core) >= 6.4.0
 BuildRequires:  pkgconfig(Qt6Test)
 %endif
@@ -254,6 +260,10 @@
 
 %if %{with qt6}
 languages="cpp qt6"
+%if 0%{?suse_version} < 1550
+# Qt6 needs full c++-17 support
+export CXX=g++-12 CC=gcc-12 CPP=cpp-12
+%endif
 %endif
 
 %configure \
@@ -290,12 +300,12 @@
 %ldconfig_scriptlets -n libqgpgmeqt6-15
 %endif
 
-%if !%{with qt} && !%{with qt6}
+%if %{without qt} && %{without qt6}
 %ldconfig_scriptlets -n libgpgme11
 %ldconfig_scriptlets -n libgpgmepp6
 %endif
 
-%if !%{with qt} && !%{with qt6}
+%if %{without qt} && %{without qt6}
 %files
 %license COPYING COPYING.LESSER LICENSES
 %doc AUTHORS ChangeLog ChangeLog-2011 README NEWS THANKS TODO VERSION


commit gpgme for openSUSE:Factory

2023-08-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-08-23 14:56:45

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.1766 (New)


Package is "gpgme"

Wed Aug 23 14:56:45 2023 rev:99 rq:1105256 version:1.22.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-08-05 
12:53:49.488163786 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.1766/gpgme.changes2023-08-23 
14:56:52.229910374 +0200
@@ -1,0 +2,32 @@
+Tue Aug 22 08:31:50 UTC 2023 - Pedro Monreal 
+
+- Fix builds with qt and qt6 [T6673]:
+  * qt,tests: Fix build in source directory. Include Qt binding
+sources before C++ binding sources and C sources. This fixes
+the problem that the debug.h in the C sources was found before
+the one in the Qt bindings.
+  * build: Suggest out-of-source build. Suggest to run configure
+from a build subdirectory.
+  * Add patches:
+- gpgme-qt-tests-Fix-build-in-source-directory.patch
+- gpgme-build-Suggest-out-of-source-build.patch
+
+---
+Tue Aug 22 08:16:40 UTC 2023 - Pedro Monreal 
+
+- Update to 1.22.0:
+  * Prevent wrong plaintext when verifying clearsigned signature.
+  * Return bad data error instead of general error on unexpected data.
+  * Take care of offline mode for all operations of gpgsm engine.
+  * Prepare the use of the forthcoming libassuan version 3.
+  * New configure option --with-libtool-modification.
+  * cpp: Expose gpgme_decrypt_result_t.is_mime.
+  * qt: Clean up after failure or cancel of sign/encrypt archive operation.
+  * qt: Add setInputEncoding to QGpgMe::EncryptJob.
+  * qt: Make toLogString helper public.
+  * Interface changes relative to the 1.21.0 release:
+- qt: EncryptJob::setInputEncoding   NEW.
+- qt: DecryptionResult::isMime   NEW.
+- qt: toLogStringNEW.
+
+---

Old:

  gpgme-1.21.0.tar.bz2
  gpgme-1.21.0.tar.bz2.sig

New:

  gpgme-1.22.0.tar.bz2
  gpgme-1.22.0.tar.bz2.sig
  gpgme-build-Suggest-out-of-source-build.patch
  gpgme-qt-tests-Fix-build-in-source-directory.patch



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.grEqco/_old  2023-08-23 14:56:53.329912340 +0200
+++ /var/tmp/diff_new_pack.grEqco/_new  2023-08-23 14:56:53.337912355 +0200
@@ -33,7 +33,7 @@
 %bcond_without qt6
 %endif
 Name:   gpgme%{psuffix}
-Version:1.21.0
+Version:1.22.0
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:GPL-3.0-or-later AND LGPL-2.1-or-later
@@ -50,6 +50,9 @@
 Patch1: gpgme-D545-python310.patch
 # PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch c...@bnavigator.de -- 
remove "-unknown" betasuffix boo#1205197
 Patch2: gpgme-suse-nobetasuffix.patch
+# PATCH-FIX-UPSTREAM Fix building with qt
+Patch3: gpgme-qt-tests-Fix-build-in-source-directory.patch
+Patch4: gpgme-build-Suggest-out-of-source-build.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++

++ gpgme-1.21.0.tar.bz2 -> gpgme-1.22.0.tar.bz2 ++
 42397 lines of diff (skipped)

++ gpgme-build-Suggest-out-of-source-build.patch ++
>From 24a8c279da98fe7e586a9fc3cd91175c9e60ffef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= 
Date: Mon, 21 Aug 2023 21:32:40 +0200
Subject: build: Suggest out-of-source build

* autogen.rc (final_info): Suggest to run configure from a build
subdirectory.
--

We recommend out-of-source builds. The suggestion what to do next shown
by autogen.sh should reflect this.

GnuPG-bug-id: 6673

diff --git a/autogen.rc b/autogen.rc
index 1759ef93..6d6ea93f 100644
--- a/autogen.rc
+++ b/autogen.rc
@@ -11,4 +11,4 @@ case "$myhost" in
 esac
 
 
-final_info="./configure --enable-maintainer-mode && make"
+final_info="mkdir build && cd build && ../configure --enable-maintainer-mode 
&& make"
-- 
2.41.0


++ gpgme-qt-tests-Fix-build-in-source-directory.patch ++
>From d23528cadf4284f508bc4ba05e1b5c14b46bd354 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= 
Date: Mon, 21 Aug 2023 21:08:01 +0200
Subject: qt,tests: Fix build in source directory

* lang/qt/tests/Makefile.am (AM_CPPFLAGS): Include Qt binding sources
before C++ binding sources and C sources.
--

This fixes the problem that the debug.h in the C sources was found
before the one in the Qt bindings.

GnuPG-bug-id: 6673

diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am
index 32ad6466..aedd3264 100644
--- a/lang/qt/tests/Makefile.am

commit gpgme for openSUSE:Factory

2023-08-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-08-05 12:53:48

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.22712 (New)


Package is "gpgme"

Sat Aug  5 12:53:48 2023 rev:98 rq:1102192 version:1.21.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-07-12 
17:26:19.746136841 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.22712/gpgme.changes   2023-08-05 
12:53:49.488163786 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 11:27:50 UTC 2023 - Andreas Schwab 
+
+- Run testsuite in qemu build
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.oVetjz/_old  2023-08-05 12:53:50.536170489 +0200
+++ /var/tmp/diff_new_pack.oVetjz/_new  2023-08-05 12:53:50.540170515 +0200
@@ -277,9 +277,7 @@
 %endif
 
 %check
-%if ! 0%{?qemu_user_space_build}
 GPGME_DEBUG=2:mygpgme.log %make_build check skip=%{?qt_skip:%{qt_skip}} || cat 
$(find -name mygpgme.log -type f)
-%endif
 
 %if %{with qt}
 %ldconfig_scriptlets -n libqgpgme15


commit gpgme for openSUSE:Factory

2023-07-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-07-12 17:26:15

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.8922 (New)


Package is "gpgme"

Wed Jul 12 17:26:15 2023 rev:97 rq:1098091 version:1.21.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-04-22 
21:57:29.236149922 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.8922/gpgme.changes2023-07-12 
17:26:19.746136841 +0200
@@ -1,0 +2,50 @@
+Mon Jul 10 14:57:51 UTC 2023 - Pedro Monreal 
+
+- Update to 1.21.0
+  * Extended gpgme_op_encrypt, gpgme_op_encrypt_sign, and gpgme_op_sign
+to allow writing the output directly to a file. [T6530]
+  * Extended gpgme_op_decrypt and gpgme_op_verify to allow reading the
+input data directly from files. [T6530]
+  * For key signing and uid revoking allow an empty user id. [rMfbc3963d62]
+  * Pass an input-size-hint also to the gpgsm engine. [T6534]
+  * qt: Allow writing the created archives directly to a file. [T6530]
+  * qt: Allow reading the signed/encrypted archive to decrypt
+or verify directly from a file. [T6530]
+  * qt: Qt Jobs working with QIODeviceDataProvider now properly
+handle input-size hints and progress for files larger.
+2^32 bytes in 32 bit builds. [T6534]
+  * cpp: Error::isCanceled now also returns true for error code
+GPG_ERR_FULLY_CANCELED. [T6510]
+  * python: Fix wrong use of write. [T6501]
+  * Interface changes relative to the 1.20.0 release:
+- cpp: Data::setFlagNEW.
+- cpp: Data::setSizeHintNEW.
+- qt: Job::startIt  NEW.
+- qt: DecryptVerifyArchiveJob::setInputFile NEW.
+- qt: DecryptVerifyArchiveJob::inputFileNEW.
+- qt: EncryptArchiveJob::setRecipients  NEW.
+- qt: EncryptArchiveJob::recipients NEW.
+- qt: EncryptArchiveJob::setInputPaths  NEW.
+- qt: EncryptArchiveJob::inputPaths NEW.
+- qt: EncryptArchiveJob::setOutputFile  NEW.
+- qt: EncryptArchiveJob::outputFile NEW.
+- qt: EncryptArchiveJob::setEncryptionFlags NEW.
+- qt: EncryptArchiveJob::encryptionFlagsNEW.
+- qt: SignArchiveJob::setSignersNEW.
+- qt: SignArchiveJob::signers   NEW.
+- qt: SignArchiveJob::setInputPaths NEW.
+- qt: SignArchiveJob::inputPathsNEW.
+- qt: SignArchiveJob::setOutputFile NEW.
+- qt: SignArchiveJob::outputFileNEW.
+- qt: SignEncryptArchiveJob::setSigners NEW.
+- qt: SignEncryptArchiveJob::signersNEW.
+- qt: SignEncryptArchiveJob::setRecipients  NEW.
+- qt: SignEncryptArchiveJob::recipients NEW.
+- qt: SignEncryptArchiveJob::setInputPaths  NEW.
+- qt: SignEncryptArchiveJob::inputPaths NEW.
+- qt: SignEncryptArchiveJob::setOutputFile  NEW.
+- qt: SignEncryptArchiveJob::outputFile NEW.
+- qt: SignEncryptArchiveJob::setEncryptionFlags NEW.
+- qt: SignEncryptArchiveJob::encryptionFlagsNEW.
+
+---

Old:

  gpgme-1.20.0.tar.bz2
  gpgme-1.20.0.tar.bz2.sig

New:

  gpgme-1.21.0.tar.bz2
  gpgme-1.21.0.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.gdzSQu/_old  2023-07-12 17:26:20.614141901 +0200
+++ /var/tmp/diff_new_pack.gdzSQu/_new  2023-07-12 17:26:20.618141924 +0200
@@ -33,7 +33,7 @@
 %bcond_without qt6
 %endif
 Name:   gpgme%{psuffix}
-Version:1.20.0
+Version:1.21.0
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:GPL-3.0-or-later AND LGPL-2.1-or-later

++ gpgme-1.20.0.tar.bz2 -> gpgme-1.21.0.tar.bz2 ++
 3795 lines of diff (skipped)


commit gpgme for openSUSE:Factory

2023-04-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-04-22 21:56:48

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.1533 (New)


Package is "gpgme"

Sat Apr 22 21:56:48 2023 rev:96 rq:1081075 version:1.20.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-04-16 
19:13:19.001425757 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.1533/gpgme.changes2023-04-22 
21:57:29.236149922 +0200
@@ -1,0 +2,22 @@
+Fri Apr 21 06:19:17 UTC 2023 - Pedro Monreal 
+
+- Update to 1.20.0:
+  * On Windows, the gettext functions provided by gpgrt are switched
+into utf8 mode, so that all localized texts returned by GpgME or
+gpgrt, e.g. the texts for error codes are now UTF-8 encoded. [T5960]
+  * Key::canSign now returns false for OpenPGP keys without signing
+(sub)key. [T6456]
+  * The new macOS Homebrew location is now by default supported. [T6440]
+  * Fix regression in 1.19.0.
+  * Fix invocation of gpgtar on Windows.
+  * Interface changes relative to the 1.19.0 release:
+- gpgme_subkey_t  EXTENDED: New field 'can_renc'.
+- gpgme_subkey_t  EXTENDED: New field 'can_timestamp'.
+- gpgme_subkey_t  EXTENDED: New field 'is_group_owned'.
+- cpp: Subkey::canRencNEW.
+- cpp: Subkey::canTimestamp   NEW.
+- cpp: Subkey::isGroupOwned   NEW.
+- cpp: Key::canReallySign DEPRECATED.
+  * Release-info: https://dev.gnupg.org/T6463
+
+---

Old:

  gpgme-1.19.0.tar.bz2
  gpgme-1.19.0.tar.bz2.sig

New:

  gpgme-1.20.0.tar.bz2
  gpgme-1.20.0.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.rQZO5c/_old  2023-04-22 21:57:29.784153198 +0200
+++ /var/tmp/diff_new_pack.rQZO5c/_new  2023-04-22 21:57:29.792153246 +0200
@@ -33,7 +33,7 @@
 %bcond_without qt6
 %endif
 Name:   gpgme%{psuffix}
-Version:1.19.0
+Version:1.20.0
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:GPL-3.0-or-later AND LGPL-2.1-or-later

++ gpgme-1.19.0.tar.bz2 -> gpgme-1.20.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gpgme-1.19.0/ChangeLog new/gpgme-1.20.0/ChangeLog
--- old/gpgme-1.19.0/ChangeLog  2023-03-17 10:42:31.0 +0100
+++ new/gpgme-1.20.0/ChangeLog  2023-04-20 13:53:28.0 +0200
@@ -1,3 +1,88 @@
+2023-04-20  Werner Koch  
+
+   Release 1.20.0.
+   + commit 451ed47434c5ffd2916adae25e5a128606b5ef98
+
+
+   core: Support the new macOS Homebrew location.
+   + commit 7351ef32ce7c04d20ee32fc9b645a1931b3b0aba
+   * src/posix-util.c (find_executable): Extend the path.
+
+2023-04-19  Ingo Klöcker  
+
+   build,qt: Simplify check for moc.
+   + commit a14155d2c1b2ddc167dbf278faf1d6b469575492
+   m4/qt6.m4: Remove alternative checks for moc that were taken over from
+   Qt 5 and that are obsolete for Qt 6.
+
+   Update NEWS.
+   + commit e80bf34bf86f6f183145c31d598dda41c0496a4d
+   * NEWS: Add news for recent changes
+
+2023-04-18  Ingo Klöcker  
+
+   cpp: Fix Key::canSign()
+   + commit 5bd84cfd3f092703bb4b9b993be7d89ca13b36b0
+   * lang/cpp/src/key.h (canReallySign): Deprecate.
+   * lang/cpp/src/key.cpp (canSign): Remove workaround. Use implementation
+   of canReallySign.
+   (canReallySign): Use canSign().
+   (operator<<): Use canSign().
+
+2023-04-17  Werner Koch  
+
+   core: Avoid printf format warnings due to gpgme_ssize_t.
+   + commit 7d1159c1e99bb1bae0ab698c85105dcdcb95b7ea
+   * src/debug.h (_trace_sysres_ssize_t): Cast arg.
+
+   core,w32: Fix invocation of gpgtar.
+   + commit 0c29119e061cbdcb7342380938a25af91290f1a0
+   * src/dirinfo.c (EXEEXT_S): New.
+   (get_gpgconf_item): Append ".exe" to gpg-wks-client and gpgtar.
+
+   * src/gpgme-w32spawn.c (mystderr): Add code to ease debugging.
+
+2023-04-06  NIIBE Yutaka  
+
+   build: Update gpg-error.m4.
+   + commit 806a5d18b988449fbaa3c2e6380acf3ae4580f4a
+   * m4/gpg-error.m4: Update from libgpg-error master.
+
+2023-04-04  Ingo Klöcker  
+
+   w32: Always use UTF-8 for localized texts.
+   + commit d256ba7cc57d9bfcfa05fb05cf66dc992efbb695
+   * configure.ac: Define GPG_ERR_ENABLE_GETTEXT_MACROS.
+   * src/version.c (do_subsystem_inits) [W32]: Switch gettext to UTF-8.
+
+2023-03-27  Werner Koch  
+
+   core: Minor code cleanup.
+   + commit 34cc7daba12a2a6baa3cfa337762656c210686fa
+   * src/engine-gpg.c (build_argv): 

commit gpgme for openSUSE:Factory

2023-04-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-04-16 19:13:00

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.19717 (New)


Package is "gpgme"

Sun Apr 16 19:13:00 2023 rev:95 rq:1079638 version:1.19.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-03-24 
15:15:56.361471389 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.19717/gpgme.changes   2023-04-16 
19:13:19.001425757 +0200
@@ -1,0 +2,6 @@
+Tue Apr 11 22:15:02 UTC 2023 - Christophe Marin 
+
+- Add a Qt6 flavor to build Qt6 bindings
+- Use %ldconfig_scriptlets
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.IAJlFY/_old  2023-04-16 19:13:19.425428207 +0200
+++ /var/tmp/diff_new_pack.IAJlFY/_new  2023-04-16 19:13:19.429428229 +0200
@@ -21,11 +21,17 @@
 %define psuffix %{nil}
 %bcond_without python3
 %bcond_with qt
-%else
+%endif
+%if "%{flavor}" == "qt"
 %define psuffix qt
 %bcond_with python3
 %bcond_without qt
 %endif
+%if "%{flavor}" == "qt6"
+%define psuffix qt6
+%bcond_with python3
+%bcond_without qt6
+%endif
 Name:   gpgme%{psuffix}
 Version:1.19.0
 Release:0
@@ -60,6 +66,10 @@
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Test)
 %endif
+%if %{with qt6}
+BuildRequires:  pkgconfig(Qt6Core) >= 6.4.0
+BuildRequires:  pkgconfig(Qt6Test)
+%endif
 %if 0%{?suse_version} >= 1550
 # TW: generate subpackages for every python3 flavor
 %define python_subpackage_only 1
@@ -166,7 +176,7 @@
 %endif
 
 %package -n libqgpgme15
-Summary:Programmatic Qt library interface to GnuPG
+Summary:Programmatic Qt 5 library interface to GnuPG
 Group:  System/Libraries
 Requires:   gpg2
 
@@ -176,10 +186,10 @@
 encryption, decryption, signing, signature verification, and key
 management.
 
-This package contains the Qt bindings.
+This package contains the Qt 5 bindings.
 
 %package -n libqgpgme-devel
-Summary:Development files for libqgpgme, a Qt library for accessing 
GnuPG
+Summary:Development files for libqgpgme, a Qt 5 library for accessing 
GnuPG
 Group:  Development/Libraries/C and C++
 Requires:   libgpgme-devel = %{version}
 Requires:   libgpgmepp-devel = %{version}
@@ -191,7 +201,37 @@
 encryption, decryption, signing, signature verification, and key
 management.
 
-This package contains the bindings to use the library in Qt C++ applications.
+This package contains the bindings to use the library in Qt 5 C++ applications.
+
+%package -n libqgpgmeqt6-15
+Summary:Programmatic Qt 6 library interface to GnuPG
+Group:  System/Libraries
+Requires:   gpg2
+
+%description -n libqgpgmeqt6-15
+GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
+easier for applications. It provides a high-level crypto API for
+encryption, decryption, signing, signature verification, and key
+management.
+
+This package contains the Qt 6 bindings.
+
+%package -n libqgpgmeqt6-devel
+Summary:Development files for libqgpgmeqt6, a Qt library for accessing 
GnuPG
+Group:  Development/Libraries/C and C++
+Requires:   libgpgme-devel = %{version}
+Requires:   libgpgmepp-devel = %{version}
+Requires:   libqgpgmeqt6-15 = %{version}
+# The include folders have the same name in both libqgpgme-devel and 
libqgpgmeqt6-devel
+Conflicts:  libqgpgme-devel
+
+%description -n libqgpgmeqt6-devel
+GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
+easier for applications. It provides a high-level crypto API for
+encryption, decryption, signing, signature verification, and key
+management.
+
+This package contains the bindings to use the library in Qt 6 C++ applications.
 
 %prep
 %autosetup -p1 -n gpgme-%{version}
@@ -209,6 +249,10 @@
 languages="cpp qt"
 %endif
 
+%if %{with qt6}
+languages="cpp qt6"
+%endif
+
 %configure \
--disable-silent-rules \
--disable-static \
@@ -222,7 +266,7 @@
 find %{buildroot} -type f -name "*.la" -delete -print
 chmod -x %{buildroot}%{_libdir}/cmake/Gpgmepp/*.cmake
 
-%if %{with qt}
+%if %{with qt} || %{with qt6}
 rm -r %{buildroot}%{_bindir}
 rm -r %{buildroot}%{_datadir}/aclocal/gpgme*
 rm -r %{buildroot}%{_includedir}/gpgme*
@@ -238,18 +282,19 @@
 %endif
 
 %if %{with qt}
-%post -n libqgpgme15 -p /sbin/ldconfig
-%postun -n libqgpgme15 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libqgpgme15
+%endif
+
+%if %{with qt6}
+%ldconfig_scriptlets -n libqgpgmeqt6-15
 %endif
 
-%if !%{with qt}
-%post -n libgpgme11 -p /sbin/ldconfig
-%postun -n libgpgme11 -p /sbin/ldconfig
-%post -n 

commit gpgme for openSUSE:Factory

2023-03-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-03-24 15:15:53

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.31432 (New)


Package is "gpgme"

Fri Mar 24 15:15:53 2023 rev:94 rq:1073534 version:1.19.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-03-19 
16:16:35.059323819 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.31432/gpgme.changes   2023-03-24 
15:15:56.361471389 +0100
@@ -1,0 +2,32 @@
+Mon Mar 20 15:46:55 UTC 2023 - Pedro Monreal 
+
+- Update to 1.19.0:
+  * New context flag "no-auto-check-trustdb". [T6261]
+  * Optionally, build QGpgME for Qt 6
+  * Support component "gpgtar-name" in gpgme_get_dirinfo. [T6342]
+  * Extended gpgme_op_encrypt*, gpgme_op_encrypt_sign*, and
+gpgme_op_sign* to allow creating an encrypted and/or signed
+archive. [T6342]
+  * Extended gpgme_op_decrypt*, gpgme_op_decrypt_verify*,
+and gpgme_op_verify* to allow extracting an encrypted and/or
+signed archive. [T6342]
+  * cpp: Handle error when trying to sign expired keys. [T6155]
+  * cpp: Support encryption flags ThrowKeyIds, EncryptWrap, and
+WantAddress. [T6359]
+  * cpp, qt: Fix building with C++11.  [T6141]
+  * qt: Fix problem with expiration dates after 2038-01-19 on 32-bit
+systems  when adding an existing subkey to another key. [T6137]
+  * cpp: Allow setting the curve to use when generating ECC keys
+for smart cards. [T4429]
+  * qt: Extend ListAllKeysJob to allow disabling the automatic
+trust database check when listing all keys. [T6261]
+  * qt: Allow deferred start of import jobs. [T6323]
+  * qt: Support creating and extracting signed and encrypted
+archives. [T6342]
+  * Rebase gpgme-suse-nobetasuffix.patch
+  * Remove patches upstream:
+- gpgme-D546-python310.patch
+- gpgme-1.18.0-T6137-qt_test.patch
+- python311.patch
+
+---

Old:

  gpgme-1.18.0-T6137-qt_test.patch
  gpgme-1.18.0.tar.bz2
  gpgme-1.18.0.tar.bz2.sig
  gpgme-D546-python310.patch
  python311.patch

New:

  gpgme-1.19.0.tar.bz2
  gpgme-1.19.0.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.DhkI87/_old  2023-03-24 15:15:56.969474635 +0100
+++ /var/tmp/diff_new_pack.DhkI87/_new  2023-03-24 15:15:56.973474656 +0100
@@ -27,7 +27,7 @@
 %bcond_without qt
 %endif
 Name:   gpgme%{psuffix}
-Version:1.18.0
+Version:1.19.0
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:GPL-3.0-or-later AND LGPL-2.1-or-later
@@ -41,15 +41,9 @@
 # used to have a fixed timestamp
 Source99:   gpgme.changes
 # PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D545
-Patch3: gpgme-D545-python310.patch
-# PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D546
-Patch4: gpgme-D546-python310.patch
-# PATCH-FIX-UPSTREAM fix qt tests -- https://dev.gnupg.org/T6137
-Patch5: gpgme-1.18.0-T6137-qt_test.patch
+Patch1: gpgme-D545-python310.patch
 # PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch c...@bnavigator.de -- 
remove "-unknown" betasuffix boo#1205197
-Patch6: gpgme-suse-nobetasuffix.patch
-# Enable python 3.11 as well
-Patch7: python311.patch
+Patch2: gpgme-suse-nobetasuffix.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -240,7 +234,7 @@
 
 %check
 %if ! 0%{?qemu_user_space_build}
-%make_build check
+GPGME_DEBUG=2:mygpgme.log %make_build check skip=%{?qt_skip:%{qt_skip}} || cat 
$(find -name mygpgme.log -type f)
 %endif
 
 %if %{with qt}

++ gpgme-1.18.0.tar.bz2 -> gpgme-1.19.0.tar.bz2 ++
 28376 lines of diff (skipped)

++ gpgme-suse-nobetasuffix.patch ++
--- /var/tmp/diff_new_pack.DhkI87/_old  2023-03-24 15:15:58.241481425 +0100
+++ /var/tmp/diff_new_pack.DhkI87/_new  2023-03-24 15:15:58.245481446 +0100
@@ -1,8 +1,8 @@
-Index: gpgme-1.18.0/autogen.sh
+Index: gpgme-1.19.0/autogen.sh
 ===
 gpgme-1.18.0.orig/autogen.sh
-+++ gpgme-1.18.0/autogen.sh
-@@ -265,8 +265,7 @@ if [ "$myhost" = "find-version" ]; then
+--- gpgme-1.19.0.orig/autogen.sh
 gpgme-1.19.0/autogen.sh
+@@ -268,8 +268,7 @@ if [ "$myhost" = "find-version" ]; then
rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
  else
ingit=no


commit gpgme for openSUSE:Factory

2023-03-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-03-19 16:16:13

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.31432 (New)


Package is "gpgme"

Sun Mar 19 16:16:13 2023 rev:93 rq:1072624 version:1.18.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2023-01-24 
20:22:36.741184928 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.31432/gpgme.changes   2023-03-19 
16:16:35.059323819 +0100
@@ -1,0 +2,6 @@
+Fri Mar 10 12:18:29 UTC 2023 - Dirk Müller 
+
+- drop python2 subpackage handling. we do not support python 2.x
+  anymore, and if we would it would happen via singlespec 
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.AidNld/_old  2023-03-19 16:16:35.711326989 +0100
+++ /var/tmp/diff_new_pack.AidNld/_new  2023-03-19 16:16:35.715327009 +0100
@@ -19,12 +19,10 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == ""
 %define psuffix %{nil}
-%bcond_without python2
 %bcond_without python3
 %bcond_with qt
 %else
 %define psuffix qt
-%bcond_with python2
 %bcond_with python3
 %bcond_without qt
 %endif
@@ -60,7 +58,7 @@
 BuildRequires:  libgpg-error-devel >= 1.36
 BuildRequires:  pkgconfig
 BuildRequires:  swig
-%if %{with python2} || %{with python3}
+%if %{with python3}
 BuildRequires:  %{python_module devel}
 BuildRequires:  python-rpm-macros
 %endif
@@ -160,20 +158,6 @@
 
 %else
 
-%package -n python2-gpg
-Summary:Python 2 bindings for GPGME, a library for accessing GnuPG
-Group:  Development/Languages/Python
-Provides:   python-gpg = %{version}-%{release}
-Obsoletes:  python-gpg < %{version}-%{release}
-
-%description -n python2-gpg
-GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
-easier for applications. It provides a high-level crypto API for
-encryption, decryption, signing, signature verification, and key
-management.
-
-This package contains the bindings to use the library from Python 2 
applications.
-
 %package -n python3-gpg
 Summary:Python 3 bindings for GPGME, a library for accessing GnuPG
 Group:  Development/Languages/Python
@@ -223,7 +207,7 @@
 build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+ -r %{SOURCE99})
 languages="cl cpp"
 
-%if %{with python2} || %{with python3}
+%if %{with python3}
 languages="${languages} python"
 %endif
 
@@ -307,14 +291,7 @@
 %{_libdir}/cmake/Gpgmepp/GpgmeppConfig*.cmake
 %endif
 
-%if %{with python2} && ! 0%{?python_subpackage_only}
-%files -n python2-gpg
-%license COPYING COPYING.LESSER LICENSES
-%{python2_sitearch}/gpg
-%{python2_sitearch}/gpg-%{version}-py%{python2_version}.egg-info
-%endif
-
-%if %{with python3} || ( 0%{?python_subpackage_only} && %{with python2} )
+%if %{with python3}
 %files %{python_files gpg}
 %license COPYING COPYING.LESSER LICENSES
 %{python_sitearch}/gpg


commit gpgme for openSUSE:Factory

2023-01-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2023-01-24 19:42:27

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.32243 (New)


Package is "gpgme"

Tue Jan 24 19:42:27 2023 rev:92 rq:1060479 version:1.18.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2022-11-10 
14:19:17.645341600 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.32243/gpgme.changes   2023-01-24 
20:22:36.741184928 +0100
@@ -1,0 +2,10 @@
+Mon Jan 23 11:49:07 UTC 2023 - Pedro Monreal 
+
+- Update upstream keyring: https://gnupg.org/signature_key.asc
+
+---
+Sat Jan 21 14:57:30 UTC 2023 - Dirk Müller 
+
+- add python311.patch to build language bindings for python 3.11 
+
+---

New:

  python311.patch



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.pKo8Gh/_old  2023-01-24 20:22:37.421188905 +0100
+++ /var/tmp/diff_new_pack.pKo8Gh/_new  2023-01-24 20:22:37.425188928 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,6 @@
 %bcond_with python3
 %bcond_without qt
 %endif
-%{!?python_module:%define python_module() python-%{**} python3-{**}}
 Name:   gpgme%{psuffix}
 Version:1.18.0
 Release:0
@@ -36,11 +35,11 @@
 License:GPL-3.0-or-later AND LGPL-2.1-or-later
 Group:  Productivity/Security
 URL:https://www.gnupg.org/related_software/gpgme/
-Source: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2
-Source1:ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig
+Source: https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2
+Source1:
https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig
 Source2:baselibs.conf
 # https://www.gnupg.org/signature_key.html
-Source3:gpgme.keyring
+Source3:https://gnupg.org/signature_key.asc#/gpgme.keyring
 # used to have a fixed timestamp
 Source99:   gpgme.changes
 # PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D545
@@ -51,6 +50,8 @@
 Patch5: gpgme-1.18.0-T6137-qt_test.patch
 # PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch c...@bnavigator.de -- 
remove "-unknown" betasuffix boo#1205197
 Patch6: gpgme-suse-nobetasuffix.patch
+# Enable python 3.11 as well
+Patch7: python311.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -215,11 +216,7 @@
 This package contains the bindings to use the library in Qt C++ applications.
 
 %prep
-%setup -q -n gpgme-%{version}
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
+%autosetup -p1 -n gpgme-%{version}
 
 %build
 ./autogen.sh

++ gpgme-1.18.0.tar.bz2.sig ++
Binary files /var/tmp/diff_new_pack.pKo8Gh/_old and 
/var/tmp/diff_new_pack.pKo8Gh/_new differ

++ gpgme.keyring ++
--- /var/tmp/diff_new_pack.pKo8Gh/_old  2023-01-24 20:22:37.501189373 +0100
+++ /var/tmp/diff_new_pack.pKo8Gh/_new  2023-01-24 20:22:37.505189396 +0100
@@ -1,67 +1,87 @@
 -BEGIN PGP PUBLIC KEY BLOCK-
 
-mQENBE0ti4EBCACqGtKlX9jI/enhlBdy2cyQP6Q7JoyxtaG6/ckAKWHYrqFTQk3I
-Ue8TuDrGT742XFncG9PoMBfJDUNltIPgKFn8E9tYQqAOlpSA25bOb30cA2ADkrjg
-jvDAH8cZ+fkIayWtObTxwqLfPivjFxEM//IdShFFVQj+QHmXYBJggWyEIil8Bje7
-KRw6B5ucs4qSzp5VH4CqDr9PDnLD8lBGHk0x8jpwh4V/yEODJKATY0Vj00793L8u
-qA35ZiyczUvvJSLYvf7STO943GswkxdAfqxXbYifiK2gjE/7SAmB+2jFxsonUDOB
-1BAY5s3FKqrkaxZr3BBjeuGGoCuiSX/cXRIhABEBAAG0Fldlcm5lciBLb2NoIChk
-aXN0IHNpZymJAVUEEwEIAD8CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAFiEE
-2GkhI8QGXepeDzq1JJs50k8l47YFAl4MxBkFCRShVzYACgkQJJs50k8l47YImQf9
-HaqHWor+aSmaEwQnaAN0zRa4kPbAWya182aJtsFzLZJf6BbS0aoiMhwtREN/DMvB
-jzxARKep/cELaM+mc7oDK4mEwqSX/u6BE8D7FaNA9sut8P+4xjpoLPU+UzILMg29
-t1remjyT9rs6sbu8BqufIxueArkjoi4WCOSRiVTdw+YDd88volPkXlPfS8hg9Rct
-wZ8kEEDywa+NrxiLx+kDgDNTNdk3PJdfcnesf8S1a+KLUTNRds5+xGTYz0JSQ9BZ
-7Q9r4VQ/NL55muQZi5W7lVxdp3HxQFUNjHzzBfGtkpS4xqZpJvNjW50Wh5Vi5RYZ
-LZ3M1EuIHXHmRiY4dmqqcpkBDQRUUDsjAQgA5hBwN9F3OqKf+9mXCXUDK4lb5wMj
-dti96xG04gAn7wWo7On6c5ntriZQuRdR5GHcdw73XC6CFehHeo/eSVYiWqBNBAfE
-9UzbkES+cY+4wDzqVacqhKxd70XmHQgyK7ppRG/MwkL1UyArCGGAKN6MV/2fzO6I
-GQw3jntRue3/2PGGnGaisNAKlvttHWZ91uy4KY5fBM19uQCgZdx4v8/rP0+yQqsW
-TwJUKvymx5GIfNaCJvgF+v+aPrwspxBMf9jpHXqDXnh4Lo8C/GsQMD6GClVfQjsv
-vzUHKH2eoL4oNfku+Ua5BuAHYi+uAuzqV9TdpF9PCpQMyPfuuZclMPLdMwARAQAB

commit gpgme for openSUSE:Factory

2022-11-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2022-11-10 14:19:14

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.1597 (New)


Package is "gpgme"

Thu Nov 10 14:19:14 2022 rev:91 rq:1034799 version:1.18.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2022-10-28 
19:29:43.402689415 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.1597/gpgme.changes2022-11-10 
14:19:17.645341600 +0100
@@ -1,0 +2,7 @@
+Tue Nov  8 18:35:11 UTC 2022 - Ben Greiner 
+
+- Add gpgme-suse-nobetasuffix.patch
+  * remove "-unknown" suffix from version string
+  * boo#1205197
+
+---

New:

  gpgme-suse-nobetasuffix.patch



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.mQb70g/_old  2022-11-10 14:19:18.241344885 +0100
+++ /var/tmp/diff_new_pack.mQb70g/_new  2022-11-10 14:19:18.249344928 +0100
@@ -49,6 +49,8 @@
 Patch4: gpgme-D546-python310.patch
 # PATCH-FIX-UPSTREAM fix qt tests -- https://dev.gnupg.org/T6137
 Patch5: gpgme-1.18.0-T6137-qt_test.patch
+# PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch c...@bnavigator.de -- 
remove "-unknown" betasuffix boo#1205197
+Patch6: gpgme-suse-nobetasuffix.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -71,6 +73,7 @@
 %python_subpackages
 %else
 %define python_sitearch %python3_sitearch
+%define python_version %python3_version
 %define python_files() -n python3-%{**}
 %endif
 
@@ -216,6 +219,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 ./autogen.sh
@@ -309,13 +313,15 @@
 %if %{with python2} && ! 0%{?python_subpackage_only}
 %files -n python2-gpg
 %license COPYING COPYING.LESSER LICENSES
-%{python_sitearch}/gpg*
+%{python2_sitearch}/gpg
+%{python2_sitearch}/gpg-%{version}-py%{python2_version}.egg-info
 %endif
 
 %if %{with python3} || ( 0%{?python_subpackage_only} && %{with python2} )
 %files %{python_files gpg}
 %license COPYING COPYING.LESSER LICENSES
-%{python_sitearch}/gpg*
+%{python_sitearch}/gpg
+%{python_sitearch}/gpg-%{version}-py%{python_version}.egg-info
 %endif
 
 %if %{with qt}


++ gpgme-suse-nobetasuffix.patch ++
Index: gpgme-1.18.0/autogen.sh
===
--- gpgme-1.18.0.orig/autogen.sh
+++ gpgme-1.18.0/autogen.sh
@@ -265,8 +265,7 @@ if [ "$myhost" = "find-version" ]; then
   rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
 else
   ingit=no
-  beta=yes
-  tmp="-unknown"
+  tmp=""
   rev="000"
   rvd="0"
 fi


commit gpgme for openSUSE:Factory

2022-10-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2022-10-28 19:29:25

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.2275 (New)


Package is "gpgme"

Fri Oct 28 19:29:25 2022 rev:90 rq:998039 version:1.18.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2021-12-28 
12:26:16.68363 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.2275/gpgme.changes2022-10-28 
19:29:43.402689415 +0200
@@ -1,0 +2,44 @@
+Thu Aug 18 20:30:13 UTC 2022 - Andreas Stieger 
+
+- gpgme 1.18.0
+  * New keylist mode to force refresh via external methods
+  * The keylist operations now create an import result to report the
+result of the locate keylist modes
+  * core: Return BAD_PASSPHRASE error code on symmetric decryption
+failure
+  * cpp, qt: Do not export internal symbols anymore
+  * cpp, qt: Support revocation of own OpenPGP keys
+  * qt: The file name of (signed and) encrypted data can now be set
+  * cpp, qt: Support setting the primary user ID
+  * python: Fix segv(NULL) when inspecting contect after exeception
+- includes changes from version 1.17.1:
+  * qt: Fix a bug in the ABI compatibility of 1.17.0
+- includes changes from 1.17.0:
+  * New context flag "key-origin"
+  * New context flag "import-filter"
+  * New export mode to export secret subkeys
+  * Detect errors during the export of secret keys
+  * New function gpgme_op_receive_keys to import keys from a keyserver
+without first running a key listing
+  * Detect bad passphrase error in certificate import
+  * Allow setting --key-origin when importing keys
+  * Support components "keyboxd", "gpg-agent", "scdaemon", "dirmngr",
+"pinentry", and "socketdir" in gpgme_get_dirinfo
+  * Under Unix use poll(2) instead of select(2), when available.
+  * Fix results returned by gpgme_data_* functions
+  * Support closefrom also for glibc
+(drop upstream gpgme-use-glibc-closefrom.patch
+  * cpp,qt: Add support for export of secret keys and secret subkeys.
+  * cpp,qt: Support for adding existing subkeys to other keys
+  * qt: Extend ChangeExpiryJob to change expiration of primary key
+and of subkeys at the same time
+  * qt: Support WKD lookup without implicit import
+  * qt: Allow specifying an import filter when importing keys
+  * qt: Allow retrieving the default value of a config entry
+- drop patches included upstream
+  * gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch
+  * gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
+- add patches to fix tests:
+  * gpgme-1.18.0-T6137-qt_test.patch
+
+---

Old:

  gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch
  gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
  gpgme-1.16.0.tar.bz2
  gpgme-1.16.0.tar.bz2.sig
  gpgme-use-glibc-closefrom.patch

New:

  gpgme-1.18.0-T6137-qt_test.patch
  gpgme-1.18.0.tar.bz2
  gpgme-1.18.0.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.4D6aHV/_old  2022-10-28 19:29:43.954692183 +0200
+++ /var/tmp/diff_new_pack.4D6aHV/_new  2022-10-28 19:29:43.958692203 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
 %endif
 %{!?python_module:%define python_module() python-%{**} python3-{**}}
 Name:   gpgme%{psuffix}
-Version:1.16.0
+Version:1.18.0
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:GPL-3.0-or-later AND LGPL-2.1-or-later
@@ -43,14 +43,12 @@
 Source3:gpgme.keyring
 # used to have a fixed timestamp
 Source99:   gpgme.changes
-Patch0: gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch
-Patch1: gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
-# PATCH-FIX-UPSTREAM bsc#1189089 Use glibc's closefrom
-Patch2: gpgme-use-glibc-closefrom.patch
 # PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D545
 Patch3: gpgme-D545-python310.patch
 # PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D546
 Patch4: gpgme-D546-python310.patch
+# PATCH-FIX-UPSTREAM fix qt tests -- https://dev.gnupg.org/T6137
+Patch5: gpgme-1.18.0-T6137-qt_test.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -185,12 +183,12 @@
 This package contains the bindings to use the library from Python 3 
applications.
 %endif
 
-%package -n libqgpgme7

commit gpgme for openSUSE:Factory

2021-12-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2021-12-28 12:26:05

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.2520 (New)


Package is "gpgme"

Tue Dec 28 12:26:05 2021 rev:89 rq:942713 version:1.16.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2021-08-06 
22:44:50.826063546 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.2520/gpgme.changes2021-12-28 
12:26:16.68363 +0100
@@ -1,0 +2,8 @@
+Fri Dec 24 13:05:32 UTC 2021 - Ben Greiner 
+
+- Add patches to support building bindings packages for
+  Python 3.10
+  * gpgme-D545-python310.patch -- https://dev.gnupg.org/D545
+  * gpgme-D546-python310.patch -- https://dev.gnupg.org/D546
+
+---

New:

  gpgme-D545-python310.patch
  gpgme-D546-python310.patch



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.IgP9sz/_old  2021-12-28 12:26:17.028468805 +0100
+++ /var/tmp/diff_new_pack.IgP9sz/_new  2021-12-28 12:26:17.032468808 +0100
@@ -47,6 +47,12 @@
 Patch1: gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
 # PATCH-FIX-UPSTREAM bsc#1189089 Use glibc's closefrom
 Patch2: gpgme-use-glibc-closefrom.patch
+# PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D545
+Patch3: gpgme-D545-python310.patch
+# PATCH-FIX-UPSTREAM support python 3.10  -- https://dev.gnupg.org/D546
+Patch4: gpgme-D546-python310.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  gpg2 >= 2.0.10
 BuildRequires:  libassuan-devel >= 2.4.2
@@ -212,6 +218,9 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
+./autogen.sh
 
 %build
 build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+ -r %{SOURCE99})


++ gpgme-D545-python310.patch ++
>From 4b1395de56816eb982f5811ae8736b6aeb2fc46e Mon Sep 17 00:00:00 2001
From: Ben Greiner 
Date: Sat, 18 Dec 2021 14:10:54 +0100
Subject: [PATCH gpgme 1/2] build: Support Python 3.10 version detection
 without distutils

* m4/ax_python_devel.m4: update to serial 23, remove distutils usage

--
This version removes the usage of Python distutils where possible.
Python 3.10 deprecated distutils and prints warnings that it will
be removed in Python 3.12

Keep GPGME overrides for finding multiple versions
---
 m4/ax_python_devel.m4 | 123 --
 1 file changed, 84 insertions(+), 39 deletions(-)

diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
index 55f0cfff..f4d20b33 100644
--- a/m4/ax_python_devel.m4
+++ b/m4/ax_python_devel.m4
@@ -1,5 +1,5 @@
 # ===
-#  https://www.gnu.org/software/autoconf-archive/ax_python_devel.html
+# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html
 # ===
 #
 # SYNOPSIS
@@ -12,8 +12,8 @@
 #   in your configure.ac.
 #
 #   This macro checks for Python and tries to get the include path to
-#   'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LDFLAGS)
-#   output variables. It also exports $(PYTHON_EXTRA_LIBS) and
+#   'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS) output
+#   variables. It also exports $(PYTHON_EXTRA_LIBS) and
 #   $(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code.
 #
 #   You can search for some particular version of Python by passing a
@@ -67,7 +67,7 @@
 #   modified version of the Autoconf Macro, you may extend this special
 #   exception to the GPL to apply to your modified version as well.
 
-#serial 17
+#serial 23
 
 AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL])
 AC_DEFUN([AX_PYTHON_DEVEL],[
@@ -99,7 +99,7 @@ AC_DEFUN([AX_PYTHON_DEVEL],[
 This version of the AC@@_PYTHON_DEVEL macro
 doesn't work properly with versions of Python before
 2.1.0. You may need to re-run configure, setting the
-variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG,
+variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG,
 PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
 Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
 to something else than an empty string.
@@ -135,16 +135,25 @@ variable to configure. See ``configure --help'' for 
reference.
#
# Check if you have distutils, else fail
#
-   AC_MSG_CHECKING([for the distutils Python package])
-   ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
-   if test -z "$ac_distutils_result"; then
+   AC_MSG_CHECKING([for the sysconfig Python package])
+   

commit gpgme for openSUSE:Factory

2021-08-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2021-08-06 22:44:28

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.1899 (New)


Package is "gpgme"

Fri Aug  6 22:44:28 2021 rev:88 rq:910323 version:1.16.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2021-07-16 
22:13:08.294662275 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.1899/gpgme.changes2021-08-06 
22:44:50.826063546 +0200
@@ -1,0 +2,7 @@
+Thu Aug  5 10:29:27 UTC 2021 - Pedro Monreal 
+
+- Fix build with glibc 2.34: [bsc#1189089]
+  * Use glibc's closefrom.
+  * Add gpgme-use-glibc-closefrom.patch
+
+---

New:

  gpgme-use-glibc-closefrom.patch



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.ZEL4Os/_old  2021-08-06 22:44:52.002061460 +0200
+++ /var/tmp/diff_new_pack.ZEL4Os/_new  2021-08-06 22:44:52.006061453 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package gpgme
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -45,6 +45,8 @@
 Source99:   gpgme.changes
 Patch0: gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch
 Patch1: gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
+# PATCH-FIX-UPSTREAM bsc#1189089 Use glibc's closefrom
+Patch2: gpgme-use-glibc-closefrom.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gpg2 >= 2.0.10
 BuildRequires:  libassuan-devel >= 2.4.2
@@ -209,6 +211,7 @@
 %setup -q -n gpgme-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+ -r %{SOURCE99})


++ gpgme-use-glibc-closefrom.patch ++
>From 4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e Mon Sep 17 00:00:00 2001
From: Jiri Kucera 
Date: Sun, 25 Jul 2021 11:35:54 +0200
Subject: [PATCH] core: Support closefrom also for glibc.

* src/posix-io.c (_gpgme_io_spawn): Use glibc's closefrom.
--

Since 2.34, glibc introduces closefrom (the implementation
follows *BSD standard).

Signed-off-by: Werner Koch 
---
 src/posix-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/posix-io.c b/src/posix-io.c
index e712ef28..2a3a81fc 100644
--- a/src/posix-io.c
+++ b/src/posix-io.c
@@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], 
unsigned int flags,
   if (fd_list[i].fd > fd)
 fd = fd_list[i].fd;
 fd++;
-#if defined(__sun) || defined(__FreeBSD__)
+#if defined(__sun) || defined(__FreeBSD__) || defined(__GLIBC__)
 closefrom (fd);
 max_fds = fd;
 #else /*!__sun */
-- 
2.11.0


commit gpgme for openSUSE:Factory

2021-07-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2021-07-16 22:12:38

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.2632 (New)


Package is "gpgme"

Fri Jul 16 22:12:38 2021 rev:87 rq:905868 version:1.16.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2021-04-06 
17:28:54.095064053 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.2632/gpgme.changes2021-07-16 
22:13:08.294662275 +0200
@@ -1,0 +2,17 @@
+Wed Jul  7 18:19:43 UTC 2021 - Andreas Stieger 
+
+- gpgme 1.16.0:
+  * New context flag "cert-expire"
+  * New data flags "io-buffer-size" and "sensitive"
+  * cpp,qt: Add support for trust signatures
+  * qt: Add support for flags in LDAP server options
+  * qt: Fix too high memory consumption due to QProcess
+  * qt: Do not set empty base DN as query of keyserver URL
+  * qt: Extend SignKeyJob to create signatures with expiration date
+  * python: New optional parameter filter_signatures for decrypt
+- run all tests again
+- add patches to fix tests:
+  * gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch
+  * gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
+
+---

Old:

  gpgme-1.15.1.tar.bz2
  gpgme-1.15.1.tar.bz2.sig

New:

  gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch
  gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
  gpgme-1.16.0.tar.bz2
  gpgme-1.16.0.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.KstTC5/_old  2021-07-16 22:13:08.902657979 +0200
+++ /var/tmp/diff_new_pack.KstTC5/_new  2021-07-16 22:13:08.902657979 +0200
@@ -30,10 +30,10 @@
 %endif
 %{!?python_module:%define python_module() python-%{**} python3-{**}}
 Name:   gpgme%{psuffix}
-Version:1.15.1
+Version:1.16.0
 Release:0
 Summary:Programmatic library interface to GnuPG
-License:LGPL-2.1-or-later AND GPL-3.0-or-later
+License:GPL-3.0-or-later AND LGPL-2.1-or-later
 Group:  Productivity/Security
 URL:https://www.gnupg.org/related_software/gpgme/
 Source: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2
@@ -43,6 +43,8 @@
 Source3:gpgme.keyring
 # used to have a fixed timestamp
 Source99:   gpgme.changes
+Patch0: gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch
+Patch1: gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gpg2 >= 2.0.10
 BuildRequires:  libassuan-devel >= 2.4.2
@@ -147,6 +149,7 @@
 This package contains the bindings to use the library from Python 
%{python_version} applications.
 
 %else
+
 %package -n python2-gpg
 Summary:Python 2 bindings for GPGME, a library for accessing GnuPG
 Group:  Development/Languages/Python
@@ -204,10 +207,8 @@
 
 %prep
 %setup -q -n gpgme-%{version}
-
-%ifarch %{ix86}
-sed -i -e '/t-callbacks.py/d' lang/python/tests/Makefile.{am,in}
-%endif
+%patch0 -p1
+%patch1 -p1
 
 %build
 build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+ -r %{SOURCE99})
@@ -263,7 +264,7 @@
 
 %if !%{with qt}
 %files
-%license COPYING COPYING.LESSER
+%license COPYING COPYING.LESSER LICENSES
 %doc AUTHORS ChangeLog ChangeLog-2011 README NEWS THANKS TODO VERSION
 %{_bindir}/gpgme-tool
 %{_bindir}/gpgme-json
@@ -272,9 +273,11 @@
 %{_infodir}/gpgme*
 
 %files -n libgpgme11
+%license COPYING COPYING.LESSER LICENSES
 %{_libdir}/libgpgme.so.*
 
 %files -n libgpgme-devel
+%license COPYING COPYING.LESSER LICENSES
 %{_libdir}/libgpgme.so
 %{_bindir}/gpgme-config
 %{_datadir}/aclocal/gpgme.m4
@@ -283,9 +286,11 @@
 %{_libdir}/pkgconfig/gpgme-glib.pc
 
 %files -n libgpgmepp6
+%license COPYING COPYING.LESSER LICENSES
 %{_libdir}/libgpgmepp.so.*
 
 %files -n libgpgmepp-devel
+%license COPYING COPYING.LESSER LICENSES
 %{_libdir}/libgpgmepp.so
 %{_includedir}/gpgme++
 %dir %{_libdir}/cmake
@@ -295,19 +300,23 @@
 
 %if %{with python2} && ! 0%{?python_subpackage_only}
 %files -n python2-gpg
+%license COPYING COPYING.LESSER LICENSES
 %{python_sitearch}/gpg*
 %endif
 
 %if %{with python3} || ( 0%{?python_subpackage_only} && %{with python2} )
 %files %{python_files gpg}
+%license COPYING COPYING.LESSER LICENSES
 %{python_sitearch}/gpg*
 %endif
 
 %if %{with qt}
 %files -n libqgpgme7
+%license COPYING COPYING.LESSER LICENSES
 %{_libdir}/libqgpgme.so.*
 
 %files -n libqgpgme-devel
+%license COPYING COPYING.LESSER LICENSES
 %{_includedir}/qgpgme/
 %{_includedir}/QGpgME/
 %dir %{_libdir}/cmake

++ gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch ++
>From 

commit gpgme for openSUSE:Factory

2021-04-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2021-04-06 17:28:48

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.2401 (New)


Package is "gpgme"

Tue Apr  6 17:28:48 2021 rev:86 rq:882039 version:1.15.1

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2021-01-18 
11:30:36.852391040 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.2401/gpgme.changes2021-04-06 
17:28:54.095064053 +0200
@@ -1,0 +2,8 @@
+Thu Mar 25 16:27:58 UTC 2021 - Ben Greiner 
+
+- Can't assume non-existence of python38 macros in Leap.
+  gh#openSUSE/python-rpm-macros#107
+  Test for suse_version instead. Only Tumbleweed has and needs the
+  python_subpackage_only support.
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.21FK3y/_old  2021-04-06 17:28:54.743064785 +0200
+++ /var/tmp/diff_new_pack.21FK3y/_new  2021-04-06 17:28:54.743064785 +0200
@@ -57,8 +57,8 @@
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Test)
 %endif
-%if 0%{?python38_version_nodots}
-# if python multiflavor is in place yet, use it to generate subpackages
+%if 0%{?suse_version} >= 1550
+# TW: generate subpackages for every python3 flavor
 %define python_subpackage_only 1
 %python_subpackages
 %else


commit gpgme for openSUSE:Factory

2021-01-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2021-01-18 11:27:22

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.28504 (New)


Package is "gpgme"

Mon Jan 18 11:27:22 2021 rev:85 rq:863068 version:1.15.1

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2020-12-09 
22:11:54.419096577 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.28504/gpgme.changes   2021-01-18 
11:30:36.852391040 +0100
@@ -1,0 +2,10 @@
+Tue Jan 12 22:35:23 UTC 2021 - Andreas Stieger 
+
+- gpgme 1.15.1:
+  * Fix a bug in the secret key export
+  * Make listing of signatures work if only secret keys are listed
+  * qt: Avoid empty "r...@gnupg.org" signature notations
+  * python: Fix key_export functions
+- remove deprecated texinfo macros
+
+---

Old:

  gpgme-1.15.0.tar.bz2
  gpgme-1.15.0.tar.bz2.sig

New:

  gpgme-1.15.1.tar.bz2
  gpgme-1.15.1.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.o1A2wN/_old  2021-01-18 11:30:37.904404224 +0100
+++ /var/tmp/diff_new_pack.o1A2wN/_new  2021-01-18 11:30:37.912404324 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gpgme
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
 %endif
 %{!?python_module:%define python_module() python-%{**} python3-{**}}
 Name:   gpgme%{psuffix}
-Version:1.15.0
+Version:1.15.1
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:LGPL-2.1-or-later AND GPL-3.0-or-later
@@ -50,11 +50,9 @@
 BuildRequires:  pkgconfig
 BuildRequires:  swig
 %if %{with python2} || %{with python3}
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
+BuildRequires:  python-rpm-macros
 %endif
-Requires(post): %{install_info_prereq}
-Requires(preun): %{install_info_prereq}
 %if %{with qt}
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Test)
@@ -68,7 +66,6 @@
 %define python_files() -n python3-%{**}
 %endif
 
-
 %description
 GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
 easier for applications. It provides a high-level crypto API for
@@ -262,11 +259,6 @@
 %postun -n libgpgme11 -p /sbin/ldconfig
 %post -n libgpgmepp6 -p /sbin/ldconfig
 %postun -n libgpgmepp6 -p /sbin/ldconfig
-%post
-%install_info --info-dir=%{_infodir} %{_infodir}/gpgme.info%{ext_info}
-
-%preun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/gpgme.info%{ext_info}
 %endif
 
 %if !%{with qt}

++ gpgme-1.15.0.tar.bz2 -> gpgme-1.15.1.tar.bz2 ++
 1807 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/gpgme-1.15.0/AUTHORS new/gpgme-1.15.1/AUTHORS
--- old/gpgme-1.15.0/AUTHORS2018-12-03 10:37:25.0 +0100
+++ new/gpgme-1.15.1/AUTHORS2021-01-08 18:07:52.0 +0100
@@ -19,7 +19,7 @@
 
   Copyright (C) 1991-2013 Free Software Foundation, Inc.
   Copyright (C) 2000-2001 Werner Koch
-  Copyright (C) 2001-2018 g10 Code GmbH
+  Copyright (C) 2001-2021 g10 Code GmbH
   Copyright (C) 2002 Klar??lvdalens Datakonsult AB
   Copyright (C) 2004-2008 Igor Belyi
   Copyright (C) 2002 John Goerzen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/gpgme-1.15.0/ChangeLog new/gpgme-1.15.1/ChangeLog
--- old/gpgme-1.15.0/ChangeLog  2020-11-12 10:30:05.0 +0100
+++ new/gpgme-1.15.1/ChangeLog  2021-01-08 18:21:40.0 +0100
@@ -1,5 +1,106 @@
+2021-01-08  Werner Koch  
+
+   Release 1.15.1.
+   + commit bb9880778fb16cdb6de83905e45bf6c965770013
+
+
+   Make distcheck make target a bit more reliable.
+   + commit 133050b3fa28122a4b60dbbde698fb14379ccf95
+   * Makefile.am (release): Do not pass --parallel
+
+2021-01-05  Ingo Kl??cker  
+
+   core: Make listing of signatures work if only secret keys are listed.
+   + commit 5137d7fc214d0d9dcb947ccdc32fa87979f9a6d0
+   * src/engine-gpg.c 

commit gpgme for openSUSE:Factory

2020-12-09 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2020-12-09 22:11:52

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.2328 (New)


Package is "gpgme"

Wed Dec  9 22:11:52 2020 rev:84 rq:853717 version:1.15.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2020-11-23 
10:29:39.597306670 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.2328/gpgme.changes2020-12-09 
22:11:54.419096577 +0100
@@ -1,0 +2,6 @@
+Sat Dec  5 19:09:59 UTC 2020 - Benjamin Greiner 
+
+- Use python-rpm-macros to provide python3X-gpg for all present 
+  python3 flavors -- gh#openSUSE/python-rpm-macros#66
+
+---



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.dItnM2/_old  2020-12-09 22:11:55.183097352 +0100
+++ /var/tmp/diff_new_pack.dItnM2/_new  2020-12-09 22:11:55.187097356 +0100
@@ -28,6 +28,7 @@
 %bcond_with python3
 %bcond_without qt
 %endif
+%{!?python_module:%define python_module() python-%{**} python3-{**}}
 Name:   gpgme%{psuffix}
 Version:1.15.0
 Release:0
@@ -48,18 +49,25 @@
 BuildRequires:  libgpg-error-devel >= 1.36
 BuildRequires:  pkgconfig
 BuildRequires:  swig
+%if %{with python2} || %{with python3}
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+%endif
 Requires(post): %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
-%if %{with python2}
-BuildRequires:  python2-devel >= 2.7
-%endif
-%if %{with python3}
-BuildRequires:  python3-devel >= 3.4
-%endif
 %if %{with qt}
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Test)
 %endif
+%if 0%{?python38_version_nodots}
+# if python multiflavor is in place yet, use it to generate subpackages
+%define python_subpackage_only 1
+%python_subpackages
+%else
+%define python_sitearch %python3_sitearch
+%define python_files() -n python3-%{**}
+%endif
+
 
 %description
 GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
@@ -128,6 +136,20 @@
 This subpackage contains the headers needed for building applications
 making use of libgpgmepp.
 
+%if 0%{?python_subpackage_only}
+%package -n python-gpg
+Summary:Python %{python_version} bindings for GPGME, a library for 
accessing GnuPG
+Group:  Development/Languages/Python
+
+%description -n python-gpg
+GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
+easier for applications. It provides a high-level crypto API for
+encryption, decryption, signing, signature verification, and key
+management.
+
+This package contains the bindings to use the library from Python 
%{python_version} applications.
+
+%else
 %package -n python2-gpg
 Summary:Python 2 bindings for GPGME, a library for accessing GnuPG
 Group:  Development/Languages/Python
@@ -153,6 +175,7 @@
 management.
 
 This package contains the bindings to use the library from Python 3 
applications.
+%endif
 
 %package -n libqgpgme7
 Summary:Programmatic Qt library interface to GnuPG
@@ -278,14 +301,14 @@
 %{_libdir}/cmake/Gpgmepp/GpgmeppConfig*.cmake
 %endif
 
-%if %{with python2}
+%if %{with python2} && ! 0%{?python_subpackage_only}
 %files -n python2-gpg
 %{python_sitearch}/gpg*
 %endif
 
-%if %{with python3}
-%files -n python3-gpg
-%{python3_sitearch}/gpg*
+%if %{with python3} || ( 0%{?python_subpackage_only} && %{with python2} )
+%files %{python_files gpg}
+%{python_sitearch}/gpg*
 %endif
 
 %if %{with qt}
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org


[opensuse-commit] commit gpgme for openSUSE:Factory

2020-11-23 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2020-11-21 12:40:09

Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and  /work/SRC/openSUSE:Factory/.gpgme.new.5913 (New)


Package is "gpgme"

Sat Nov 21 12:40:09 2020 rev:83 rq:849248 version:1.15.0

Changes:

--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes  2020-07-24 
09:52:36.905194027 +0200
+++ /work/SRC/openSUSE:Factory/.gpgme.new.5913/gpgme.changes2020-11-23 
10:29:39.597306670 +0100
@@ -1,0 +2,16 @@
+Tue Nov 17 21:44:17 UTC 2020 - Andreas Stieger 
+
+- gpgme 1.15.0:
+  * New function gpgme_op_setexpire to make changing the expiration
+easier
+  * New function gpgme_op_revsig to revoke key signatures 
+  * Support exporting secret keys
+  * cpp: Support for set expire operations in the C++ bindings
+  * cpp: Support for revoking key signatures in the C++ bindings
+  * qt: Extended ChangeExpiryJob to support changing the expiry of
+subkeys
+  * qt: Extended QuickJob to support revoking of key signatures
+  * qt: Added QDebug stream operator for GpgME::Error.
+  * Require libgpg-error 1.36
+
+---

Old:

  gpgme-1.14.0.tar.bz2
  gpgme-1.14.0.tar.bz2.sig

New:

  gpgme-1.15.0.tar.bz2
  gpgme-1.15.0.tar.bz2.sig



Other differences:
--
++ gpgme.spec ++
--- /var/tmp/diff_new_pack.TYIj80/_old  2020-11-23 10:29:40.189307318 +0100
+++ /var/tmp/diff_new_pack.TYIj80/_new  2020-11-23 10:29:40.189307318 +0100
@@ -29,7 +29,7 @@
 %bcond_without qt
 %endif
 Name:   gpgme%{psuffix}
-Version:1.14.0
+Version:1.15.0
 Release:0
 Summary:Programmatic library interface to GnuPG
 License:LGPL-2.1-or-later AND GPL-3.0-or-later
@@ -38,13 +38,14 @@
 Source: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2
 Source1:ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig
 Source2:baselibs.conf
+# https://www.gnupg.org/signature_key.html
 Source3:gpgme.keyring
 # used to have a fixed timestamp
 Source99:   gpgme.changes
 BuildRequires:  gcc-c++
 BuildRequires:  gpg2 >= 2.0.10
 BuildRequires:  libassuan-devel >= 2.4.2
-BuildRequires:  libgpg-error-devel >= 1.28
+BuildRequires:  libgpg-error-devel >= 1.36
 BuildRequires:  pkgconfig
 BuildRequires:  swig
 Requires(post): %{install_info_prereq}

++ gpgme-1.14.0.tar.bz2 -> gpgme-1.15.0.tar.bz2 ++
 4749 lines of diff (skipped)

++ gpgme.keyring ++
--- /var/tmp/diff_new_pack.TYIj80/_old  2020-11-23 10:29:41.401308647 +0100
+++ /var/tmp/diff_new_pack.TYIj80/_new  2020-11-23 10:29:41.401308647 +0100
@@ -1,9 +1,4 @@
-pub   2048R/4F25E3B6 2011-01-12 [expires: 2019-12-31]
-uid  Werner Koch (dist sig)
-sub   2048R/AC87C71A 2011-01-12 [expires: 2019-12-31]
-
 -BEGIN PGP PUBLIC KEY BLOCK-
-Version: GnuPG v2.0.19 (GNU/Linux)
 
 mQENBE0ti4EBCACqGtKlX9jI/enhlBdy2cyQP6Q7JoyxtaG6/ckAKWHYrqFTQk3I
 Ue8TuDrGT742XFncG9PoMBfJDUNltIPgKFn8E9tYQqAOlpSA25bOb30cA2ADkrjg
@@ -11,27 +6,60 @@
 KRw6B5ucs4qSzp5VH4CqDr9PDnLD8lBGHk0x8jpwh4V/yEODJKATY0Vj00793L8u
 qA35ZiyczUvvJSLYvf7STO943GswkxdAfqxXbYifiK2gjE/7SAmB+2jFxsonUDOB
 1BAY5s3FKqrkaxZr3BBjeuGGoCuiSX/cXRIhABEBAAG0Fldlcm5lciBLb2NoIChk
-aXN0IHNpZymJAT4EEwECACgFAk0ti4ECGwMFCRDdnwIGCwkIBwMCBhUIAgkKCwQW
-AgMBAh4BAheAAAoJECSbOdJPJeO2PlMIAJxPtFXf5yozPpFjRbSkSdjsk9eru05s
-hKZOAKw3RUePTU80SRLPdg4AH+vkm1JMWFFpwvHlgfxqnE9rp13o7L/4UwNUwqH8
-5zCwu7SHz9cX3d4UUwzcP6qQP4BQEH9/xlpQS9eTK9b2RMyggqwd/J8mxjvoWzL8
-Klf/wl6jXHn/yP92xG9/YA86lNOL1N3/PhlZzLuJ6bdD9WzsEp/+kh3UDfjkIrOc
-WkqwupB+d01R4bHPu9tvXy8Xut8Sok2zku2xVkEOsV2TXHbwuHO2AGC5pWDX6wgC
-E4F5XeCB/0ovao2/bk22w1TxzP6PMxo6sLkmaF6D0frhM2bl4C/uSsq5AQ0ETS2L
-gQEIAKHwucgbaRj0V7Ht0FnM6RmbqwZ7IFV2lR+YN1gkZaWRRCaJoPEZFKhhPEBX
-1bDVwr/iTPaPPEtpi7oQoHk65yeLrhtOmXXpNVkV/5WQjAJIrWn+JQ3z/ZejxHUL
-hzKsGg5FC6pRYcEyzRXHtv4BO9kBIKNVirZjEkQG4BnIrQgl6e2YFa47GNMqcQH7
-nJdwG1cGQOZOIDQQM41gBzwoSrStMA6DjHkukFegKfcSbSLArBtYNAwTwmW7RqOM
-EJwlo0+NYx2Yn75x66bYwdlsP0FLOgez/O/IxoPRxXr0l4e+uj6dFHqvBi04dx6J
-sPmXEyeAyLiCWSh7Rwq8uIhBUBUAEQEAAYicBBABAgAGBQJNLY0EAAoJEFO2INAc
-4MYwRk8EAIuasyOnCbJW8jpfk3g2VZy1dBZj7g4PHaI70K1Qz8X3piI8WWaDCwlT
-PJcvAAtiT6yGHzdONAt+N7GiHNLU7TsMJlTLsuxv1HsdtgnVh/9BwTKRuIBbjrkJ
-lvUEA4xHYdQ4MFNoAFqJ1+eGZTMm1rLPtjQopEcDH5VVLqR+ewWriQElBBgBAgAP
-BQJNLYuBAhsgBQkQ3Z8CAAoJECSbOdJPJeO2uxIIAJE2B8aQPQ6o6LBijX/4rJae
-tAu6xW9Jg7DyE3rqB5TcE7yJDQqjL6bRApjWRaNofB7CmDxl5tjgTawds0gL1KnK
-LLPb2wAnaKe9/j/gx6lOCnE2LDj5ebKQKQ3UB9WG8xNBczNFs7lnBG0+mOwyvWPm
-9fWzpTf9HFIAi2kCQK7UYZNM4fSvXY5yFz+6b5AYDI7pZSP8iJnUxfu2hdbRIKjw
-NKXzPlDsqYlYXpNAsrUuS7hshUbUe7CjX/RYdza8Jp3kHEeOCjLxOwotOa9hBla2
-eNa9AZXZQ4AFhZxpy61ldBDY88IhjsuWm5L/jkJdZtPlj6bFjfLt1vPhoX7y7II=
-=Di5x
--END