Hello community,

here is the log from the commit of package python-Cycler for openSUSE:Factory 
checked in at 2017-04-20 20:53:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Cycler (Old)
 and      /work/SRC/openSUSE:Factory/.python-Cycler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Cycler"

Thu Apr 20 20:53:00 2017 rev:3 rq:487692 version:0.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Cycler/python-Cycler.changes      
2017-01-24 10:38:29.387054779 +0100
+++ /work/SRC/openSUSE:Factory/.python-Cycler.new/python-Cycler.changes 
2017-04-20 20:53:00.782461237 +0200
@@ -1,0 +2,20 @@
+Wed Apr 12 19:00:14 UTC 2017 - [email protected]
+
+- Fix download URL.
+
+-------------------------------------------------------------------
+Wed Apr 12 17:31:02 UTC 2017 - [email protected]
+
+- Fix redefinition of %python_module macro.
+
+-------------------------------------------------------------------
+Mon Feb 27 18:45:41 UTC 2017 - [email protected]
+
+- Fix macro usage
+
+-------------------------------------------------------------------
+Sat Feb 25 04:12:47 UTC 2017 - [email protected]
+
+- Switch to single-spec version
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Cycler.spec ++++++
--- /var/tmp/diff_new_pack.4fAPXf/_old  2017-04-20 20:53:01.350380930 +0200
+++ /var/tmp/diff_new_pack.4fAPXf/_new  2017-04-20 20:53:01.354380364 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Cycler
 Version:        0.10.0
 Release:        0
@@ -23,17 +24,16 @@
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://github.com/matplotlib/cycler
-Source:         
https://pypi.io/packages/source/C/Cycler/cycler-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
+Source:         
https://files.pythonhosted.org/packages/source/C/Cycler/cycler-%{version}.tar.gz
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
 Requires:       python-six
 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
 When plotting more than one line it is common to want to be able to
@@ -49,12 +49,12 @@
 %setup -q -n cycler-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc README.rst
 %{python_sitelib}/*


Reply via email to