Hello community,

here is the log from the commit of package python-warlock for openSUSE:Factory 
checked in at 2017-09-05 15:14:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-warlock (Old)
 and      /work/SRC/openSUSE:Factory/.python-warlock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-warlock"

Tue Sep  5 15:14:41 2017 rev:13 rq:518320 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-warlock/python-warlock.changes    
2016-12-08 00:30:30.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-warlock.new/python-warlock.changes       
2017-09-05 15:14:45.145182263 +0200
@@ -1,0 +2,5 @@
+Wed Aug 23 04:30:53 UTC 2017 - [email protected]
+
+- convert to singlespec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-warlock.spec ++++++
--- /var/tmp/diff_new_pack.xK2cci/_old  2017-09-05 15:14:46.484993934 +0200
+++ /var/tmp/diff_new_pack.xK2cci/_new  2017-09-05 15:14:46.488993372 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-warlock
 #
-# 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-warlock
 Version:        1.2.0
 Release:        0
@@ -23,22 +24,21 @@
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://github.com/bcwaldon/warlock
-Source:         
https://pypi.io/packages/source/w/warlock/warlock-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-jsonpatch
-BuildRequires:  python-jsonschema
-BuildRequires:  python-nose
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
+Source:         
https://files.pythonhosted.org/packages/source/w/warlock/warlock-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module jsonpatch}
+BuildRequires:  %{python_module jsonschema}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  python-rpm-macros
 Requires:       python-jsonpatch >= 0.7
 Requires:       python-jsonschema >= 0.10
 Requires:       python-six
 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
 Build self-validating python objects using JSON schemas
@@ -48,15 +48,15 @@
 sed -i "s|jsonschema>=0.7,<1|jsonschema>=0.7,<=1|" requirements.txt
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-nosetests
+%python_exec %{_bindir}/nosetests
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.md
 %{python_sitelib}/*


Reply via email to