Hello community,

here is the log from the commit of package python-openstackclient for 
openSUSE:Factory checked in at 2020-03-24 22:33:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openstackclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-openstackclient.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-openstackclient"

Tue Mar 24 22:33:31 2020 rev:20 rq:787716 version:4.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-openstackclient/python-openstackclient.changes
    2019-12-04 14:18:58.654367198 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openstackclient.new.3160/python-openstackclient.changes
  2020-03-24 22:33:32.825124539 +0100
@@ -1,0 +2,15 @@
+Tue Mar 24 09:48:59 UTC 2020 - Dirk Mueller <[email protected]>
+
+- add obsoletes
+
+-------------------------------------------------------------------
+Mon Mar 23 14:46:35 UTC 2020 - Dirk Mueller <[email protected]>
+
+- remove nonsensical update-alternatives, which leaves an empty file behind 
+
+-------------------------------------------------------------------
+Thu Mar 12 08:31:58 UTC 2020 - Dirk Mueller <[email protected]>
+
+- switch to python 3.x only package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-openstackclient.spec ++++++
--- /var/tmp/diff_new_pack.1QZUzK/_old  2020-03-24 22:33:33.953125088 +0100
+++ /var/tmp/diff_new_pack.1QZUzK/_new  2020-03-24 22:33:33.957125090 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-openstackclient
 #
-# 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,25 +25,6 @@
 URL:            https://launchpad.net/python-openstackclient
 Source0:        
https://files.pythonhosted.org/packages/source/p/python-openstackclient/python-openstackclient-4.0.0.tar.gz
 BuildRequires:  openstack-macros
-BuildRequires:  python-devel
-BuildRequires:  python2-cinderclient >= 3.3.0
-BuildRequires:  python2-cliff >= 2.8.0
-BuildRequires:  python2-fixtures
-BuildRequires:  python2-glanceclient >= 2.8.0
-BuildRequires:  python2-keystoneclient >= 3.17.0
-BuildRequires:  python2-mock
-BuildRequires:  python2-novaclient >= 15.0.0
-BuildRequires:  python2-openstacksdk >= 0.17.0
-BuildRequires:  python2-os-client-config
-BuildRequires:  python2-osc-lib >= 1.14.0
-BuildRequires:  python2-oslotest
-BuildRequires:  python2-osprofiler
-BuildRequires:  python2-requests
-BuildRequires:  python2-requests-mock
-BuildRequires:  python2-stestr
-BuildRequires:  python2-stevedore
-BuildRequires:  python2-testtools
-BuildRequires:  python2-wrapt
 BuildRequires:  python3-cinderclient >= 3.3.0
 BuildRequires:  python3-cliff >= 2.8.0
 BuildRequires:  python3-devel
@@ -63,55 +44,60 @@
 BuildRequires:  python3-stevedore
 BuildRequires:  python3-testtools
 BuildRequires:  python3-wrapt
-Requires:       python-Babel >= 2.3.4
-Requires:       python-cinderclient >= 3.3.0
-Requires:       python-cliff >= 2.8.0
-Requires:       python-glanceclient >= 2.8.0
-Requires:       python-heatclient
-Requires:       python-keystoneauth1 >= 3.6.2
-Requires:       python-keystoneclient >= 3.17.0
-Requires:       python-novaclient >= 15.0.0
-Requires:       python-openstacksdk >= 0.17.0
-Requires:       python-osc-lib >= 1.14.0
-Requires:       python-oslo.i18n >= 3.15.3
-Requires:       python-oslo.utils >= 3.33.0
-Requires:       python-six >= 1.10.0
 BuildArch:      noarch
