Hello community,

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

Package is "python-mistralclient"

Tue Mar 24 22:32:12 2020 rev:11 rq:784068 version:3.10.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-mistralclient/python-mistralclient.changes    
    2019-12-04 14:19:03.466371254 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mistralclient.new.3160/python-mistralclient.changes
      2020-03-24 22:32:14.665086342 +0100
@@ -1,0 +2,5 @@
+Wed Mar 11 21:00:43 UTC 2020 - Dirk Mueller <[email protected]>
+
+- switch to python 3.x only builds
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-mistralclient.spec ++++++
--- /var/tmp/diff_new_pack.1446Kp/_old  2020-03-24 22:32:15.397086709 +0100
+++ /var/tmp/diff_new_pack.1446Kp/_new  2020-03-24 22:32:15.401086712 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mistralclient
 #
-# 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
@@ -26,15 +26,6 @@
 URL:            https://launchpad.net/%{name}
 Source0:        
https://files.pythonhosted.org/packages/source/p/python-mistralclient/python-mistralclient-3.10.0.tar.gz
 BuildRequires:  openstack-macros
-BuildRequires:  python2-PyYAML >= 3.12
-BuildRequires:  python2-fixtures
-BuildRequires:  python2-mock
-BuildRequires:  python2-nose
-BuildRequires:  python2-openstackclient
-BuildRequires:  python2-oslotest
-BuildRequires:  python2-osprofiler
-BuildRequires:  python2-pbr >= 2.0.0
-BuildRequires:  python2-requests-mock
 BuildRequires:  python3-PyYAML >= 3.12
 BuildRequires:  python3-fixtures
 BuildRequires:  python3-mock
@@ -44,33 +35,34 @@
 BuildRequires:  python3-osprofiler
 BuildRequires:  python3-pbr >= 2.0.0
 BuildRequires:  python3-requests-mock
-Requires:       python-PyYAML >= 3.12
-Requires:       python-cliff >= 2.8.0
-Requires:       python-keystoneclient
-Requires:       python-os-client-config
-Requires:       python-osc-lib >= 1.8.0
-Requires:       python-oslo.i18n >= 3.15.3
-Requires:       python-oslo.utils >= 3.33.0
-Requires:       python-osprofiler
-Requires:       python-requests >= 2.14.2
-Requires:       python-six >= 1.10.0
-Requires:       python-stevedore >= 1.20.0
-Conflicts:      %{oldpython}-mistralclient < %version
 BuildArch:      noarch
-%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
-%endif
-%python_subpackages
 
 %description
 Client library for Mistral built on the Mistral API. It provides a Python API
 (the mistralclient module) and a command-line tool (mistral).
 
+%package -n python3-mistralclient
+Summary:        Python API and CLI for OpenStack Mistral
+Group:          Development/Languages/Python
+Requires:       python3-PyYAML >= 3.12
+Requires:       python3-cliff >= 2.8.0
+Requires:       python3-keystoneclient
+Requires:       python3-os-client-config
+Requires:       python3-osc-lib >= 1.8.0
+Requires:       python3-oslo.i18n >= 3.15.3
+Requires:       python3-oslo.utils >= 3.33.0
+Requires:       python3-osprofiler
+Requires:       python3-requests >= 2.14.2
+Requires:       python3-six >= 1.10.0
+Requires:       python3-stevedore >= 1.20.0
+Conflicts:      %{oldpython}-mistralclient < %version
+
+%description -n python3-mistralclient
+Client library for Mistral built on the Mistral API. It provides a Python API
+(the mistralclient module) and a command-line tool (mistral).
+
+This package contains the Python 3.x module.
+
 %package -n python-mistralclient-doc
 Summary:        Documentation for OpenStack Mistral API client libary
 Group:          Documentation/HTML
@@ -88,31 +80,28 @@
 %py_req_cleanup
 
 %build
-%{python_build}
+%{py3_build}
 
 # Build HTML docs
 PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
 rm -r doc/build/html/.{doctrees,buildinfo}
 
 %install
-%{python_install}
-%python_clone -a %{buildroot}%{_bindir}/mistral
-
-%post
-%python_install_alternative mistral
-
-%postun
-%python_uninstall_alternative mistral
+%{py3_install}
 
 %check
 find . -type f -name *.pyc -delete
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
nosetests-%{$python_version} mistralclient/tests/unit
+%if 0%{?suse_version}
+PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests mistralclient/tests/unit
+%else
+PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-3 mistralclient/tests/unit
+%endif
 
-%files %{python_files}
+%files -n python3-mistralclient
 %license LICENSE
-%{python_sitelib}/mistralclient
-%{python_sitelib}/*.egg-info
-%python_alternative %{_bindir}/mistral
+%{python3_sitelib}/mistralclient
+%{python3_sitelib}/*.egg-info
+%{_bindir}/mistral
 
 %files -n python-mistralclient-doc
 %license LICENSE


Reply via email to