Hello community,

here is the log from the commit of package python-zignal for openSUSE:Factory 
checked in at 2020-05-16 22:27:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zignal (Old)
 and      /work/SRC/openSUSE:Factory/.python-zignal.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zignal"

Sat May 16 22:27:26 2020 rev:3 rq:805894 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zignal/python-zignal.changes      
2020-03-16 10:20:45.423646348 +0100
+++ /work/SRC/openSUSE:Factory/.python-zignal.new.2738/python-zignal.changes    
2020-05-16 22:27:28.885414382 +0200
@@ -1,0 +2,5 @@
+Fri May 15 12:25:44 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-zignal.spec ++++++
--- /var/tmp/diff_new_pack.5NJYb2/_old  2020-05-16 22:27:29.589415827 +0200
+++ /var/tmp/diff_new_pack.5NJYb2/_new  2020-05-16 22:27:29.593415836 +0200
@@ -32,6 +32,8 @@
 Requires:       python-numpy
 Requires:       python-samplerate
 Requires:       python-scipy
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-PyAudio
 BuildArch:      noarch
 # SECTION test requirements
@@ -54,16 +56,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/zignal-listsndcards
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # https://github.com/ronnyandersson/zignal/issues/8
 %python_expand nosetests-%{$python_bin_suffix} -v zignal/tests -e 
'test_set_duration_and_samples'
 
+%post
+%python_install_alternative zignal-listsndcards
+
+%postun
+%python_uninstall_alternative zignal-listsndcards
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.md
-%python3_only %{_bindir}/zignal-listsndcards
+%python_alternative %{_bindir}/zignal-listsndcards
 %{python_sitelib}/*
 
 %changelog


Reply via email to