Hello community,
here is the log from the commit of package python-rnginline for
openSUSE:Factory checked in at 2020-05-19 14:57:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rnginline (Old)
and /work/SRC/openSUSE:Factory/.python-rnginline.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rnginline"
Tue May 19 14:57:48 2020 rev:3 rq:807279 version:0.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rnginline/python-rnginline.changes
2018-12-24 11:46:23.713186339 +0100
+++
/work/SRC/openSUSE:Factory/.python-rnginline.new.2738/python-rnginline.changes
2020-05-19 14:57:51.733317914 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:46 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rnginline.spec ++++++
--- /var/tmp/diff_new_pack.2Z3kz3/_old 2020-05-19 14:57:54.289323579 +0200
+++ /var/tmp/diff_new_pack.2Z3kz3/_new 2020-05-19 14:57:54.293323589 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-rnginline
#
-# Copyright (c) 2018 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
@@ -60,6 +60,7 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/rnginline
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
@@ -67,10 +68,16 @@
%python_exec setup.py test
%endif
+%post
+%python_install_alternative rnginline
+
+%postun
+%python_uninstall_alternative rnginline
+
%files %{python_files}
%license LICENSE.txt
%doc CHANGELOG.rst README.rst
-%python3_only %{_bindir}/rnginline
+%python_alternative %{_bindir}/rnginline
%{python_sitelib}/*
%changelog