Hello community, here is the log from the commit of package python-bashate for openSUSE:Factory checked in at 2020-06-10 00:42:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bashate (Old) and /work/SRC/openSUSE:Factory/.python-bashate.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bashate" Wed Jun 10 00:42:32 2020 rev:4 rq:809805 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bashate/python-bashate.changes 2020-03-03 10:16:12.398646182 +0100 +++ /work/SRC/openSUSE:Factory/.python-bashate.new.3606/python-bashate.changes 2020-06-10 00:42:40.830070805 +0200 @@ -1,0 +2,5 @@ +Wed May 27 09:36:25 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bashate.spec ++++++ --- /var/tmp/diff_new_pack.0EBVio/_old 2020-06-10 00:42:42.338074759 +0200 +++ /var/tmp/diff_new_pack.0EBVio/_new 2020-06-10 00:42:42.342074770 +0200 @@ -36,6 +36,8 @@ BuildRequires: python-argparse Requires: python-Babel >= 0.9.6 Requires: python-pbr +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %ifpython2 Requires: python-argparse @@ -62,6 +64,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/bashate %{python_expand # rm -rf %{buildroot}%{$python_sitelib}/bashate/tests sed -i -e '/^#!\//, 1d' %{buildroot}%{$python_sitelib}/bashate/bashate.py @@ -71,10 +74,16 @@ %check %python_exec -m stestr.cli run +%post +%python_install_alternative bashate + +%postun +%python_uninstall_alternative bashate + %files %{python_files} %license LICENSE %doc AUTHORS README.rst ChangeLog -%python3_only %{_bindir}/bashate +%python_alternative %{_bindir}/bashate %{python_sitelib}/* %changelog
