Hello community,
here is the log from the commit of package python-senlinclient for
openSUSE:Factory checked in at 2020-03-24 22:32:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-senlinclient (Old)
and /work/SRC/openSUSE:Factory/.python-senlinclient.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-senlinclient"
Tue Mar 24 22:32:04 2020 rev:9 rq:783833 version:1.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-senlinclient/python-senlinclient.changes
2019-12-04 14:19:00.490368746 +0100
+++
/work/SRC/openSUSE:Factory/.python-senlinclient.new.3160/python-senlinclient.changes
2020-03-24 22:32:06.249082114 +0100
@@ -1,0 +2,5 @@
+Wed Mar 11 13:11:11 UTC 2020 - Dirk Mueller <[email protected]>
+
+- switch to python 3.x only
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-senlinclient.spec ++++++
--- /var/tmp/diff_new_pack.Jxd0hz/_old 2020-03-24 22:32:07.245082614 +0100
+++ /var/tmp/diff_new_pack.Jxd0hz/_new 2020-03-24 22:32:07.253082618 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-senlinclient
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,24 +25,6 @@
URL: https://launchpad.net/python-senlinclient
Source0:
https://files.pythonhosted.org/packages/source/p/python-senlinclient/python-senlinclient-1.11.0.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-devel
-BuildRequires: python2-Babel >= 2.3.4
-BuildRequires: python2-PrettyTable >= 0.7.2
-BuildRequires: python2-PyYAML >= 3.12
-BuildRequires: python2-fixtures
-BuildRequires: python2-heatclient >= 1.10.0
-BuildRequires: python2-mock
-BuildRequires: python2-openstackclient
-BuildRequires: python2-openstacksdk >= 0.24.0
-BuildRequires: python2-osc-lib >= 1.8.0
-BuildRequires: python2-oslo.i18n >= 3.15.3
-BuildRequires: python2-oslo.serialization >= 2.18.0
-BuildRequires: python2-oslo.utils >= 3.33.0
-BuildRequires: python2-oslotest
-BuildRequires: python2-pbr >= 2.0.0
-BuildRequires: python2-requests >= 2.14.2
-BuildRequires: python2-requests-mock
-BuildRequires: python2-stestr
BuildRequires: python3-Babel >= 2.3.4
BuildRequires: python3-PrettyTable >= 0.7.2
BuildRequires: python3-PyYAML >= 3.12
@@ -61,22 +43,7 @@
BuildRequires: python3-requests >= 2.14.2
BuildRequires: python3-requests-mock
BuildRequires: python3-stestr
-Requires: python-Babel >= 2.3.4
-Requires: python-PrettyTable >= 0.7.2
-Requires: python-PyYAML >= 3.12
-Requires: python-heatclient >= 1.10.0
-Requires: python-keystoneauth1 >= 3.4.0
-Requires: python-openstackclient
-Requires: python-openstacksdk >= 0.24.0
-Requires: python-osc-lib >= 1.8.0
-Requires: python-oslo.i18n >= 3.15.3
-Requires: python-oslo.serialization >= 2.18.0
-Requires: python-oslo.utils >= 3.33.0
-Requires: python-pbr >= 2.0.0
-Requires: python-requests >= 2.14.2
-Requires: python-six >= 1.10.0
BuildArch: noarch
-%python_subpackages
%description
OpenStack Clustering service Provisioning API Client Library
@@ -84,12 +51,38 @@
This is a client for the OpenStack Senlin API.
It provides a Python API (the senlinclient module).
+%package -n python3-senlinclient
+Summary: Python API and CLI for OpenStack Senlin
+Group: Development/Languages/Python
+Requires: python3-Babel >= 2.3.4
+Requires: python3-PrettyTable >= 0.7.2
+Requires: python3-PyYAML >= 3.12
+Requires: python3-heatclient >= 1.10.0
+Requires: python3-keystoneauth1 >= 3.4.0
+Requires: python3-openstackclient
+Requires: python3-openstacksdk >= 0.24.0
+Requires: python3-osc-lib >= 1.8.0
+Requires: python3-oslo.i18n >= 3.15.3
+Requires: python3-oslo.serialization >= 2.18.0
+Requires: python3-oslo.utils >= 3.33.0
+Requires: python3-pbr >= 2.0.0
+Requires: python3-requests >= 2.14.2
+Requires: python3-six >= 1.10.0
+
+%description -n python3-senlinclient
+OpenStack Clustering service Provisioning API Client Library
+
+This is a client for the OpenStack Senlin API.
+It provides a Python API (the senlinclient module).
+
+This package provides the Python 3.x module.
+
%package -n python-senlinclient-doc
Summary: Documentation for OpenStack Senlin API Client
Group: Documentation/HTML
-BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme
-BuildRequires: python-reno
+BuildRequires: python3-Sphinx
+BuildRequires: python3-openstackdocstheme
+BuildRequires: python3-reno
%description -n python-senlinclient-doc
This is a client for the OpenStack Senlin API.
@@ -101,24 +94,23 @@
%py_req_cleanup
%build
-%{python_build}
+%{py3_build}
-%{__python2} setup.py build_sphinx
-PBR_VERSION=%version sphinx-build -b html doc/source doc/build/html
+PBR_VERSION=%version %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
-%{python_install}
+%{py3_install}
%check
-%python_exec -m stestr.cli run
+python3 -m stestr.cli run
-%files %{python_files}
+%files -n python3-senlinclient
%license LICENSE
%doc README.rst
-%{python_sitelib}/senlinclient
-%{python_sitelib}/*.egg-info
+%{python3_sitelib}/senlinclient
+%{python3_sitelib}/*.egg-info
%files -n python-senlinclient-doc
%license LICENSE