Hello community,

here is the log from the commit of package python-sphinx_rtd_theme for 
openSUSE:Factory checked in at 2017-04-28 10:41:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx_rtd_theme (Old)
 and      /work/SRC/openSUSE:Factory/.python-sphinx_rtd_theme.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinx_rtd_theme"

Fri Apr 28 10:41:31 2017 rev:4 rq:489327 version:0.1.8

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sphinx_rtd_theme/python-sphinx_rtd_theme.changes
  2016-08-03 11:39:29.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinx_rtd_theme.new/python-sphinx_rtd_theme.changes
     2017-04-28 10:41:41.721393690 +0200
@@ -1,0 +2,10 @@
+Wed Apr 12 18:18:26 UTC 2017 - [email protected]
+
+- Fix python_module macro definition.
+
+-------------------------------------------------------------------
+Mon Dec 19 18:41:21 UTC 2016 - [email protected]
+
+- update for multipython build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sphinx_rtd_theme.spec ++++++
--- /var/tmp/diff_new_pack.x3REfW/_old  2017-04-28 10:41:43.997072030 +0200
+++ /var/tmp/diff_new_pack.x3REfW/_new  2017-04-28 10:41:44.001071465 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-sphinx_rtd_theme
 Version:        0.1.8
 Release:        0
@@ -24,14 +25,13 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/snide/sphinx_rtd_theme/
 Source:         
https://pypi.io/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+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
 This is a prototype mobile-friendly sphinx theme I made for readthedocs.org. 
It's
@@ -42,12 +42,12 @@
 %setup -q -n sphinx_rtd_theme-%{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 LICENSE OFL-License.txt Apache-License-2.0.txt README.rst
 %{python_sitelib}/*


Reply via email to