Hello community,

here is the log from the commit of package python-discover for openSUSE:Factory 
checked in at 2017-09-05 15:17:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-discover (Old)
 and      /work/SRC/openSUSE:Factory/.python-discover.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-discover"

Tue Sep  5 15:17:31 2017 rev:4 rq:520813 version:0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-discover/python-discover.changes  
2014-02-26 06:55:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-discover.new/python-discover.changes     
2017-09-05 15:17:33.517515218 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:36:11 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -16,0 +22 @@
+

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

Other differences:
------------------
++++++ python-discover.spec ++++++
--- /var/tmp/diff_new_pack.mHoEzO/_old  2017-09-05 15:17:36.309122819 +0200
+++ /var/tmp/diff_new_pack.mHoEzO/_new  2017-09-05 15:17:36.313122257 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-discover
 #
-# Copyright (c) 2014 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-discover
 Version:        0.4.0
 Release:        0
@@ -23,16 +24,14 @@
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://pypi.python.org/pypi/discover/
-Source:         
http://pypi.python.org/packages/source/d/discover/discover-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/d/discover/discover-%{version}.tar.gz
 # https://code.google.com/p/unittest-ext/issues/detail?id=79
 Patch0:         bug-79-fix.patch
-BuildRequires:  python-devel
+BuildRequires:  %{python_module devel}
+BuildRequires:  python-rpm-macros
 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
 This is the test discovery mechanism and ``load_tests`` protocol for unittest
@@ -44,12 +43,12 @@
 %patch0 -p1
 
 %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.txt
 %{python_sitelib}/*


Reply via email to