Hello community,

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

Package is "python-transip"

Tue May 19 14:48:38 2020 rev:6 rq:806965 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-transip/python-transip.changes    
2020-04-18 00:33:41.778458074 +0200
+++ /work/SRC/openSUSE:Factory/.python-transip.new.2738/python-transip.changes  
2020-05-19 14:48:39.640093558 +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.uUnCgQ/_old  2020-05-19 14:48:40.380095198 +0200
+++ /var/tmp/diff_new_pack.uUnCgQ/_new  2020-05-19 14:48:40.384095207 +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