Hello community, here is the log from the commit of package python-oslo.context for openSUSE:Factory checked in at 2020-03-29 14:25:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old) and /work/SRC/openSUSE:Factory/.python-oslo.context.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.context" Sun Mar 29 14:25:27 2020 rev:14 rq:788137 version:2.23.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes 2020-02-18 10:41:31.513081592 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.context.new.3160/python-oslo.context.changes 2020-03-29 14:25:42.878098096 +0200 @@ -1,0 +2,5 @@ +Sat Mar 14 11:45:31 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- switch to python 3.x only builds + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.context.spec ++++++ --- /var/tmp/diff_new_pack.DLn19w/_old 2020-03-29 14:25:43.334098330 +0200 +++ /var/tmp/diff_new_pack.DLn19w/_new 2020-03-29 14:25:43.334098330 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-oslo.context # -# 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,21 +26,14 @@ URL: https://launchpad.net/oslo.context Source0: https://files.pythonhosted.org/packages/source/o/oslo.context/oslo.context-2.23.0.tar.gz BuildRequires: openstack-macros -BuildRequires: python2-pbr >= 2.0.0 BuildRequires: python3-pbr >= 2.0.0 -Requires: python-debtcollector >= 1.2.0 BuildArch: noarch %if %{with test} -BuildRequires: python2-debtcollector >= 1.2.0 -BuildRequires: python2-fixtures -BuildRequires: python2-oslotest -BuildRequires: python2-stestr BuildRequires: python3-debtcollector >= 1.2.0 BuildRequires: python3-fixtures BuildRequires: python3-oslotest BuildRequires: python3-stestr %endif -%python_subpackages %description The Oslo context library has helpers to maintain useful information @@ -48,6 +41,19 @@ The request context is usually populated in the WSGI pipeline and used by various modules such as logging. +%package -n python3-oslo.context +Summary: OpenStack Oslo context library +Group: Development/Languages/Python +Requires: python3-debtcollector >= 1.2.0 + +%description -n python3-oslo.context +The Oslo context library has helpers to maintain useful information +about a request context. +The request context is usually populated in the WSGI pipeline and +used by various modules such as logging. + +This package contains the Python 3.x module. + %package -n python-oslo.context-doc Summary: Documentation for OpenStack common context library Group: Documentation/HTML @@ -62,25 +68,25 @@ %py_req_cleanup %build -%{python_build} +%{py3_build} # generate html docs PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} %install -%{python_install} +%{py3_install} %if %{with test} %check -%python_exec -m stestr.cli run +python3 -m stestr.cli run %endif -%files %{python_files} +%files -n python3-oslo.context %license LICENSE %doc README.rst -%{python_sitelib}/oslo_context -%{python_sitelib}/*.egg-info +%{python3_sitelib}/oslo_context +%{python3_sitelib}/*.egg-info %files -n python-oslo.context-doc %license LICENSE