Hello community,

here is the log from the commit of package python-alabaster for 
openSUSE:Factory checked in at 2017-03-24 01:52:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-alabaster (Old)
 and      /work/SRC/openSUSE:Factory/.python-alabaster.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-alabaster"

Fri Mar 24 01:52:54 2017 rev:2 rq:481355 version:0.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-alabaster/python-alabaster.changes        
2015-07-14 17:44:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-alabaster.new/python-alabaster.changes   
2017-03-24 01:52:56.231938695 +0100
@@ -1,0 +2,5 @@
+Mon Dec 19 17:57:07 UTC 2016 - [email protected]
+
+- update for multipython build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-alabaster.spec ++++++
--- /var/tmp/diff_new_pack.W6mxKf/_old  2017-03-24 01:52:56.795858858 +0100
+++ /var/tmp/diff_new_pack.W6mxKf/_new  2017-03-24 01:52:56.799858292 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-alabaster
 #
-# Copyright (c) 2015 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-alabaster
 Version:        0.7.3
 Release:        0
@@ -24,15 +25,14 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/bitprophet/alabaster
 Source:         
https://pypi.python.org/packages/source/a/alabaster/alabaster-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRequires:  python-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 theme is a modified "Kr" Sphinx theme from @kennethreitz
@@ -44,13 +44,13 @@
 %setup -q -n alabaster-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
-%fdupes $RPM_BUILD_ROOT%{py_sitedir}
+%python_install
+%fdupes %{buildroot}%{_prefix}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %{python_sitelib}/*
 %doc README.rst LICENSE


Reply via email to