Hello community,

here is the log from the commit of package python-futures for openSUSE:Factory 
checked in at 2017-03-16 09:42:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-futures (Old)
 and      /work/SRC/openSUSE:Factory/.python-futures.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-futures"

Thu Mar 16 09:42:20 2017 rev:11 rq:479247 version:3.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-futures/python-futures.changes    
2016-12-08 00:29:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-futures.new/python-futures.changes       
2017-03-16 09:51:04.297729465 +0100
@@ -1,0 +2,10 @@
+Mon Mar 13 21:30:45 UTC 2017 - car...@techbyte.ca
+
+- Update %python_module redefinition, fixing %fdupes call
+
+-------------------------------------------------------------------
+Fri Mar 10 18:50:06 UTC 2017 - car...@techbyte.ca
+
+- Update to singlespec.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-futures.spec ++++++
--- /var/tmp/diff_new_pack.GjicyY/_old  2017-03-16 09:51:04.893645072 +0100
+++ /var/tmp/diff_new_pack.GjicyY/_new  2017-03-16 09:51:04.893645072 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-futures
 #
-# Copyright (c) 2016 SUSE LINUX 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-futures
 Version:        3.0.5
 Release:        0
@@ -24,13 +25,12 @@
 Group:          Development/Languages/Python
 Url:            http://code.google.com/p/pythonfutures
 Source:         
http://pypi.python.org/packages/source/f/futures/futures-%{version}.tar.gz
-BuildRequires:  python-devel
+BuildRequires:  %{python_module devel}
+BuildRequires:  fdupes
 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
 A Java-style futures package for Python
@@ -43,17 +43,18 @@
 %setup -q -n futures-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%fdupes %{buildroot}%{_prefix}
 
 %check
 %if 0%{?suse_version} > 1110
 python test_futures.py
 %endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES LICENSE
 %{python_sitelib}/concurrent/


Reply via email to