Hello community, here is the log from the commit of package python-bowler for openSUSE:Factory checked in at 2020-06-10 00:41:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bowler (Old) and /work/SRC/openSUSE:Factory/.python-bowler.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bowler" Wed Jun 10 00:41:50 2020 rev:2 rq:809799 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bowler/python-bowler.changes 2019-09-18 13:10:39.100699847 +0200 +++ /work/SRC/openSUSE:Factory/.python-bowler.new.3606/python-bowler.changes 2020-06-10 00:42:08.269985423 +0200 @@ -1,0 +2,5 @@ +Wed May 27 09:36:30 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bowler.spec ++++++ --- /var/tmp/diff_new_pack.Bw8tMW/_old 2020-06-10 00:42:09.401988391 +0200 +++ /var/tmp/diff_new_pack.Bw8tMW/_new 2020-06-10 00:42:09.405988402 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-bowler # -# 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 @@ -39,6 +39,8 @@ Requires: python-fissix Requires: python-setuptools Requires: python-sh +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -62,15 +64,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/bowler %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec -m bowler.tests +%post +%python_install_alternative bowler + +%postun +%python_uninstall_alternative bowler + %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/* -%python3_only %{_bindir}/bowler +%python_alternative %{_bindir}/bowler %changelog
