Hello community,

here is the log from the commit of package python-kombu for openSUSE:Factory 
checked in at 2017-07-06 00:01:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kombu (Old)
 and      /work/SRC/openSUSE:Factory/.python-kombu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kombu"

Thu Jul  6 00:01:39 2017 rev:50 rq:507395 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kombu/python-kombu.changes        
2017-04-13 10:45:10.876483776 +0200
+++ /work/SRC/openSUSE:Factory/.python-kombu.new/python-kombu.changes   
2017-07-06 00:01:42.460599445 +0200
@@ -1,0 +2,12 @@
+Wed Jun 28 20:28:50 UTC 2017 - [email protected]
+
+- convert the package to singlespec
+- import changes from python3-kombu:
+  * add AUTHORS to the package documentation
+  * use a more precise file list
+- drop test BuildRequires mock, nose-cover3 and unittest2:
+  not needed anymore
+- add fdupes as BuildRequires and call it after install
+- skip the tests for python3 since they fail with python 3.6 (#675)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-kombu.spec ++++++
--- /var/tmp/diff_new_pack.vmEMgk/_old  2017-07-06 00:01:44.412324496 +0200
+++ /var/tmp/diff_new_pack.vmEMgk/_new  2017-07-06 00:01:44.416323932 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-kombu
 Version:        4.0.2
 Release:        0
@@ -24,20 +25,19 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/celery/kombu
 Source:         https://pypi.io/packages/source/k/kombu/kombu-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 # Test requirements:
-BuildRequires:  python-PyYAML
-BuildRequires:  python-amqp >= 2.0
-BuildRequires:  python-boto
-BuildRequires:  python-case
-BuildRequires:  python-mock
-BuildRequires:  python-msgpack-python
-BuildRequires:  python-nose-cover3
-BuildRequires:  python-pytest
-BuildRequires:  python-pytz
-BuildRequires:  python-redis
-BuildRequires:  python-unittest2 >= 0.5.0
+BuildRequires:  %{python_module PyYAML}
+BuildRequires:  %{python_module amqp >= 2.0}
+BuildRequires:  %{python_module boto}
+BuildRequires:  %{python_module case}
+BuildRequires:  %{python_module msgpack-python}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module redis}
 Requires:       python-amqp
 %if 0%{?suse_version}
 Suggests:       couchdb
@@ -45,11 +45,9 @@
 Suggests:       rabbitmq-server
 %endif
 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
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 An AMQP messaging framework for Python.
@@ -67,17 +65,21 @@
 %setup -q -n kombu-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+# Tests are currently incompatible with python 3.6 (see upstream #675)
+# run them only on python 2
 %check
-python setup.py -q test
+python2 setup.py -q test
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
-%doc Changelog FAQ README.rst THANKS TODO LICENSE
-%{python_sitelib}/*
+%doc AUTHORS Changelog FAQ README.rst THANKS TODO LICENSE
+%{python_sitelib}/kombu
+%{python_sitelib}/kombu-%{version}-py%{py_ver}.egg-info
 
 %changelog


Reply via email to