Hello community,
here is the log from the commit of package python-heatclient for
openSUSE:Factory checked in at 2020-03-24 22:33:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-heatclient (Old)
and /work/SRC/openSUSE:Factory/.python-heatclient.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-heatclient"
Tue Mar 24 22:33:04 2020 rev:31 rq:787453 version:1.18.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-heatclient/python-heatclient.changes
2019-12-04 14:18:50.114362112 +0100
+++
/work/SRC/openSUSE:Factory/.python-heatclient.new.3160/python-heatclient.changes
2020-03-24 22:33:06.409111701 +0100
@@ -1,0 +2,10 @@
+Mon Mar 23 12:25:57 UTC 2020 - Dirk Mueller <[email protected]>
+
+- add obsoletes
+
+-------------------------------------------------------------------
+Wed Mar 11 17:05:20 UTC 2020 - Dirk Mueller <[email protected]>
+
+- switch to python 3.x only build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-heatclient.spec ++++++
--- /var/tmp/diff_new_pack.OkoKsE/_old 2020-03-24 22:33:07.513112238 +0100
+++ /var/tmp/diff_new_pack.OkoKsE/_new 2020-03-24 22:33:07.517112240 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-heatclient
#
-# 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,20 +25,6 @@
URL: https://launchpad.net/python-heatclient
Source0:
https://files.pythonhosted.org/packages/source/p/python-heatclient/python-heatclient-1.18.0.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-devel
-BuildRequires: python2-PyYAML >= 3.12
-BuildRequires: python2-cliff >= 2.8.0
-BuildRequires: python2-fixtures
-BuildRequires: python2-mock
-BuildRequires: python2-mox3
-BuildRequires: python2-osc-lib >= 1.8.0
-BuildRequires: python2-oslo.serialization >= 2.18.0
-BuildRequires: python2-pbr >= 2.0.0
-BuildRequires: python2-requests-mock
-BuildRequires: python2-stestr
-BuildRequires: python2-swiftclient >= 3.2.0
-BuildRequires: python2-testscenarios
-BuildRequires: python2-testtools
BuildRequires: python3-PyYAML >= 3.12
BuildRequires: python3-cliff >= 2.8.0
BuildRequires: python3-devel
@@ -53,31 +39,47 @@
BuildRequires: python3-swiftclient >= 3.2.0
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
-Requires: python-Babel >= 2.3.4
-Requires: python-PrettyTable >= 0.7.2
-Requires: python-PyYAML >= 3.12
-Requires: python-cliff >= 2.8.0
-Requires: python-iso8601 >= 0.1.11
-Requires: python-keystoneauth1 >= 3.4.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-requests >= 2.14.2
-Requires: python-six >= 1.10.0
-Requires: python-swiftclient >= 3.2.0
+Requires: python3-Babel >= 2.3.4
+Requires: python3-PrettyTable >= 0.7.2
+Requires: python3-PyYAML >= 3.12
+Requires: python3-cliff >= 2.8.0
+Requires: python3-iso8601 >= 0.1.11
+Requires: python3-keystoneauth1 >= 3.4.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-requests >= 2.14.2
+Requires: python3-six >= 1.10.0
+Requires: python3-swiftclient >= 3.2.0
BuildArch: noarch
+
+%description
+This is a client for the OpenStack Heat API. There's a Python API (the
+heatclient module), and a command-line script (heat). Each implements 100% of
+the OpenStack Heat API.
+
+%package -n python3-heatclient
+Summary: Python API and CLI for OpenStack Heat
+Group: Development/Languages/Python
+Requires: python3-Babel >= 2.3.4
+Requires: python3-PrettyTable >= 0.7.2
+Requires: python3-PyYAML >= 3.12
+Requires: python3-cliff >= 2.8.0
+Requires: python3-iso8601 >= 0.1.11
+Requires: python3-keystoneauth1 >= 3.4.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-requests >= 2.14.2
+Requires: python3-six >= 1.10.0
+Requires: python3-swiftclient >= 3.2.0
%if 0%{?suse_version}
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-%else
-# on RDO, update-alternatives is in chkconfig
-Requires(post): chkconfig
-Requires(postun): chkconfig
+Obsoletes: python2-heatclient < 2.0.0
%endif
-%python_subpackages
-%description
+%description -n python3-heatclient
This is a client for the OpenStack Heat API. There's a Python API (the
heatclient module), and a command-line script (heat). Each implements 100% of
the OpenStack Heat API.
@@ -85,8 +87,8 @@
%package -n python-heatclient-doc
Summary: Documentation for OpenStack Heat API Client
Group: Documentation/HTML
-BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme
+BuildRequires: python3-Sphinx
+BuildRequires: python3-openstackdocstheme
%description -n python-heatclient-doc
This is a client for the OpenStack Heat API. There's a Python API (the
@@ -99,40 +101,30 @@
%py_req_cleanup
%build
-%{python_build}
+%{py3_build}
-%{__python2} setup.py build_sphinx --builder=html,man
-PBR_VERSION=1.18.0 sphinx-build -b html doc/source doc/build/html
-PBR_VERSION=1.18.0 sphinx-build -b man doc/source doc/build/man
+PBR_VERSION=1.18.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=1.18.0 %sphinx_build -b man doc/source doc/build/man
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
-%{python_install}
+%{py3_install}
# man page
install -p -D -m 644 doc/build/man/heat.1 %{buildroot}%{_mandir}/man1/heat.1
# bash completion
install -p -D -m 644 tools/heat.bash_completion
%{buildroot}%{_sysconfdir}/bash_completion.d/heat.bash_completion
-%python_clone -a %{buildroot}%{_bindir}/heat
-%python_clone -a %{buildroot}%{_mandir}/man1/heat.1
-%python_clone -a
%{buildroot}%{_sysconfdir}/bash_completion.d/heat.bash_completion
-
-%post
-%{python_install_alternative heat heat.1
%{_sysconfdir}/bash_completion.d/heat.bash_completion}
-
-%postun
-%python_uninstall_alternative heat
%check
-%python_exec -m stestr.cli run
+python3 -m stestr.cli run
-%files %{python_files}
+%files -n python3-heatclient
%license LICENSE
-%{python_sitelib}/heatclient
-%{python_sitelib}/*.egg-info
-%python_alternative %{_bindir}/heat
-%python_alternative %{_mandir}/man1/heat.1
-%python_alternative %{_sysconfdir}/bash_completion.d/heat.bash_completion
+%{python3_sitelib}/heatclient
+%{python3_sitelib}/*.egg-info
+%{_bindir}/heat
+%{_mandir}/man1/heat.1*
+%{_sysconfdir}/bash_completion.d/heat.bash_completion
%files -n python-heatclient-doc
%license LICENSE