Hello community,

here is the log from the commit of package python-pyroma for openSUSE:Leap:15.2 
checked in at 2020-05-28 20:10:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pyroma (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pyroma.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyroma"

Thu May 28 20:10:23 2020 rev:3 rq:809472 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pyroma/python-pyroma.changes    
2020-03-23 17:26:58.530175379 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pyroma.new.3606/python-pyroma.changes  
2020-05-28 20:10:26.707050605 +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.RMR9Xz/_old  2020-05-28 20:10:27.103051784 +0200
+++ /var/tmp/diff_new_pack.RMR9Xz/_new  2020-05-28 20:10:27.107051796 +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