Hello community, here is the log from the commit of package python-bobo for openSUSE:Factory checked in at 2020-06-10 00:41:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bobo (Old) and /work/SRC/openSUSE:Factory/.python-bobo.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bobo" Wed Jun 10 00:41:59 2020 rev:4 rq:809801 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bobo/python-bobo.changes 2018-12-13 19:39:58.973335739 +0100 +++ /work/SRC/openSUSE:Factory/.python-bobo.new.3606/python-bobo.changes 2020-06-10 00:42:13.858000076 +0200 @@ -1,0 +2,5 @@ +Wed May 27 09:36:30 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bobo.spec ++++++ --- /var/tmp/diff_new_pack.53jk6S/_old 2020-06-10 00:42:16.590007240 +0200 +++ /var/tmp/diff_new_pack.53jk6S/_new 2020-06-10 00:42:16.594007251 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-bobo # -# Copyright (c) 2018 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 @@ -24,10 +24,16 @@ Summary: Web application framework for the impatient License: ZPL-2.1 Group: Development/Languages/Python -Url: http://bobo.readthedocs.io/ +URL: http://bobo.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/b/bobo/bobo-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-WebOb +Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch # SECTION test requirements %if %{with test} BuildRequires: %{python_module WebOb} @@ -35,11 +41,6 @@ BuildRequires: %{python_module six} %endif # /SECTION -BuildRequires: fdupes -Requires: python-WebOb -Requires: python-six -BuildArch: noarch - %python_subpackages %description @@ -61,12 +62,18 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/bobo %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative bobo + +%postun +%python_uninstall_alternative bobo + %files %{python_files} -%defattr(-,root,root,-) %doc CHANGES.rst README.rst -%python3_only %{_bindir}/bobo +%python_alternative %{_bindir}/bobo %{python_sitelib}/* %changelog
