Hello community,

here is the log from the commit of package python-python-bidi for 
openSUSE:Leap:15.2 checked in at 2020-05-28 20:10:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-python-bidi (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-python-bidi.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-bidi"

Thu May 28 20:10:48 2020 rev:5 rq:809531 version:0.4.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-python-bidi/python-python-bidi.changes  
2020-03-02 13:21:26.090169011 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-python-bidi.new.3606/python-python-bidi.changes
        2020-05-28 20:10:50.351120982 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:49 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-python-bidi.spec ++++++
--- /var/tmp/diff_new_pack.fFLyKR/_old  2020-05-28 20:10:50.707122041 +0200
+++ /var/tmp/diff_new_pack.fFLyKR/_new  2020-05-28 20:10:50.707122041 +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


Reply via email to