Hello community,

here is the log from the commit of package python-retrying for openSUSE:Factory 
checked in at 2017-08-22 11:11:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-retrying (Old)
 and      /work/SRC/openSUSE:Factory/.python-retrying.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-retrying"

Tue Aug 22 11:11:19 2017 rev:2 rq:518041 version:1.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-retrying/python-retrying.changes  
2015-07-23 15:22:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-retrying.new/python-retrying.changes     
2017-08-22 11:11:20.241938892 +0200
@@ -1,0 +2,5 @@
+Tue Aug 22 06:13:42 UTC 2017 - [email protected]
+
+- convert to singlespec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-retrying.spec ++++++
--- /var/tmp/diff_new_pack.1T4Zkp/_old  2017-08-22 11:11:21.045825700 +0200
+++ /var/tmp/diff_new_pack.1T4Zkp/_new  2017-08-22 11:11:21.049825137 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-retrying
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-retrying
 Version:        1.3.3
 Release:        0
@@ -24,14 +25,13 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/rholder/retrying
 Source:         
https://pypi.python.org/packages/source/r/retrying/retrying-%{version}.tar.gz
-BuildRequires:  python-devel
+BuildRequires:  %{python_module devel}
+BuildRequires:  python-rpm-macros
 Requires:       python-six >= 1.7.0
 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
 Retrying is an Apache 2.0 licensed general-purpose retrying library, written in
@@ -41,12 +41,12 @@
 %setup -q -n retrying-%{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 AUTHORS.rst LICENSE README.rst
 %{python_sitelib}/*


Reply via email to