Hello community, here is the log from the commit of package gpgme for openSUSE:Factory checked in at 2017-04-07 13:52:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gpgme (Old) and /work/SRC/openSUSE:Factory/.gpgme.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gpgme" Fri Apr 7 13:52:27 2017 rev:68 rq:483280 version:1.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes 2017-02-16 16:48:40.903038168 +0100 +++ /work/SRC/openSUSE:Factory/.gpgme.new/gpgme.changes 2017-04-07 13:52:31.710073735 +0200 @@ -1,0 +2,80 @@ +Tue Mar 28 18:01:47 UTC 2017 - astieger@suse.com + +- gpgme 1.9.0: + * Clarified meaning of the 'expire' parameter of gpgme_op_createkey + and gpgme_op_createsubkey. New flag to force a key without an + expiration date. + * New function gpgme_op_keylist_from_data_start to list keys from + data objects without importing them. + * New function gpgme_op_set_uid_flag to flag a key as primary. + * New function gpgme_op_decrypt_ext to run decryption with special + flags. This can for example be used to unwrap keys (remove only + the encryption layer). + * New encryption flags to wrap a key (adding an encryption layer to + an OpenPGP message) or to create anonymously encrypted messages. + * Support for adduid and revuid operations in the C++ bindings. + * Support for smartcard key generation in the C++ bindings. + * Several new functions for the Python binding. + * Many smaller bug fixes. + * Interface changes relative to the 1.8.0 release: + gpgme_op_createkey CHANGED: Meaning of 'expire' parameter. + gpgme_op_createsubkey CHANGED: Meaning of 'expire' parameter. + GPGME_CREATE_NOEXPIRE NEW. + gpgme_key_t EXTENDED: New field 'origin'. + gpgme_key_t EXTENDED: New field 'last_update'. + gpgme_subkey_t EXTENDED: New field 'is_de_vs'. + gpgme_user_id_t EXTENDED: New field 'origin'. + gpgme_user_id_t EXTENDED: New field 'last_update'. + gpgme_op_keylist_from_data_start NEW. + gpgme_op_set_uid_flag_start NEW. + gpgme_op_set_uid_flag NEW. + gpgme_op_decrypt_ext_start NEW. + gpgme_op_decrypt_ext NEW. + GPGME_ENCRYPT_THROW_KEYIDS NEW. + GPGME_ENCRYPT_WRAP NEW. + GPGME_DECRYPT_VERIFY NEW. + GPGME_DECRYPT_UNWRAP NEW. + gpgme_data_rewind UN-DEPRECATE. + cpp: Context::revUid(const Key&, const char*) NEW. + cpp: Context::startRevUid(const Key&, const char*) NEW. + cpp: Context::addUid(const Key&, const char*) NEW. + cpp: Context::startAddUid(const Key&, const char*) NEW. + cpp: Key::UserID::revoke() NEW. + cpp: Key::addUid() NEW. + cpp: Key::isDeVs NEW. + cpp: GpgGenCardKeyInteractor NEW. + cpp: Subkey::keyGrip NEW. + cpp: Subkey::isDeVs NEW. + cpp: Data::toKeys NEW. + cpp: Context::setDecryptFlags NEW. + cpp: Context::decrypt EXTENDED: Flags added. + cpp: Context::startDecrypt EXTENDED: Flags added. + cpp: Context::decryptAndVerify EXTENDED: Flags added. + cpp: Context::startCombinedDecryptionAndVerification EXTENDED: Flags. + cpp: Context::encryptFlags EXTENDED: New flags. + qt: CryptoConfig::stringValueList() NEW. + py: Context.__init__ EXTENDED: New keyword arg home_dir. + py: Context.home_dir NEW. + py: Context.keylist EXTENDED: New keyword arg mode. + py: Context.keylist EXTENDED: New keyword arg source. + py: Context.create_key NEW. + py: Context.create_subkey NEW. + py: Context.key_add_uid NEW. + py: Context.key_revoke_uid NEW. + py: Context.key_sign NEW. + py: Context.key_tofu_policy NEW. + py: core.pubkey_algo_string NEW. + py: core.addrspec_from_uid NEW. +- drop upstreamed patches: + * gpgme-include_functional.patch + * remove-a-forgotten-instance-of-libsuffix.diff + +------------------------------------------------------------------- +Thu Mar 23 21:54:04 UTC 2017 - lbeltrame@kde.org + +- Re-conditionalize python builds, to allow gpgme to build on + Leap 42.3 (python tests fail with an older gpg, see + gpg issue 3008) +- Enable Qt build also on Leap 42.3 (needed for KDE PIM) + +------------------------------------------------------------------- Old: ---- gpgme-1.8.0.tar.bz2 gpgme-1.8.0.tar.bz2.sig gpgme-include_functional.patch remove-a-forgotten-instance-of-libsuffix.diff New: ---- gpgme-1.9.0.tar.bz2 gpgme-1.9.0.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gpgme.spec ++++++ --- /var/tmp/diff_new_pack.5PrNGD/_old 2017-04-07 13:52:32.413974307 +0200 +++ /var/tmp/diff_new_pack.5PrNGD/_new 2017-04-07 13:52:32.417973743 +0200 @@ -16,9 +16,13 @@ # -%define with_qt 0%{?suse_version} >= 1330 +# Enable Qt bindings on TW and 42.3 (needed for KDE PIM) +%define with_qt 0%{?suse_version} >= 1330 || 0%{?sle_version} >= 120300 +# Only enable Python bindings with TW, or tests will fail with an older gpg +# https://bugs.gnupg.org/gnupg/issue3008 +%define with_python 0%{?suse_version} >= 1330 Name: gpgme -Version: 1.8.0 +Version: 1.9.0 Release: 0 Summary: Programmatic library interface to GnuPG License: LGPL-2.1+ and GPL-3.0+ @@ -30,20 +34,19 @@ Source3: gpgme.keyring # used to have a fixed timestamp Source99: %{name}.changes -#PATCH-FIX-UPSTREAM: remove-a-forgotten-instance-of-libsuffix.diff - Fix cmake files (or it will break KDE software building) -Patch1: remove-a-forgotten-instance-of-libsuffix.diff -Patch2: gpgme-include_functional.patch BuildRequires: gcc-c++ BuildRequires: gpg2 >= 2.0.10 BuildRequires: libassuan-devel >= 2.0.2 BuildRequires: libgpg-error-devel >= 1.17 BuildRequires: pkgconfig -BuildRequires: python-devel >= 2.7 -BuildRequires: python3-devel >= 3.4 BuildRequires: swig Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?with_python} +BuildRequires: python-devel >= 2.7 +BuildRequires: python3-devel >= 3.4 +%endif %if 0%{with_qt} BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Test) @@ -116,6 +119,7 @@ This subpackage contains the headers needed for building applications making use of libgpgmepp. +%if 0%{?with_python} %package -n python-gpg Summary: Python 2 bindings for GPGME, a library for accessing GnuPG Group: Development/Languages/Python @@ -139,6 +143,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 @@ -170,15 +175,19 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 %build build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE99}) -languages="cl cpp python" -%if %{with_qt} +languages="cl cpp" + +%if 0%{?with_python} +languages="${languages} python" +%endif + +%if 0%{?with_qt} languages="${languages} qt" %endif # with_qt + %configure \ --disable-silent-rules \ --disable-static \ @@ -192,6 +201,7 @@ find %{buildroot} -type f -name "*.la" -delete -print chmod -x %{buildroot}%{_libdir}/cmake/Gpgmepp/*.cmake +%if 0%{?with_python} find %{buildroot}%{python_sitearch}/gpg-*.egg-info -delete -print find %{buildroot}%{python_sitearch}/gpg -type f -name "*.pyc" -delete -print rm -vf %{buildroot}%{python_sitelib}/gpg/install_files.txt @@ -199,6 +209,7 @@ find %{buildroot}%{python3_sitearch}/gpg-*.egg-info -delete -print rm -vf %{buildroot}%{python3_sitelib}/gpg/install_files.txt find %{buildroot}%{python3_sitearch}/gpg -type f -name "*.pyc" -delete -print +%endif %check %if ! 0%{?qemu_user_space_build} @@ -251,6 +262,7 @@ %dir %{_libdir}/cmake/Gpgmepp %{_libdir}/cmake/Gpgmepp/GpgmeppConfig*.cmake +%if 0%{?with_python} %files -n python-gpg %defattr(-,root,root) %{python_sitearch}/gpg @@ -258,6 +270,7 @@ %files -n python3-gpg %defattr(-,root,root) %{python3_sitearch}/gpg +%endif %if 0%{with_qt} %files -n libqgpgme7 ++++++ gpgme-1.8.0.tar.bz2 -> gpgme-1.9.0.tar.bz2 ++++++ ++++ 18309 lines of diff (skipped)