Hello community, here is the log from the commit of package python-oslotest for openSUSE:Factory checked in at 2020-04-19 21:45:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslotest (Old) and /work/SRC/openSUSE:Factory/.python-oslotest.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslotest" Sun Apr 19 21:45:51 2020 rev:20 rq:788143 version:3.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslotest/python-oslotest.changes 2019-11-04 17:04:55.600166277 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslotest.new.2738/python-oslotest.changes 2020-04-19 21:46:02.563668208 +0200 @@ -1,0 +2,5 @@ +Sat Mar 14 12:06:11 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- switch to python 3.x only builds + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslotest.spec ++++++ --- /var/tmp/diff_new_pack.1AlS5P/_old 2020-04-19 21:46:05.455674010 +0200 +++ /var/tmp/diff_new_pack.1AlS5P/_new 2020-04-19 21:46:05.455674010 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-oslotest # -# 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,15 +25,6 @@ URL: https://launchpad.net/oslotest Source0: https://files.pythonhosted.org/packages/source/o/oslotest/oslotest-3.8.1.tar.gz BuildRequires: openstack-macros -BuildRequires: python2-debtcollector >= 1.2.0 -BuildRequires: python2-fixtures >= 3.0.0 -BuildRequires: python2-mock >= 2.0.0 -BuildRequires: python2-mox3 >= 0.20.0 -BuildRequires: python2-pbr -BuildRequires: python2-python-subunit >= 1.0.0 -BuildRequires: python2-six >= 1.10.0 -BuildRequires: python2-stestr >= 2.0.0 -BuildRequires: python2-testtools >= 2.2.0 BuildRequires: python3-debtcollector >= 1.2.0 BuildRequires: python3-fixtures >= 3.0.0 BuildRequires: python3-mock >= 2.0.0 @@ -43,64 +34,52 @@ BuildRequires: python3-six >= 1.10.0 BuildRequires: python3-stestr >= 2.0.0 BuildRequires: python3-testtools >= 2.2.0 -Requires: python-debtcollector >= 1.2.0 -Requires: python-fixtures >= 3.0.0 -Requires: python-mock >= 2.0.0 -Requires: python-mox3 >= 0.20.0 -# NOTE: python-os-client-config is only needed for functional testing -# Requires: python-os-client-config >= 1.28.0 -Requires: python-python-subunit >= 1.0.0 -Requires: python-six >= 1.10.0 -Requires: python-stestr >= 2.0.0 -Requires: python-testtools >= 2.2.0 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 The Oslo Test framework provides common fixtures, support for debugging, and better support for mocking results. +%package -n python3-oslotest +Summary: OpenStack test framework +Group: Development/Languages/Python +Requires: python3-debtcollector >= 1.2.0 +Requires: python3-fixtures >= 3.0.0 +Requires: python3-mock >= 2.0.0 +Requires: python3-mox3 >= 0.20.0 +# NOTE: python-os-client-config is only needed for functional testing +# Requires: python3-os-client-config >= 1.28.0 +Requires: python3-python-subunit >= 1.0.0 +Requires: python3-six >= 1.10.0 +Requires: python3-stestr >= 2.0.0 +Requires: python3-testtools >= 2.2.0 + +%description -n python3-oslotest +The Oslo Test framework provides common fixtures, support for debugging, and +better support for mocking results. + +This package contains the Python 3.x module. + %prep %autosetup -p1 -n oslotest-%{version} %py_req_cleanup %build -%python_build +%py3_build %install -%python_install -%python_clone -a %{buildroot}%{_bindir}/oslo_debug_helper -%python_clone -a %{buildroot}%{_bindir}/oslo_run_cross_tests -%python_clone -a %{buildroot}%{_bindir}/oslo_run_pre_release_tests - -%post -%python_install_alternative oslo_debug_helper -%python_install_alternative oslo_run_cross_tests -%python_install_alternative oslo_run_pre_release_tests - -%postun -%python_uninstall_alternative oslo_debug_helper -%python_uninstall_alternative oslo_run_cross_tests -%python_uninstall_alternative oslo_run_pre_release_tests +%py3_install %check -%python_exec -m stestr.cli run +python3 -m stestr.cli run -%files %{python_files} +%files -n python3-oslotest %license LICENSE %doc ChangeLog README.rst -%python_alternative %{_bindir}/oslo_debug_helper -%python_alternative %{_bindir}/oslo_run_cross_tests -%python_alternative %{_bindir}/oslo_run_pre_release_tests -%{python_sitelib}/oslotest -%{python_sitelib}/oslotest*egg-info +%{_bindir}/oslo_debug_helper +%{_bindir}/oslo_run_cross_tests +%{_bindir}/oslo_run_pre_release_tests +%{python3_sitelib}/oslotest +%{python3_sitelib}/oslotest*egg-info %changelog