Hello community,

here is the log from the commit of package python-positional for 
openSUSE:Factory checked in at 2017-12-08 13:02:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-positional (Old)
 and      /work/SRC/openSUSE:Factory/.python-positional.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-positional"

Fri Dec  8 13:02:16 2017 rev:3 rq:555147 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-positional/python-positional.changes      
2016-09-24 15:29:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-positional.new/python-positional.changes 
2017-12-08 13:02:21.874901304 +0100
@@ -1,0 +2,5 @@
+Fri Dec  1 07:21:09 UTC 2017 - [email protected]
+
+- convert to singlespec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-positional.spec ++++++
--- /var/tmp/diff_new_pack.6U1i3S/_old  2017-12-08 13:02:22.762869235 +0100
+++ /var/tmp/diff_new_pack.6U1i3S/_new  2017-12-08 13:02:22.766869091 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-positional
 #
-# 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-positional
 Version:        1.1.1
 Release:        0
@@ -23,12 +24,14 @@
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            https://github.com/morganfainberg/positional
-Source:         
https://pypi.io/packages/source/p/positional/positional-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-pbr
-BuildRequires:  python-setuptools
+Source:         
https://files.pythonhosted.org/packages/source/p/positional/positional-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pbr}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 Requires:       python-wrapt
 BuildArch:      noarch
+%python_subpackages
 
 %description
 `positional` provides a decorator which enforces only some args may be passed
@@ -39,13 +42,12 @@
 %setup -q -n positional-%{version}
 
 %build
-%{__python} setup.py build
+%python_build
 
 %install
-%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
-%defattr(-,root,root,-)
+%files %{python_files}
 %doc LICENSE
 %doc README.rst
 %{python_sitelib}/positional


Reply via email to