Hello community,

here is the log from the commit of package python-characteristic for 
openSUSE:Factory checked in at 2017-10-26 18:43:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-characteristic (Old)
 and      /work/SRC/openSUSE:Factory/.python-characteristic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-characteristic"

Thu Oct 26 18:43:44 2017 rev:2 rq:534991 version:14.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-characteristic/python-characteristic.changes  
    2015-12-03 13:30:40.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-characteristic.new/python-characteristic.changes
 2017-10-26 18:43:46.717646701 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:41:02 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -48,0 +54 @@
+

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

Other differences:
------------------
++++++ python-characteristic.spec ++++++
--- /var/tmp/diff_new_pack.F362P6/_old  2017-10-26 18:43:48.541561582 +0200
+++ /var/tmp/diff_new_pack.F362P6/_new  2017-10-26 18:43:48.545561396 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-characteristic
 #
-# Copyright (c) 2015 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-characteristic
 Version:        14.3.0
 Release:        0
@@ -23,15 +24,13 @@
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://github.com/hynek/characteristic/
-Source:         
https://pypi.python.org/packages/source/c/characteristic/characteristic-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-pytest
+Source:         
https://files.pythonhosted.org/packages/source/c/characteristic/characteristic-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
+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
 characteristic Python package with class decorators that ease the chores of
@@ -52,18 +51,20 @@
 %setup -q -n characteristic-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-py.test test_characteristic.py
+%python_expand py.test-%{$python_bin_suffix} test_characteristic.py
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc AUTHORS.rst LICENSE README.rst
+%pycache_only %{python_sitelib}/__pycache__/*
 %{python_sitelib}/characteristic.py*
+%pycache_only %{python_sitelib}/__pycache__/*
 %{python_sitelib}/test_characteristic.py*
 %{python_sitelib}/characteristic-%{version}-py*.egg-info
 


Reply via email to