Hello community,

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

Package is "python-pyVows"

Tue May 26 17:17:55 2020 rev:4 rq:807668 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyVows/python-pyVows.changes      
2020-03-11 18:54:53.211662554 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyVows.new.2738/python-pyVows.changes    
2020-05-26 17:18:32.695874785 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:56 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyVows.spec ++++++
--- /var/tmp/diff_new_pack.k3IeJ7/_old  2020-05-26 17:18:33.479876471 +0200
+++ /var/tmp/diff_new_pack.k3IeJ7/_new  2020-05-26 17:18:33.479876471 +0200
@@ -35,6 +35,8 @@
 Requires:       python-Unidecode
 Requires:       python-gevent >= 1.2.2
 Requires:       python-preggy >= 1.3.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-colorama >= 0.3.7
 BuildArch:      noarch
 %python_subpackages
@@ -53,6 +55,7 @@
 %install
 export LANG="en_US.UTF-8"
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pyvows
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -61,8 +64,14 @@
 export PATH=%{buildroot}%{_bindir}:$PATH
 %python_exec pyvows/cli.py -x tests/
 
+%post
+%python_install_alternative pyvows
+
+%postun
+%python_uninstall_alternative pyvows
+
 %files %{python_files}
-%python3_only %{_bindir}/pyvows
+%python_alternative %{_bindir}/pyvows
 %{python_sitelib}/*
 
 %changelog


Reply via email to