Hello community,

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

Package is "python-extratools"

Thu May 28 09:17:23 2020 rev:4 rq:809385 version:0.8.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-extratools/python-extratools.changes      
2019-03-12 09:54:21.231526828 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-extratools.new.3606/python-extratools.changes
    2020-05-28 09:17:27.120982505 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:11 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-extratools.spec ++++++
--- /var/tmp/diff_new_pack.5d1sDp/_old  2020-05-28 09:17:27.732983950 +0200
+++ /var/tmp/diff_new_pack.5d1sDp/_new  2020-05-28 09:17:27.736983959 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-extratools
 #
-# 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
@@ -34,6 +34,8 @@
 Requires:       python-sh >= 1.12.13
 Requires:       python-sortedcontainers >= 1.5.10
 Requires:       python-toolz >= 0.9.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module RegexOrder >= 0.2}
@@ -60,14 +62,27 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/extratools-teststats
+%python_clone -a %{buildroot}%{_bindir}/extratools-remap
+%python_clone -a %{buildroot}%{_bindir}/extratools-flatten
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative extratools-teststats
+%python_install_alternative extratools-remap
+%python_install_alternative extratools-flatten
+
+%postun
+%python_uninstall_alternative extratools-teststats
+%python_uninstall_alternative extratools-remap
+%python_uninstall_alternative extratools-flatten
+
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python3_only %{_bindir}/extratools-flatten
-%python3_only %{_bindir}/extratools-remap
-%python3_only %{_bindir}/extratools-teststats
+%python_alternative %{_bindir}/extratools-flatten
+%python_alternative %{_bindir}/extratools-remap
+%python_alternative %{_bindir}/extratools-teststats
 %{python_sitelib}/*
 
 %changelog


Reply via email to