Hello community,
here is the log from the commit of package python-oslo.i18n for
openSUSE:Factory checked in at 2020-03-24 22:32:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.i18n (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.i18n.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.i18n"
Tue Mar 24 22:32:23 2020 rev:15 rq:784948 version:3.24.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.i18n/python-oslo.i18n.changes
2020-02-18 10:41:36.793092365 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.i18n.new.3160/python-oslo.i18n.changes
2020-03-24 22:32:24.553091310 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 12:03:25 UTC 2020 - Dirk Mueller <[email protected]>
+
+- switch to python 3.x only builds
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.i18n.spec ++++++
--- /var/tmp/diff_new_pack.DU6NPv/_old 2020-03-24 22:32:25.393091732 +0100
+++ /var/tmp/diff_new_pack.DU6NPv/_new 2020-03-24 22:32:25.393091732 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.i18n
#
-# 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,28 +25,32 @@
URL: https://launchpad.net/oslo.i18n
Source0:
https://files.pythonhosted.org/packages/source/o/oslo.i18n/oslo.i18n-3.24.0.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python2-Babel >= 2.3.4
-BuildRequires: python2-mock
-BuildRequires: python2-oslotest
-BuildRequires: python2-pbr >= 2.0.0
-BuildRequires: python2-stestr
-BuildRequires: python2-testscenarios
BuildRequires: python3-Babel >= 2.3.4
BuildRequires: python3-mock
BuildRequires: python3-oslotest
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-stestr
BuildRequires: python3-testscenarios
-Requires: python-Babel >= 2.3.4
-Requires: python-six >= 1.10.0
BuildArch: noarch
-%python_subpackages
%description
The oslo.i18n library contain utilities for working with internationalization
(i18n) features, especially translation for text strings in an application
or library.
+%package -n python3-oslo.i18n
+Summary: OpenStack i18n library
+Group: Development/Languages/Python
+Requires: python3-Babel >= 2.3.4
+Requires: python3-six >= 1.10.0
+
+%description -n python3-oslo.i18n
+The oslo.i18n library contain utilities for working with internationalization
+(i18n) features, especially translation for text strings in an application
+or library.
+
+This package contains the Python 3.x module.
+
%package -n python-oslo.i18n-doc
Summary: Documentation for OpenStack i18n library
Group: Development/Languages/Python
@@ -61,10 +65,10 @@
%py_req_cleanup
%build
-%{python_build}
+%{py3_build}
%install
-%{python_install}
+%{py3_install}
# generate html docs
PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
@@ -72,12 +76,12 @@
rm -rf doc/build/html/.{doctrees,buildinfo}
%check
-%python_exec -m stestr.cli run
+python3 -m stestr.cli run
-%files %{python_files}
+%files -n python3-oslo.i18n
%license LICENSE
-%{python_sitelib}/oslo_i18n
-%{python_sitelib}/*egg-info
+%{python3_sitelib}/oslo_i18n
+%{python3_sitelib}/*egg-info
%files -n python-oslo.i18n-doc
%doc doc/build/html ChangeLog CONTRIBUTING.rst README.rst