Hello community,

here is the log from the commit of package python-imageio for openSUSE:Factory 
checked in at 2020-06-05 19:58:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-imageio (Old)
 and      /work/SRC/openSUSE:Factory/.python-imageio.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-imageio"

Fri Jun  5 19:58:40 2020 rev:9 rq:808788 version:2.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-imageio/python-imageio.changes    
2020-04-19 21:49:52.788130127 +0200
+++ /work/SRC/openSUSE:Factory/.python-imageio.new.3606/python-imageio.changes  
2020-06-05 19:58:42.043624576 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:24 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-imageio.spec ++++++
--- /var/tmp/diff_new_pack.hNMohk/_old  2020-06-05 19:58:42.799627191 +0200
+++ /var/tmp/diff_new_pack.hNMohk/_new  2020-06-05 19:58:42.803627205 +0200
@@ -37,6 +37,8 @@
 Requires:       python-Pillow
 Requires:       python-imageio-ffmpeg
 Requires:       python-numpy
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     libfreeimageplus3
 BuildArch:      noarch
 %python_subpackages
@@ -62,17 +64,27 @@
 %install
 export IMAGEIO_NO_INTERNET=1
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/imageio_remove_bin
+%python_clone -a %{buildroot}%{_bindir}/imageio_download_bin
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export IMAGEIO_NO_INTERNET=1
 %pytest -k "not test_fei_file_fail and not test_ffmpeg and not 
test_series_unclosed and not test_import_dependencies"
 
+%post
+%python_install_alternative imageio_remove_bin
+%python_install_alternative imageio_download_bin
+
+%postun
+%python_uninstall_alternative imageio_remove_bin
+%python_uninstall_alternative imageio_download_bin
+
 %files %{python_files}
 %license LICENSE
 %doc CONTRIBUTORS.txt README.md
 %{python_sitelib}/*
-%python3_only %{_bindir}/imageio_download_bin
-%python3_only %{_bindir}/imageio_remove_bin
+%python_alternative %{_bindir}/imageio_download_bin
+%python_alternative %{_bindir}/imageio_remove_bin
 
 %changelog


Reply via email to