Hello community,

here is the log from the commit of package python-zignal for openSUSE:Leap:15.2 
checked in at 2020-05-18 11:00:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-zignal (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-zignal.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zignal"

Mon May 18 11:00:58 2020 rev:3 rq:806181 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-zignal/python-zignal.changes    
2020-03-20 05:15:28.118570697 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-zignal.new.2738/python-zignal.changes  
2020-05-18 11:01:00.098836057 +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.I7KHEj/_old  2020-05-18 11:01:00.462836809 +0200
+++ /var/tmp/diff_new_pack.I7KHEj/_new  2020-05-18 11:01:00.466836818 +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