Hello community,

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

Package is "python-pyroma"

Tue May 26 17:18:28 2020 rev:4 rq:807681 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyroma/python-pyroma.changes      
2020-03-23 12:50:49.831966589 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyroma.new.2738/python-pyroma.changes    
2020-05-26 17:18:56.715926424 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:41 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyroma.spec ++++++
--- /var/tmp/diff_new_pack.zAkWuD/_old  2020-05-26 17:18:57.691928522 +0200
+++ /var/tmp/diff_new_pack.zAkWuD/_new  2020-05-26 17:18:57.691928522 +0200
@@ -33,6 +33,8 @@
 Requires:       python-Pygments
 Requires:       python-docutils
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -55,16 +57,23 @@
 %install
 export LANG=en_US.UTF-8
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pyroma
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8
 %python_exec setup.py test
 
+%post
+%python_install_alternative pyroma
+
+%postun
+%python_uninstall_alternative pyroma
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst HISTORY.txt
-%python3_only %{_bindir}/pyroma
+%python_alternative %{_bindir}/pyroma
 %{python_sitelib}/*
 
 %changelog


Reply via email to