Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gpgme for openSUSE:Factory checked in at 2025-07-21 19:58:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gpgme (Old) and /work/SRC/openSUSE:Factory/.gpgme.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gpgme" Mon Jul 21 19:58:30 2025 rev:115 rq:1293440 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes 2025-06-01 21:36:44.461754183 +0200 +++ /work/SRC/openSUSE:Factory/.gpgme.new.8875/gpgme.changes 2025-07-21 19:58:33.118748502 +0200 @@ -1,0 +2,32 @@ +Fri Jun 13 19:44:15 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de> + +- Update to 2.0.0: + * The C++ bindings, the Qt bindings, and the Python bindings were + split off of gpgme + * New function gpgme_op_random_bytes to get cryptographically + strong random bytes from gpg + * New function gpgme_op_random_value to get a cryptographically + strong unsigned integer random value + * New decrypt flag to skip the actual decryption so that + information about the recipients can be retrieved. + * New flag for key generate to mark a (sub)key as group owned + * If the key passed to gpgme_signers_add was retrieved with an + exact pattern (fingerprint with '!' suffix), the requested + subkey is used for signing. This reflects the behaviour of gpg + but is a minor semantic change + * The timestamp and expires fields in gpgme_subkey_t, + gpgme_key_sig, and gpgme_new_signature_t are changed from signed + long to unsigned long to better cope with 32bit time_t + implementations. These fields should in reality never see an + error value (-1). + * Removed the gpgme_attr_t enums and their functions which were + deprecated since 2003D. [rMd54d6eaa64] + * Removed the never implemented or announced + GPGME_EXPORT_MODE_NOUID flags + * Removed the entire trustlist feature which worked anyway only + for a short period in 2003 +- drop requirements from devel that are autogenerated +- drop gpgme-suse-nobetasuffix.patch +- drop gpgme-fix-python-install.patch + +------------------------------------------------------------------- Old: ---- _multibuild gpgme-1.24.3.tar.bz2 gpgme-1.24.3.tar.bz2.sig gpgme-fix-python-install.patch gpgme-suse-nobetasuffix.patch New: ---- gpgme-2.0.0.tar.bz2 gpgme-2.0.0.tar.bz2.sig ----------(Old B)---------- Old:- drop gpgme-suse-nobetasuffix.patch - drop gpgme-fix-python-install.patch Old:- drop requirements from devel that are autogenerated - drop gpgme-suse-nobetasuffix.patch - drop gpgme-fix-python-install.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gpgme.spec ++++++ --- /var/tmp/diff_new_pack.Vk4Mzo/_old 2025-07-21 19:58:34.658811699 +0200 +++ /var/tmp/diff_new_pack.Vk4Mzo/_new 2025-07-21 19:58:34.658811699 +0200 @@ -17,36 +17,9 @@ # -%define psuffix %{nil} -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "" -%define psuffix %{nil} -%bcond_without python3 -%bcond_with qt -%endif -%if "%{flavor}" == "qt" -%define psuffix qt -%bcond_with python3 -%bcond_without qt -%if 0%{suse_version} == 1600 && ! 0%{?is_opensuse} -ExclusiveArch: donotbuild -%endif -%endif -%if "%{flavor}" == "qt6" -%define psuffix qt6 -%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.24.3 +%define sover 45 +Name: gpgme +Version: 2.0.0 Release: 0 Summary: Programmatic library interface to GnuPG License: GPL-3.0-or-later AND LGPL-2.1-or-later @@ -59,49 +32,10 @@ Source3: https://gnupg.org/signature_key.asc#/gpgme.keyring # used to have a fixed timestamp Source99: gpgme.changes -# PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch c...@bnavigator.de -- remove "-unknown" betasuffix boo#1205197 -Patch2: gpgme-suse-nobetasuffix.patch -Patch4: gpgme-fix-python-install.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc-c++ BuildRequires: gpg2 >= 2.4.1 -BuildRequires: libassuan-devel >= 2.4.2 -BuildRequires: libgpg-error-devel >= 1.47 BuildRequires: pkgconfig -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} -%endif -%endif -%if %{with qt} -BuildRequires: pkgconfig(Qt5Core) -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 -%if 0%{?suse_version} >= 1550 -# TW: generate subpackages for every python3 flavor -%define python_subpackage_only 1 -%python_subpackages -%else -%define python_sitearch %python3_sitearch -%define python_version %python3_version -%define python_files() -n python3-%{**} -%endif +BuildRequires: pkgconfig(gpg-error) >= 1.47 +BuildRequires: pkgconfig(libassuan) >= 2.4.2 %description GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG @@ -109,28 +43,25 @@ encryption, decryption, signing, signature verification, and key management. It uses GnuPG as its back-end. -%package -n libgpgme11 +%package -n libgpgme%{sover} Summary: Programmatic library interface to GnuPG Group: System/Libraries Requires: gpg2 -%description -n libgpgme11 +%description -n libgpgme%{sover} 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. It uses GnuPG as its back-end. -%package -n libgpgme-devel +%package devel Summary: Development files for GPGME, a C library for accessing GnuPG Group: Development/Libraries/C and C++ -Requires: glibc-devel -Requires: libgpg-error-devel -Requires: libgpgme11 = %{version} -%requires_ge libassuan-devel -Provides: gpgme-devel = %{version} -Obsoletes: gpgme-devel < %{version} +Requires: libgpgme%{sover} = %{version} +Provides: libgpgme-devel = %{version} +Obsoletes: libgpgme-devel < %{version} -%description -n libgpgme-devel +%description 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 @@ -139,220 +70,44 @@ This subpackage contains the headers needed for building applications making use of libgpgme. -%package -n libgpgmepp6 -Summary: Programmatic C++ library interface to GnuPG -Group: System/Libraries -Requires: gpg2 - -%description -n libgpgmepp6 -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 C++ bindings. - -%package -n libgpgmepp-devel -Summary: Development files for libgpgmepp, a C++ library for accessing GnuPG -Group: Development/Libraries/C and C++ -Requires: glibc-devel -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_ge libassuan-devel - -%description -n libgpgmepp-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 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 python3-gpg -Summary: Python 3 bindings for GPGME, a library for accessing GnuPG -Group: Development/Languages/Python - -%description -n python3-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 3 applications. -%endif - -%package -n libqgpgme15 -Summary: Programmatic Qt 5 library interface to GnuPG -Group: System/Libraries -Requires: gpg2 - -%description -n libqgpgme15 -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 5 bindings. - -%package -n libqgpgme-devel -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} -Requires: libqgpgme15 = %{version} - -%description -n libqgpgme-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 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 -N -n gpgme-%{version} -%if %{with replace_distutils} -%patch -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 -m4 -%endif +%autosetup -p1 %build -./autogen.sh build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE99}) -languages="cl cpp" - -%if %{with python3} -languages="${languages} python" -%endif - -%if %{with qt} -languages="cpp qt" -%endif - -%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 - -%define _configure ../configure -mkdir build -pushd build %configure \ - --disable-silent-rules \ --disable-static \ --disable-fd-passing \ --enable-languages="${languages}" \ - --enable-build-timestamp="${build_timestamp}" + --enable-languages=cl \ + --enable-build-timestamp="${build_timestamp}" \ + %{nil} %make_build -popd %install -pushd build %make_install find %{buildroot} -type f -name "*.la" -delete -print -chmod -x %{buildroot}%{_libdir}/cmake/Gpgmepp/*.cmake - -%if %{with qt} || %{with qt6} -rm -r %{buildroot}%{_bindir} -rm -r %{buildroot}%{_datadir}/aclocal/gpgme* -rm -r %{buildroot}%{_includedir}/gpgme* -rm -r %{buildroot}%{_infodir}/gpgme* -rm -r %{buildroot}%{_libdir}/cmake/Gpgmepp -rm -r %{buildroot}%{_libdir}/libgpgme* -rm -r %{buildroot}%{_libdir}/pkgconfig/gpgme* -rm -r %{buildroot}%{_mandir}/man1/gpgme-json.* -%endif -popd %check -GPGME_DEBUG=2:mygpgme.log %make_build check skip=%{?qt_skip:%{qt_skip}} || cat $(find -name mygpgme.log -type f) +GPGME_DEBUG=2:mygpgme.log %make_build check || cat $(find -name mygpgme.log -type f) -%if %{with qt} -%ldconfig_scriptlets -n libqgpgme15 -%endif - -%if %{with qt6} -%ldconfig_scriptlets -n libqgpgmeqt6-15 -%endif - -%if %{without qt} && %{without qt6} -%ldconfig_scriptlets -n libgpgme11 -%ldconfig_scriptlets -n libgpgmepp6 -%endif +%ldconfig_scriptlets -n libgpgme%{sover} -%if %{without qt} && %{without qt6} %files %license COPYING COPYING.LESSER LICENSES -%doc AUTHORS ChangeLog ChangeLog-2011 README NEWS THANKS TODO VERSION -%{_bindir}/gpgme-tool %{_bindir}/gpgme-json +%{_bindir}/gpgme-tool %dir %{_datadir}/common-lisp %dir %{_datadir}/common-lisp/source %{_datadir}/common-lisp/source/gpgme %{_infodir}/gpgme* -%{_mandir}/man1/gpgme-json.* +%{_mandir}/man1/*.1%{?ext_man} -%files -n libgpgme11 +%files -n libgpgme%{sover} %license COPYING COPYING.LESSER LICENSES -%{_libdir}/libgpgme.so.* +%{_libdir}/libgpgme.so.%{sover}{,.*} -%files -n libgpgme-devel +%files devel %license COPYING COPYING.LESSER LICENSES %{_libdir}/libgpgme.so %{_bindir}/gpgme-config @@ -361,52 +116,3 @@ %{_libdir}/pkgconfig/gpgme.pc %{_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 -%dir %{_libdir}/cmake/Gpgmepp -%{_libdir}/cmake/Gpgmepp/GpgmeppConfig*.cmake -%{_libdir}/pkgconfig/gpgmepp.pc -%endif - -%if %{with python3} -%files %{python_files gpg} -%license COPYING COPYING.LESSER LICENSES -%{python_sitearch}/gpg -%{python_sitearch}/gpg-%{version}*.egg-info -%endif - -%if %{with qt} -%files -n libqgpgme15 -%license COPYING COPYING.LESSER LICENSES -%{_libdir}/libqgpgme.so.* - -%files -n libqgpgme-devel -%license COPYING COPYING.LESSER LICENSES -%{_includedir}/qgpgme-qt5/ -%dir %{_libdir}/cmake -%dir %{_libdir}/cmake/QGpgme -%{_libdir}/cmake/QGpgme/*.cmake -%{_libdir}/libqgpgme.so -%endif - -%if %{with qt6} -%files -n libqgpgmeqt6-15 -%license COPYING COPYING.LESSER LICENSES -%{_libdir}/libqgpgmeqt6.so.* - -%files -n libqgpgmeqt6-devel -%license COPYING COPYING.LESSER LICENSES -%{_includedir}/qgpgme-qt6/ -%dir %{_libdir}/cmake -%dir %{_libdir}/cmake/QGpgmeQt6 -%{_libdir}/cmake/QGpgmeQt6/*.cmake -%{_libdir}/libqgpgmeqt6.so -%endif - ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.Vk4Mzo/_old 2025-07-21 19:58:34.702813505 +0200 +++ /var/tmp/diff_new_pack.Vk4Mzo/_new 2025-07-21 19:58:34.702813505 +0200 @@ -1,4 +1,2 @@ -libgpgme11 -libgpgmepp6 -libqgpgme15 +libgpgme45 ++++++ gpgme-1.24.3.tar.bz2 -> gpgme-2.0.0.tar.bz2 ++++++ ++++ 138956 lines of diff (skipped)