Hello community,

here is the log from the commit of package python-base58 for openSUSE:Factory 
checked in at 2020-06-10 00:42:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-base58 (Old)
 and      /work/SRC/openSUSE:Factory/.python-base58.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-base58"

Wed Jun 10 00:42:40 2020 rev:2 rq:809806 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-base58/python-base58.changes      
2020-01-24 13:14:06.453504017 +0100
+++ /work/SRC/openSUSE:Factory/.python-base58.new.3606/python-base58.changes    
2020-06-10 00:42:47.086087210 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:25 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-base58.spec ++++++
--- /var/tmp/diff_new_pack.IftFLg/_old  2020-06-10 00:42:48.750091573 +0200
+++ /var/tmp/diff_new_pack.IftFLg/_new  2020-06-10 00:42:48.750091573 +0200
@@ -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
 
@@ -45,15 +47,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/base58
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative base58
+
+%postun
+%python_uninstall_alternative base58
+
 %files %{python_files}
 %doc README.md
 %license COPYING
-%python3_only %{_bindir}/base58
+%python_alternative %{_bindir}/base58
 %{python_sitelib}/*
 
 %changelog


Reply via email to