Hello community, here is the log from the commit of package python-goobook for openSUSE:Factory checked in at 2020-05-28 09:16:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-goobook (Old) and /work/SRC/openSUSE:Factory/.python-goobook.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-goobook" Thu May 28 09:16:40 2020 rev:2 rq:809363 version:3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-goobook/python-goobook.changes 2019-12-12 23:20:22.782201548 +0100 +++ /work/SRC/openSUSE:Factory/.python-goobook.new.3606/python-goobook.changes 2020-05-28 09:16:54.100904595 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:27 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-goobook.spec ++++++ --- /var/tmp/diff_new_pack.eYBfQc/_old 2020-05-28 09:16:54.716906048 +0200 +++ /var/tmp/diff_new_pack.eYBfQc/_new 2020-05-28 09:16:54.720906057 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-goobook # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -31,6 +31,8 @@ Requires: python-google-api-python-client >= 1.6.4 Requires: python-oauth2client >= 1.5.0 Requires: python-simplejson >= 2.1.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -50,12 +52,19 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/goobook %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative goobook + +%postun +%python_uninstall_alternative goobook + %files %{python_files} %doc CHANGES.rst README.rst %license LICENSE.txt -%python3_only %{_bindir}/goobook +%python_alternative %{_bindir}/goobook %{python_sitelib}/* %changelog
