Hello community, here is the log from the commit of package python-python-bidi for openSUSE:Factory checked in at 2020-05-26 17:18:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-bidi (Old) and /work/SRC/openSUSE:Factory/.python-python-bidi.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-bidi" Tue May 26 17:18:12 2020 rev:4 rq:807674 version:0.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-bidi/python-python-bidi.changes 2019-07-22 17:20:19.545895534 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-bidi.new.2738/python-python-bidi.changes 2020-05-26 17:18:45.527902371 +0200 @@ -1,0 +2,5 @@ +Wed May 20 07:26:49 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-bidi.spec ++++++ --- /var/tmp/diff_new_pack.rJLCUQ/_old 2020-05-26 17:18:46.211903842 +0200 +++ /var/tmp/diff_new_pack.rJLCUQ/_new 2020-05-26 17:18:46.215903851 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-python-bidi # -# 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 @@ -29,6 +29,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module six} @@ -47,15 +49,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/pybidi %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test +%post +%python_install_alternative pybidi + +%postun +%python_uninstall_alternative pybidi + %files %{python_files} %doc AUTHORS.rst CHANGELOG.rst README.rst %license COPYING COPYING.LESSER -%python3_only %{_bindir}/pybidi +%python_alternative %{_bindir}/pybidi %{python_sitelib}/* %changelog