Hello community, here is the log from the commit of package python-mistralclient for openSUSE:Factory checked in at 2019-12-04 13:49:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mistralclient (Old) and /work/SRC/openSUSE:Factory/.python-mistralclient.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mistralclient" Wed Dec 4 13:49:11 2019 rev:10 rq:743548 version:3.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mistralclient/python-mistralclient.changes 2019-06-12 13:16:07.816701473 +0200 +++ /work/SRC/openSUSE:Factory/.python-mistralclient.new.4691/python-mistralclient.changes 2019-12-04 14:19:03.466371254 +0100 @@ -1,0 +2,26 @@ +Wed Oct 9 13:02:58 UTC 2019 - cloud-de...@suse.de + +- update to version 3.10.0 + - Use openstack-python3-train-jobs for python3 test runtime + - Add "published_global" field to the task execution REST resource + - Update sphinx dependency + - Blacklist sphinx 2.1.0 (autodoc bug) + - Dropping the py35 testing + - Don't use default mutable parameter + - Update master for stable/stein + - Fix typo for self.list + - Add Python 3 Train unit tests + - Modify the url of upper_constraints_file + - Replace openstack.org git:// URLs with https:// + - Add "retry_count" to execution report + - Update json module to jsonutils + - OpenDev Migration Patch + - Some resource managers are not using the base underscore methods + - Replace git.openstack.org URLs with opendev.org URLs + - remove unused gate code + - Change tripleo job to multinode-containers job + - Bump openstackdocstheme to 1.30.0 + - Add python 3.7 classifier to setup.cfg + - Rename the test class so it will be PyCharm friendly + +------------------------------------------------------------------- Old: ---- python-mistralclient-3.8.1.tar.gz New: ---- python-mistralclient-3.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mistralclient.spec ++++++ --- /var/tmp/diff_new_pack.veGRvo/_old 2019-12-04 14:19:03.874371598 +0100 +++ /var/tmp/diff_new_pack.veGRvo/_new 2019-12-04 14:19:03.878371601 +0100 @@ -16,27 +16,34 @@ # +%global oldpython python Name: python-mistralclient -Version: 3.8.1 +Version: 3.10.0 Release: 0 Summary: Python API and CLI for OpenStack Mistral License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/%{name} -Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/python-mistralclient/python-mistralclient-3.10.0.tar.gz BuildRequires: openstack-macros -BuildRequires: python-PyYAML >= 3.12 -BuildRequires: python-fixtures -BuildRequires: python-mock -BuildRequires: python-nose -BuildRequires: python-openstackclient -BuildRequires: python-oslotest -BuildRequires: python-osprofiler -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-requests-mock -BuildRequires: python-setuptools -BuildRequires: python-testrepository -BuildRequires: python-testtools +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 +BuildRequires: python3-nose +BuildRequires: python3-openstackclient +BuildRequires: python3-oslotest +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 @@ -48,53 +55,67 @@ 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 doc +%package -n python-mistralclient-doc Summary: Documentation for OpenStack Mistral API client libary Group: Documentation/HTML -BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme -BuildRequires: python-sphinxcontrib-apidoc +BuildRequires: python3-Sphinx +BuildRequires: python3-openstackdocstheme +BuildRequires: python3-sphinxcontrib-apidoc -%description doc +%description -n python-mistralclient-doc 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 documentation. %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 -n python-mistralclient-3.10.0 %py_req_cleanup %build -%py2_build +%{python_build} -# Build HTML docs and man page -PBR_VERSION=%{version} sphinx-build -b html doc/source doc/build/html -PBR_VERSION=%{version} sphinx-build -b man doc/source doc/build/man +# Build HTML docs +PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html rm -r doc/build/html/.{doctrees,buildinfo} %install -%py2_install -#man pages -install -p -D -m 644 doc/build/man/mistral_client.1 %{buildroot}%{_mandir}/man1/mistral_client.1 +%{python_install} +%python_clone -a %{buildroot}%{_bindir}/mistral + +%post +%python_install_alternative mistral + +%postun +%python_uninstall_alternative mistral %check find . -type f -name *.pyc -delete -PYTHONPATH=. nosetests mistralclient/tests/unit +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_version} mistralclient/tests/unit -%files +%files %{python_files} %license LICENSE -%{python2_sitelib}/mistralclient -%{python2_sitelib}/*.egg-info -%{_bindir}/mistral -%{_mandir}/man1/mistral_client.1.* +%{python_sitelib}/mistralclient +%{python_sitelib}/*.egg-info +%python_alternative %{_bindir}/mistral -%files doc +%files -n python-mistralclient-doc %license LICENSE +%doc README.rst doc/build/html %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.veGRvo/_old 2019-12-04 14:19:03.910371629 +0100 +++ /var/tmp/diff_new_pack.veGRvo/_new 2019-12-04 14:19:03.914371632 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://git.openstack.org/cgit/openstack/rpm-packaging/plain/openstack/python-mistralclient/python-mistralclient.spec.j2?h=stable/stein</param> + <param name="input-template">https://git.openstack.org/cgit/openstack/rpm-packaging/plain/openstack/python-mistralclient/python-mistralclient.spec.j2?h=stable/train</param> <param name="output-name">python-mistralclient.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/python-mistralclient/stable/stein/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/python-mistralclient/stable/train/requirements.txt</param> <param name="changelog-email">cloud-de...@suse.de</param> <param name="changelog-provider">gh,openstack,python-mistralclient</param> ++++++ python-mistralclient-3.8.1.tar.gz -> python-mistralclient-3.10.0.tar.gz ++++++ ++++ 1704 lines of diff (skipped)