Hello community,

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

Package is "python-cloudflare"

Wed Jun 10 00:44:09 2020 rev:5 rq:809821 version:2.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cloudflare/python-cloudflare.changes      
2020-03-21 00:01:47.341112109 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudflare.new.3606/python-cloudflare.changes
    2020-06-10 00:44:15.170310200 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:45 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cloudflare.spec ++++++
--- /var/tmp/diff_new_pack.TMopjG/_old  2020-06-10 00:44:16.582313725 +0200
+++ /var/tmp/diff_new_pack.TMopjG/_new  2020-06-10 00:44:16.586313735 +0200
@@ -36,6 +36,8 @@
 Requires:       python-future
 Requires:       python-jsonlines
 Requires:       python-requests
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -50,14 +52,21 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/cli4
 # remove examples from sitelib
 %python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative cli4
+
+%postun
+%python_uninstall_alternative cli4
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/cli4
+%python_alternative %{_bindir}/cli4
 %{python_sitelib}/*
 
 %changelog


Reply via email to