Hello community,

here is the log from the commit of package python-bloscpack for 
openSUSE:Factory checked in at 2020-06-03 20:31:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bloscpack (Old)
 and      /work/SRC/openSUSE:Factory/.python-bloscpack.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bloscpack"

Wed Jun  3 20:31:23 2020 rev:4 rq:809802 version:0.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bloscpack/python-bloscpack.changes        
2020-04-22 20:56:16.331777502 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bloscpack.new.3606/python-bloscpack.changes  
    2020-06-03 20:32:05.725095705 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:29 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-bloscpack.spec ++++++
--- /var/tmp/diff_new_pack.majTsA/_old  2020-06-03 20:32:06.785098927 +0200
+++ /var/tmp/diff_new_pack.majTsA/_new  2020-06-03 20:32:06.793098951 +0200
@@ -31,6 +31,8 @@
 Requires:       python-blosc
 Requires:       python-numpy
 Requires:       python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     cryptography >= 1.3.4
 Recommends:     python-pyOpenSSL >= 0.14
 BuildArch:      noarch
@@ -72,6 +74,7 @@
 %install
 export LANG=en_US.UTF-8
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/blpk
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -80,10 +83,16 @@
 # Tests take too long
 # %%python_expand nosetests-%%{$python_bin_suffix} test
 
+%post
+%python_install_alternative blpk
+
+%postun
+%python_uninstall_alternative blpk
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/blpk
+%python_alternative %{_bindir}/blpk
 %{python_sitelib}/*
 
 %changelog


Reply via email to