Hello community,
here is the log from the commit of package python-importlab for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:09:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-importlab (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-importlab.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-importlab"
Thu May 28 20:09:00 2020 rev:2 rq:809064 version:0.5.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-importlab/python-importlab.changes
2020-02-11 23:26:26.477301817 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-importlab.new.3606/python-importlab.changes
2020-05-28 20:09:01.254796251 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:26 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-importlab.spec ++++++
--- /var/tmp/diff_new_pack.JduSOE/_old 2020-05-28 20:09:01.574797203 +0200
+++ /var/tmp/diff_new_pack.JduSOE/_new 2020-05-28 20:09:01.574797203 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-importlab
#
-# Copyright (c) 2020 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-rpm-macros
Requires: python-networkx
Requires: python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module networkx}
@@ -49,12 +51,19 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/importlab
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%post
+%python_install_alternative importlab
+
+%postun
+%python_uninstall_alternative importlab
+
%files %{python_files}
%doc CHANGELOG README.rst
%license LICENSE
-%python3_only %{_bindir}/importlab
+%python_alternative %{_bindir}/importlab
%{python_sitelib}/*
%changelog