Hello community,

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

Package is "python-pprintpp"

Tue May 26 17:17:15 2020 rev:3 rq:807656 version:0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pprintpp/python-pprintpp.changes  
2019-08-24 18:49:02.433742040 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pprintpp.new.2738/python-pprintpp.changes    
    2020-05-26 17:18:10.155826327 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:15 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pprintpp.spec ++++++
--- /var/tmp/diff_new_pack.WfDOmx/_old  2020-05-26 17:18:11.571829372 +0200
+++ /var/tmp/diff_new_pack.WfDOmx/_new  2020-05-26 17:18:11.575829380 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pprintpp
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -48,16 +50,23 @@
 %install
 export LANG=en_US.utf-8
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pypprint
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.utf-8
 %python_exec setup.py test --test-suite=test
 
+%post
+%python_install_alternative pypprint
+
+%postun
+%python_uninstall_alternative pypprint
+
 %files %{python_files}
 %doc CHANGELOG.txt README.rst
 %license LICENSE.txt
-%python3_only %{_bindir}/pypprint
+%python_alternative %{_bindir}/pypprint
 %{python_sitelib}/*
 
 %changelog


Reply via email to