Hello community, here is the log from the commit of package python-managesieve for openSUSE:Factory checked in at 2019-02-20 14:15:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-managesieve (Old) and /work/SRC/openSUSE:Factory/.python-managesieve.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-managesieve" Wed Feb 20 14:15:18 2019 rev:16 rq:677630 version:0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-managesieve/python-managesieve.changes 2018-08-31 10:45:06.559250423 +0200 +++ /work/SRC/openSUSE:Factory/.python-managesieve.new.28833/python-managesieve.changes 2019-02-20 14:15:21.538858522 +0100 @@ -1,0 +2,35 @@ +Wed Feb 20 09:21:33 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Add conflict with perl-Cyrus-SIEVE-managesieve which + provides the same binary + +------------------------------------------------------------------- +Fri Dec 14 16:22:31 UTC 2018 - Marcus Rueckert <mrueck...@suse.de> + +- update to version 0.6 (boo#1119567) + - general + - Add support for Python 3. Minimum required Python version is + now Python 2.7. + - Documentation is extended and includes API documentation. + - sieveshell + - Security fix: No longer leak environment variable + SIEVE_PASSWORD when displaying usage help. + - Per default enforce secure transport. Suggested by Jan + Zerebecki. + - Add possibility to use username/password from the .netrc + file. The order is: command line options -> environment + variables -> .netrc file -> ask user. Thanks to Grégoire + Détrez. + - managesieve + - Fail if TLS is requested, but server doesn't support TLS. + Suggested by Jan Zerebecki. + - project + - Rework and enhance test-suite. Thanks to Matěj Cepl for + nudging to proper pytest integration. + - Lots if internal cleanup. +- drop python-managesieve-remove-ez_setup.patch +- enable python3 support + - unversioned script will be in the python3 package +- use gitlab tarball + +------------------------------------------------------------------- Old: ---- managesieve-0.5.tar.bz2 python-managesieve-remove-ez_setup.patch New: ---- managesieve-v0.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-managesieve.spec ++++++ --- /var/tmp/diff_new_pack.GWoN0r/_old 2019-02-20 14:15:22.214858294 +0100 +++ /var/tmp/diff_new_pack.GWoN0r/_new 2019-02-20 14:15:22.214858294 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-managesieve # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2009 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -13,30 +13,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define skip_python3 1 %define oname managesieve %{?!python_module:%define python_module() python-%{**} python3-%{**}} + Name: python-managesieve -Version: 0.5 +Version: 0.6 Release: 0 Summary: Python Module Implementing the ManageSieve Protocol License: GPL-3.0-or-later AND Python-2.0 Group: Development/Libraries/Python -URL: https://pythonhosted.org/managesieve/ -Source: https://files.pythonhosted.org/packages/source/m/managesieve/managesieve-%{version}.tar.bz2 -# PATCH-FIX-OPENSUSE python-managesieve-remove-ez_setup.patch g...@opensuse.org -- Remove unnecessary ez_setup usage -Patch0: python-managesieve-remove-ez_setup.patch +URL: https://managesieve.readthedocs.io/ +Source: https://gitlab.com/htgoebel/managesieve/-/archive/v%{version}/managesieve-v%{version}.tar.bz2 +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} -BuildRequires: python BuildRequires: python-rpm-macros +# provides same binary: /usr/bin/sieveshell +Conflicts: perl-Cyrus-SIEVE-managesieve BuildArch: noarch -%ifpython2 -Requires: python -%endif %python_subpackages %description @@ -44,8 +42,7 @@ protocol. It also includes an user application (the interactive sieveshell). %prep -%setup -q -n %{oname}-%{version} -%patch0 -p1 +%setup -q -n %{oname}-v%{version} touch test/__init__.py # Fix URL @@ -56,14 +53,15 @@ %install %python_install +%python_clone %{buildroot}%{_bindir}/sieveshell %check %python_exec setup.py test -v %files %{python_files} %doc README.txt -%{_bindir}/sieveshell -%{python_sitelib}/%{oname}.* -%{python_sitelib}/%{oname}-%{version}-py%{python_version}.egg-info +%{_bindir}/sieveshell-%{python_bin_suffix} +%python3_only %{_bindir}/sieveshell +%{python_sitelib}/* %changelog