Hello community,

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

Package is "python-lockfile"

Fri Oct 20 16:11:47 2017 rev:13 rq:533033 version:0.10.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lockfile/python-lockfile.changes  
2015-05-10 10:44:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-lockfile.new/python-lockfile.changes     
2017-10-20 16:11:48.307121403 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:44:46 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -57,0 +63 @@
+

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

Other differences:
------------------
++++++ python-lockfile.spec ++++++
--- /var/tmp/diff_new_pack.MdziLZ/_old  2017-10-20 16:11:48.907093376 +0200
+++ /var/tmp/diff_new_pack.MdziLZ/_new  2017-10-20 16:11:48.911093189 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-lockfile
 #
-# 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,26 +16,24 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-lockfile
 Version:        0.10.2
 Release:        0
-Url:            https://github.com/openstack/pylockfile
 Summary:        Platform-independent file locking module
 License:        MIT
 Group:          Development/Languages/Python
-Source:         
https://pypi.python.org/packages/source/l/lockfile/lockfile-%{version}.tar.gz
+Url:            https://github.com/openstack/pylockfile
+Source:         
https://files.pythonhosted.org/packages/source/l/lockfile/lockfile-%{version}.tar.gz
 Patch0:         %{name}-empty_ident.patch
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pbr}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-nose
-BuildRequires:  python-pbr
-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()")}
-%py_requires
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 The lockfile package exports a LockFile class which provides a simple API for
@@ -54,17 +52,17 @@
 %patch0 -p1 -b .empty_ident
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-nosetests
+%python_exec -m nose
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README RELEASE-NOTES LICENSE
-%python_sitelib/lockfile*
+%{python_sitelib}/lockfile*
 
 %changelog


Reply via email to