Hello community,

here is the log from the commit of package python-transip for 
openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-transip (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-transip.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-transip"

Sat May 23 16:08:29 2020 rev:18 rq:808371 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-transip/python-transip.changes  
2020-04-18 18:41:07.985966595 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-transip.new.2738/python-transip.changes    
    2020-05-23 16:08:30.485193029 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:35 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-transip.spec ++++++
--- /var/tmp/diff_new_pack.CX53gZ/_old  2020-05-23 16:08:30.817193741 +0200
+++ /var/tmp/diff_new_pack.CX53gZ/_new  2020-05-23 16:08:30.821193749 +0200
@@ -37,6 +37,8 @@
 Requires:       python-requests
 Requires:       python-setuptools
 Requires:       python-suds-jurko
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -51,15 +53,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/transip-api
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # testConstructor needs network connection
 %pytest -k 'not (test_constructor or testConstructor)'
 
+%post
+%python_install_alternative transip-api
+
+%postun
+%python_uninstall_alternative transip-api
+
 %files %{python_files}
 %license LICENSE
 %{python_sitelib}/*
-%python3_only %{_bindir}/transip-api
+%python_alternative %{_bindir}/transip-api
 
 %changelog


Reply via email to