Hello community,
here is the log from the commit of package python-managesieve for
openSUSE:Factory checked in at 2018-05-29 16:52:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-managesieve (Old)
and /work/SRC/openSUSE:Factory/.python-managesieve.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-managesieve"
Tue May 29 16:52:06 2018 rev:13 rq:612684 version:0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-managesieve/python-managesieve.changes
2015-08-05 06:50:12.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-managesieve.new/python-managesieve.changes
2018-05-29 16:52:10.388042988 +0200
@@ -1,0 +2,11 @@
+Mon May 28 16:36:47 UTC 2018 - [email protected]
+
+- Clean SPEC with spec-cleaner (unfortunately py3k still switched off)
+- Enable tests
+
+-------------------------------------------------------------------
+Thu Aug 24 13:45:12 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -92,0 +104 @@
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-managesieve.spec ++++++
--- /var/tmp/diff_new_pack.8qTXbq/_old 2018-05-29 16:52:11.276010317 +0200
+++ /var/tmp/diff_new_pack.8qTXbq/_new 2018-05-29 16:52:11.280010170 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-managesieve
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@@ -17,26 +17,26 @@
#
-%define oname managesieve
+#
+%define skip_python3 1
+%define oname managesieve
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-managesieve
Version: 0.5
Release: 0
Summary: Python Module Implementing the ManageSieve Protocol
-License: GPL-3.0+ and Python-2.0
+License: GPL-3.0-or-later AND Python-2.0
Group: Development/Libraries/Python
-Url: https://pythonhosted.org/managesieve/
-Source:
https://pypi.python.org/packages/source/m/managesieve/managesieve-%{version}.tar.bz2
+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
[email protected] -- Remove unnecessary ez_setup usage
Patch0: python-managesieve-remove-ez_setup.patch
-BuildRequires: python-devel
-BuildRequires: python-setuptools
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
BuildArch: noarch
-%endif
+%python_subpackages
%description
python-managesieve is a Python module implementing the ManageSieve client
@@ -45,21 +45,24 @@
%prep
%setup -q -n %{oname}-%{version}
%patch0 -p1
+touch test/__init__.py
# Fix URL
sed -i 's|http://packages.python.org/managesieve|%{url}|' setup.py
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+
+%check
+%python_exec setup.py test -v
-%files
-%defattr(-,root,root,-)
+%files %{python_files}
%doc README.txt
%{_bindir}/sieveshell
%{python_sitelib}/%{oname}.*
-%{python_sitelib}/%{oname}-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/%{oname}-%{version}-py%{python_version}.egg-info
%changelog