Hello community,

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

Package is "python-oslo.log"

Tue Mar 24 22:33:20 2020 rev:17 rq:787564 version:3.44.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.log/python-oslo.log.changes  
2020-02-18 10:41:40.409099743 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.log.new.3160/python-oslo.log.changes    
    2020-03-24 22:33:24.845120661 +0100
@@ -1,0 +2,10 @@
+Mon Mar 23 17:21:04 UTC 2020 - Dirk Mueller <[email protected]>
+
+- add obsoletes
+
+-------------------------------------------------------------------
+Sat Mar 14 11:45:12 UTC 2020 - Dirk Mueller <[email protected]>
+
+- switch to python 3.x only builds
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-oslo.log.spec ++++++
--- /var/tmp/diff_new_pack.evTU4D/_old  2020-03-24 22:33:25.817121134 +0100
+++ /var/tmp/diff_new_pack.evTU4D/_new  2020-03-24 22:33:25.861121155 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.log
 #
-# 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,20 +25,6 @@
 URL:            https://launchpad.net/oslo.log
 Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.log/oslo.log-3.44.1.tar.gz
 BuildRequires:  openstack-macros
-BuildRequires:  python2-mock
-BuildRequires:  python2-monotonic >= 1.4
-BuildRequires:  python2-oslo.config >= 5.2.0
-BuildRequires:  python2-oslo.context >= 2.20.0
-BuildRequires:  python2-oslo.i18n >= 3.20.0
-BuildRequires:  python2-oslo.serialization >= 2.25.0
-BuildRequires:  python2-oslo.utils >= 3.36.0
-BuildRequires:  python2-oslotest
-BuildRequires:  python2-pbr >= 3.1.1
-BuildRequires:  python2-pyinotify >= 0.9.6
-BuildRequires:  python2-python-dateutil >= 2.7.0
-BuildRequires:  python2-six >= 1.11.0
-BuildRequires:  python2-stestr
-BuildRequires:  python2-testtools
 BuildRequires:  python3-mock
 BuildRequires:  python3-monotonic >= 1.4
 BuildRequires:  python3-oslo.config >= 5.2.0
@@ -53,33 +39,38 @@
 BuildRequires:  python3-six >= 1.11.0
 BuildRequires:  python3-stestr
 BuildRequires:  python3-testtools
-Requires:       python-debtcollector >= 1.19.0
-Requires:       python-monotonic >= 1.4
-Requires:       python-oslo.config >= 5.2.0
-Requires:       python-oslo.context >= 2.20.0
-Requires:       python-oslo.i18n >= 3.20.0
-Requires:       python-oslo.serialization >= 2.25.0
-Requires:       python-oslo.utils >= 3.36.0
-Requires:       python-pyinotify >= 0.9.6
-Requires:       python-python-dateutil >= 2.7.0
-Requires:       python-six >= 1.11.0
-Requires:       python-systemd
 BuildArch:      noarch
+
+%description
+OpenStack logging configuration library provides standardized configuration
+for all openstack projects.It also provides custom formatters, handlers and
+support for context specific logging (like resource id's etc).
+
+%package -n python3-oslo.log
+Summary:        OpenStack log library
+Group:          Development/Languages/Python
+Requires:       python3-debtcollector >= 1.19.0
+Requires:       python3-monotonic >= 1.4
+Requires:       python3-oslo.config >= 5.2.0
+Requires:       python3-oslo.context >= 2.20.0
+Requires:       python3-oslo.i18n >= 3.20.0
+Requires:       python3-oslo.serialization >= 2.25.0
+Requires:       python3-oslo.utils >= 3.36.0
+Requires:       python3-pyinotify >= 0.9.6
+Requires:       python3-python-dateutil >= 2.7.0
+Requires:       python3-six >= 1.11.0
+Requires:       python3-systemd
 %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
+Obsoletes:      python2-oslo.log < 4.0.0
 %endif
-%python_subpackages
 
-%description
+%description -n python3-oslo.log
 OpenStack logging configuration library provides standardized configuration
 for all openstack projects.It also provides custom formatters, handlers and
 support for context specific logging (like resource id's etc).
 
+This package contains the Python 3.x module.
+
 %package -n python-oslo.log-doc
 Summary:        Documentation for OpenStack log library
 Group:          Development/Languages/Python
@@ -94,31 +85,24 @@
 %py_req_cleanup
 
 %build
-%{python_build}
+%{py3_build}
 
 # generate html docs
 PYTHONPATH=. PBR_VERSION=3.44.1 %sphinx_build -b html doc/source doc/build/html
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-%{python_install}
-%python_clone -a %{buildroot}%{_bindir}/convert-json
-
-%post
-%python_install_alternative convert-json
-
-%postun
-%python_uninstall_alternative convert-json
+%{py3_install}
 
 %check
-%python_exec -m stestr.cli run
+python3 -m stestr.cli run
 
-%files %{python_files}
+%files -n python3-oslo.log
 %license LICENSE
 %doc ChangeLog README.rst
-%{python_sitelib}/oslo_log
-%{python_sitelib}/*.egg-info
-%python_alternative %{_bindir}/convert-json
+%{python3_sitelib}/oslo_log
+%{python3_sitelib}/*.egg-info
+%{_bindir}/convert-json
 
 %files -n python-oslo.log-doc
 %license LICENSE


Reply via email to