Hello community,
here is the log from the commit of package python-cauldron-notebook for
openSUSE:Factory checked in at 2020-06-03 20:31:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cauldron-notebook (Old)
and /work/SRC/openSUSE:Factory/.python-cauldron-notebook.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cauldron-notebook"
Wed Jun 3 20:31:32 2020 rev:3 rq:809826 version:1.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-cauldron-notebook/python-cauldron-notebook.changes
2020-02-03 11:13:42.753856888 +0100
+++
/work/SRC/openSUSE:Factory/.python-cauldron-notebook.new.3606/python-cauldron-notebook.changes
2020-06-03 20:32:13.909120584 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:36 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cauldron-notebook.spec ++++++
--- /var/tmp/diff_new_pack.lNxImg/_old 2020-06-03 20:32:15.869126542 +0200
+++ /var/tmp/diff_new_pack.lNxImg/_new 2020-06-03 20:32:15.877126566 +0200
@@ -37,6 +37,8 @@
Requires: python-pandas
Requires: python-pygments
Requires: python-requests
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
Recommends: python-bokeh
Recommends: python-matplotlib
Recommends: python-plotly
@@ -72,16 +74,23 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/cauldron
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests only work on git repo
# %%check
# %%pytest
+%post
+%python_install_alternative cauldron
+
+%postun
+%python_uninstall_alternative cauldron
+
%files %{python_files}
%doc README.rst
%license LICENSE
-%python3_only %{_bindir}/cauldron
+%python_alternative %{_bindir}/cauldron
%{python_sitelib}/*
%changelog