Hello community,

here is the log from the commit of package python-webruntime for 
openSUSE:Factory checked in at 2020-05-19 14:46:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-webruntime (Old)
 and      /work/SRC/openSUSE:Factory/.python-webruntime.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-webruntime"

Tue May 19 14:46:53 2020 rev:3 rq:806809 version:0.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-webruntime/python-webruntime.changes      
2019-03-26 22:31:46.837715077 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-webruntime.new.2738/python-webruntime.changes
    2020-05-19 14:46:54.931869231 +0200
@@ -1,0 +2,5 @@
+Mon May 18 07:25:36 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-webruntime.spec ++++++
--- /var/tmp/diff_new_pack.ftjHyq/_old  2020-05-19 14:46:56.759873136 +0200
+++ /var/tmp/diff_new_pack.ftjHyq/_new  2020-05-19 14:46:56.775873170 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-webruntime
 #
-# 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
@@ -30,6 +30,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-dialite
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module dialite}
@@ -51,15 +53,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/webruntime
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative webruntime
+
+%postun
+%python_uninstall_alternative webruntime
+
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python3_only %{_bindir}/webruntime
+%python_alternative %{_bindir}/webruntime
 %{python_sitelib}/*
 
 %changelog


Reply via email to