Hello community,

here is the log from the commit of package python-scripttest for 
openSUSE:Factory checked in at 2017-09-04 12:17:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scripttest (Old)
 and      /work/SRC/openSUSE:Factory/.python-scripttest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scripttest"

Mon Sep  4 12:17:47 2017 rev:4 rq:519806 version:1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scripttest/python-scripttest.changes      
2014-03-07 07:06:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-scripttest.new/python-scripttest.changes 
2017-09-04 12:17:48.231729463 +0200
@@ -1,0 +2,5 @@
+Thu Aug 24 13:54:21 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -9,0 +15 @@
+

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

Other differences:
------------------
++++++ python-scripttest.spec ++++++
--- /var/tmp/diff_new_pack.SIGoIG/_old  2017-09-04 12:17:49.163598461 +0200
+++ /var/tmp/diff_new_pack.SIGoIG/_new  2017-09-04 12:17:49.167597899 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-scripttest
 #
-# Copyright (c) 2014 SUSE LINUX Products 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,8 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
 Name:           python-scripttest
 Version:        1.3
 Release:        0
@@ -23,17 +25,16 @@
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://pythonpaste.org/scripttest/
-Source:         
https://pypi.python.org/packages/source/s/scripttest/scripttest-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-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
+Source:         
https://files.pythonhosted.org/packages/source/s/scripttest/scripttest-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
+%ifpython2
+Provides:       %{oldpython}-ScriptTest = %{version}
+Obsoletes:      %{oldpython}-ScriptTest < %{version}
 %endif
-Provides:       python-ScriptTest = %{version}
-Obsoletes:      python-ScriptTest < %{version}
+%python_subpackages
 
 %description
 scripttest is a library to help you test your interactive command-line
@@ -46,12 +47,12 @@
 %setup -q -n scripttest-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst
 %{python_sitelib}/*


Reply via email to