Hello community,

here is the log from the commit of package python-webruntime for 
openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-webruntime (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-webruntime.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-webruntime"

Sat May 23 16:08:49 2020 rev:4 rq:808394 version:0.5.6

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-webruntime/python-webruntime.changes    
2020-03-02 13:24:54.286582964 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-webruntime.new.2738/python-webruntime.changes
  2020-05-23 16:08:50.217235336 +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.Bisdlm/_old  2020-05-23 16:08:50.545236040 +0200
+++ /var/tmp/diff_new_pack.Bisdlm/_new  2020-05-23 16:08:50.545236040 +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