Hello community,

here is the log from the commit of package python-async for openSUSE:Factory 
checked in at 2018-05-18 14:28:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-async (Old)
 and      /work/SRC/openSUSE:Factory/.python-async.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-async"

Fri May 18 14:28:36 2018 rev:7 rq:610267 version:0.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-async/python-async.changes        
2015-04-27 13:05:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-async.new/python-async.changes   
2018-05-18 14:28:38.448746037 +0200
@@ -1,0 +2,11 @@
+Fri May 18 09:16:20 UTC 2018 - mc...@suse.com
+
+- Fix SPEC file with spec-cleaner
+- Added tests
+
+-------------------------------------------------------------------
+Thu Aug 24 13:32:53 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -27,0 +39 @@
+

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

Other differences:
------------------
++++++ python-async.spec ++++++
--- /var/tmp/diff_new_pack.I7fO1e/_old  2018-05-18 14:28:38.968726955 +0200
+++ /var/tmp/diff_new_pack.I7fO1e/_new  2018-05-18 14:28:38.972726808 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-async
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,23 +16,22 @@
 #
 
 
-Name:           python-async
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define upname async
+Name:           python-%{upname}
 Version:        0.6.2
 Release:        0
-Url:            https://github.com/gitpython-developers/async
 Summary:        Async Framework
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/a/async/async-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-nose
-BuildRequires:  python-setuptools
-%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
+URL:            https://github.com/gitpython-developers/async
+Source:         
https://files.pythonhosted.org/packages/source/a/%{upname}/%{upname}-%{version}.tar.gz
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 Async is a framework to process interdependent tasks in a pool of workers.
@@ -40,20 +39,21 @@
 The documentation is available here: http://packages.python.org/async
 
 %prep
-%setup -q -n async-%{version}
+%setup -q -n %{upname}-%{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}
 
 %check
-python setup.py -q test
+%python_exec setup.py test
 
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS LICENSE
-%{python_sitelib}/*
+%files %{python_files}
+%license LICENSE
+%doc AUTHORS
+%{python_sitelib}/%{upname}*
 
 %changelog


Reply via email to