Hello community,

here is the log from the commit of package python-tabulate for openSUSE:Factory 
checked in at 2020-05-28 09:07:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tabulate (Old)
 and      /work/SRC/openSUSE:Factory/.python-tabulate.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tabulate"

Thu May 28 09:07:44 2020 rev:9 rq:807161 version:0.8.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tabulate/python-tabulate.changes  
2020-05-01 11:05:09.150777386 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-tabulate.new.3606/python-tabulate.changes    
    2020-05-28 09:07:47.403783713 +0200
@@ -1,0 +2,5 @@
+Tue May 19 08:03:11 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tabulate.spec ++++++
--- /var/tmp/diff_new_pack.hGm7Vb/_old  2020-05-28 09:07:49.011788535 +0200
+++ /var/tmp/diff_new_pack.hGm7Vb/_new  2020-05-28 09:07:49.015788546 +0200
@@ -31,6 +31,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-wcwidth
 Suggests:       python-pandas
 BuildArch:      noarch
@@ -57,15 +59,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/tabulate
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
+%post
+%python_install_alternative tabulate
+
+%postun
+%python_uninstall_alternative tabulate
+
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%python3_only %{_bindir}/tabulate
+%python_alternative %{_bindir}/tabulate
 %{python_sitelib}/tabulate.*
 %{python_sitelib}/tabulate-%{version}-py*.egg-info
 %pycache_only %{python_sitelib}/__pycache__


Reply via email to