Hello community,
here is the log from the commit of package python-cliff-tablib for
openSUSE:Factory checked in at 2017-09-05 15:14:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cliff-tablib (Old)
and /work/SRC/openSUSE:Factory/.python-cliff-tablib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cliff-tablib"
Tue Sep 5 15:14:37 2017 rev:7 rq:518318 version:2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cliff-tablib/python-cliff-tablib.changes
2017-03-24 02:08:23.348687917 +0100
+++
/work/SRC/openSUSE:Factory/.python-cliff-tablib.new/python-cliff-tablib.changes
2017-09-05 15:14:41.741660675 +0200
@@ -1,0 +2,5 @@
+Wed Aug 23 04:46:32 UTC 2017 - [email protected]
+
+- convert to singlespec
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cliff-tablib.spec ++++++
--- /var/tmp/diff_new_pack.N2kWTi/_old 2017-09-05 15:14:42.597540369 +0200
+++ /var/tmp/diff_new_pack.N2kWTi/_new 2017-09-05 15:14:42.597540369 +0200
@@ -16,6 +16,7 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cliff-tablib
Version: 2.0
Release: 0
@@ -23,17 +24,16 @@
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/dreamhost/cliff-tablib
-Source:
https://pypi.io/packages/source/c/cliff-tablib/cliff-tablib-%{version}.tar.gz
-BuildRequires: python-Sphinx
-BuildRequires: python-devel
+Source:
https://files.pythonhosted.org/packages/source/c/cliff-tablib/cliff-tablib-%{version}.tar.gz
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
Requires: python-cliff
Requires: python-tablib
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
cliff-tablib is a set of formatter extensions for producing JSON,
@@ -45,13 +45,12 @@
%setup -q -n cliff-tablib-%{version}
%build
-python setup.py build
-#python setup.py build_sphinx
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc demoapp
%{python_sitelib}/*