Hello community,

here is the log from the commit of package python-raet for openSUSE:Factory 
checked in at 2020-05-19 14:57:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-raet (Old)
 and      /work/SRC/openSUSE:Factory/.python-raet.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-raet"

Tue May 19 14:57:32 2020 rev:14 rq:807268 version:0.6.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-raet/python-raet.changes  2020-04-25 
20:29:22.298151617 +0200
+++ /work/SRC/openSUSE:Factory/.python-raet.new.2738/python-raet.changes        
2020-05-19 14:57:36.285283655 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:38 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-raet.spec ++++++
--- /var/tmp/diff_new_pack.VLpDet/_old  2020-05-19 14:57:38.129287744 +0200
+++ /var/tmp/diff_new_pack.VLpDet/_new  2020-05-19 14:57:38.133287753 +0200
@@ -42,6 +42,8 @@
 Requires:       python-libnacl >= 1.4.3
 Requires:       python-msgpack
 Requires:       python-six >= 1.6.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %if %{with python2}
 BuildRequires:  python-enum34
@@ -67,13 +69,20 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/raetflo
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative raetflo
+
+%postun
+%python_uninstall_alternative raetflo
+
 %files %{python_files}
 %{python_sitelib}/*
-%python3_only %{_bindir}/raetflo
+%python_alternative %{_bindir}/raetflo
 
 %changelog


Reply via email to