Hello community,

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

Package is "python-manuel"

Sat Jul  8 12:34:48 2017 rev:4 rq:508462 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-manuel/python-manuel.changes      
2015-05-10 10:46:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-manuel.new/python-manuel.changes 
2017-07-08 12:34:55.665982719 +0200
@@ -1,0 +2,5 @@
+Fri Jun 23 13:49:07 UTC 2017 - [email protected]
+
+- Converted to single-spec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-manuel.spec ++++++
--- /var/tmp/diff_new_pack.VRYb7d/_old  2017-07-08 12:34:56.165912205 +0200
+++ /var/tmp/diff_new_pack.VRYb7d/_new  2017-07-08 12:34:56.169911640 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-manuel
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,6 +17,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-manuel
 Version:        1.8.0
 Release:        0
@@ -24,20 +25,18 @@
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://www.python.org/pypi/manuel
-Source:         
https://pypi.python.org/packages/source/m/manuel/manuel-%{version}.tar.gz
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
+Source:         
https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
 # Documentation requirements:
-BuildRequires:  python-Sphinx
+BuildRequires:  %{python_module Sphinx}
 # Testing requirements:
-BuildRequires:  python-zope.testing
+BuildRequires:  %{python_module zope.testing}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 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
 Manuel lets you build tested documentation.
@@ -55,24 +54,26 @@
 
 %prep
 %setup -q -n manuel-%{version}
-rm -rf docs/.doctrees docs/.buildinfo
+rm -rf docs/.doctrees docs/.buildinfo docs/objects.inv
 
 %build
-python setup.py build
-python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
+%python_build
+%{_python_use_flavor python3}
+%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
 %check
-python setup.py -q test
+%python_exec setup.py -q test
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES.rst COPYRIGHT.rst LICENSE.rst PKG-INFO README.rst
-%python_sitelib/*
+%{python_sitelib}/*
 
-%files doc
+%files %{python_files doc}
 %defattr(-,root,root,-)
 %doc docs/
 


Reply via email to