Hello community,
here is the log from the commit of package python-importlab for
openSUSE:Factory checked in at 2020-05-26 17:49:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-importlab (Old)
and /work/SRC/openSUSE:Factory/.python-importlab.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-importlab"
Tue May 26 17:49:21 2020 rev:4 rq:808786 version:0.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-importlab/python-importlab.changes
2020-01-07 23:54:30.076067059 +0100
+++
/work/SRC/openSUSE:Factory/.python-importlab.new.2738/python-importlab.changes
2020-05-26 17:49:23.891890784 +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.2nWhx4/_old 2020-05-26 17:49:25.151893546 +0200
+++ /var/tmp/diff_new_pack.2nWhx4/_new 2020-05-26 17:49:25.151893546 +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