Hello community,

here is the log from the commit of package python-tzlocal for openSUSE:Factory 
checked in at 2017-07-21 22:48:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tzlocal (Old)
 and      /work/SRC/openSUSE:Factory/.python-tzlocal.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tzlocal"

Fri Jul 21 22:48:29 2017 rev:3 rq:511254 version:1.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tzlocal/python-tzlocal.changes    
2015-10-01 09:28:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-tzlocal.new/python-tzlocal.changes       
2017-07-21 22:48:34.955640287 +0200
@@ -1,0 +2,5 @@
+Tue Jul 11 16:22:34 UTC 2017 - [email protected]
+
+- Convert to singlespec build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tzlocal.spec ++++++
--- /var/tmp/diff_new_pack.UcJCWd/_old  2017-07-21 22:48:36.223461445 +0200
+++ /var/tmp/diff_new_pack.UcJCWd/_new  2017-07-21 22:48:36.227460880 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tzlocal
 #
-# 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-%{**}}
 %define modname tzlocal
 Name:           python-%{modname}
 Version:        1.1.3
@@ -25,14 +26,16 @@
 Group:          Development/Libraries/Python
 Url:            https://github.com/regebro/%{modname}
 Source:         
http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-pytz
-BuildRequires:  python-setuptools
+BuildRequires:  python-rpm-macros
 Requires:       python-pytz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 This Python module returns a tzinfo object with the local timezone information
@@ -54,16 +57,16 @@
 %setup -q -n %{modname}-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 %fdupes -s %{buildroot}
 
 %check
 python setup.py test
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc README.rst MANIFEST.in LICENSE.txt CHANGES.txt PKG-INFO
 %{python_sitelib}/%{modname}


Reply via email to