+
+%description
+python-openstackclient is a unified command-line client for the OpenStack APIs.
+It is a thin wrapper to the stock python-*client modules that implement the
+actual REST API client actions.
+
+%package -n python3-openstackclient
+Summary:        OpenStack Command-line Client
+Group:          Development/Languages/Python
+Requires:       python3-Babel >= 2.3.4
+Requires:       python3-cinderclient >= 3.3.0
+Requires:       python3-cliff >= 2.8.0
+Requires:       python3-glanceclient >= 2.8.0
+Requires:       python3-heatclient
+Requires:       python3-keystoneauth1 >= 3.6.2
+Requires:       python3-keystoneclient >= 3.17.0
+Requires:       python3-novaclient >= 15.0.0
+Requires:       python3-openstacksdk >= 0.17.0
+Requires:       python3-osc-lib >= 1.14.0
+Requires:       python3-oslo.i18n >= 3.15.3
+Requires:       python3-oslo.utils >= 3.33.0
+Requires:       python3-six >= 1.10.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-openstackclient < 4.0.0
 %endif
-%python_subpackages
 
-%description
+%description -n python3-openstackclient
 python-openstackclient is a unified command-line client for the OpenStack APIs.
 It is a thin wrapper to the stock python-*client modules that implement the
 actual REST API client actions.
 
+This package contains the Python 3.x module.
+
 %package -n python-openstackclient-doc
 Summary:        Documentation for OpenStack Command-line Client
 # Some clients are commented out, since they have not been built yet
 # TODO(jpena): uncomment them to enable their sections in the documentation
 Group:          Documentation/HTML
-BuildRequires:  python-Sphinx
-#BuildRequires:  python-aodhclient
-#BuildRequires:  python-barbicanclient
-#BuildRequires:  python-congressclient
-#BuildRequires:  python-designateclient
-#BuildRequires:  python-heatclient
-#BuildRequires:  python-ironicclient
-#BuildRequires:  python-mistralclient
-#BuildRequires:  python-muranoclient
-#BuildRequires:  python-neutronclient
-BuildRequires:  python-openstackdocstheme
-#BuildRequires:  python-ironic-inspector-client
-#BuildRequires:  python-saharaclient
-#BuildRequires:  python-zaqarclient
-BuildRequires:  python-sphinxcontrib-apidoc
+BuildRequires:  python3-Sphinx
+#BuildRequires:  python3-aodhclient
+#BuildRequires:  python3-barbicanclient
+#BuildRequires:  python3-congressclient
+#BuildRequires:  python3-designateclient
+#BuildRequires:  python3-heatclient
+#BuildRequires:  python3-ironicclient
+#BuildRequires:  python3-mistralclient
+#BuildRequires:  python3-muranoclient
+#BuildRequires:  python3-neutronclient
+BuildRequires:  python3-openstackdocstheme
+#BuildRequires:  python3-ironic-inspector-client
+#BuildRequires:  python3-saharaclient
+#BuildRequires:  python3-zaqarclient
+BuildRequires:  python3-sphinxcontrib-apidoc
 
 %description -n python-openstackclient-doc
 python-openstackclient is a unified command-line client for the OpenStack APIs.
@@ -124,36 +110,28 @@
 %py_req_cleanup
 
 %build
-%{python_build}
+%{py3_build}
 
-PBR_VERSION=4.0.0 sphinx-build -b html doc/source doc/build/html
-PBR_VERSION=4.0.0 sphinx-build -b man doc/source doc/build/man
+PBR_VERSION=4.0.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=4.0.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/openstack.1 
%{buildroot}%{_mandir}/man1/openstack.1
-%python_clone -a %{buildroot}%{_bindir}/openstack
-%python_clone -a %{buildroot}%{_mandir}/man1/openstack.1
-
-%post
-%{python_install_alternative openstack openstack.1}
-
-%postun
-%python_uninstall_alternative openstack
 
 %check
-%python_exec -m stestr.cli run
+python3 -m stestr.cli run
 
-%files %{python_files}
+%files -n python3-openstackclient
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/openstackclient
-%{python_sitelib}/*.egg-info
-%python_alternative %{_bindir}/openstack
-%python_alternative %{_mandir}/man1/openstack.1
+%{python3_sitelib}/openstackclient
+%{python3_sitelib}/*.egg-info
+%{_bindir}/openstack
+%{_mandir}/man1/openstack.1.gz
 
 %files -n python-openstackclient-doc
 %license LICENSE


Reply via email to