Hello community,

here is the log from the commit of package python-flexx for openSUSE:Factory 
checked in at 2020-05-28 09:17:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flexx (Old)
 and      /work/SRC/openSUSE:Factory/.python-flexx.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flexx"

Thu May 28 09:17:12 2020 rev:6 rq:809378 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flexx/python-flexx.changes        
2019-05-07 23:19:57.605051400 +0200
+++ /work/SRC/openSUSE:Factory/.python-flexx.new.3606/python-flexx.changes      
2020-05-28 09:17:12.540948104 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:17 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-flexx.spec ++++++
--- /var/tmp/diff_new_pack.1YKd6I/_old  2020-05-28 09:17:13.152949548 +0200
+++ /var/tmp/diff_new_pack.1YKd6I/_new  2020-05-28 09:17:13.156949557 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flexx
 #
-# 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
@@ -43,6 +43,8 @@
 Requires:       python-pscript >= 0.7.0
 Requires:       python-tornado
 Requires:       python-webruntime >= 0.5.6
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-imageio
 Recommends:     python-numpy
 Recommends:     python-vispy
@@ -67,16 +69,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/flexx
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # Do not run tests, they require online access to jquery/etc.
 #%%pytest
 
+%post
+%python_install_alternative flexx
+
+%postun
+%python_uninstall_alternative flexx
+
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python3_only %{_bindir}/flexx
+%python_alternative %{_bindir}/flexx
 %{python_sitelib}/*
 
 %changelog


Reply via email to