Hello community, here is the log from the commit of package python-dash for openSUSE:Factory checked in at 2020-05-28 09:18:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dash (Old) and /work/SRC/openSUSE:Factory/.python-dash.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dash" Thu May 28 09:18:21 2020 rev:9 rq:809428 version:1.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dash/python-dash.changes 2020-04-22 20:50:53.907146276 +0200 +++ /work/SRC/openSUSE:Factory/.python-dash.new.3606/python-dash.changes 2020-05-28 09:18:22.217104519 +0200 @@ -1,0 +2,5 @@ +Tue May 26 07:22:29 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dash.spec ++++++ --- /var/tmp/diff_new_pack.9RHL3H/_old 2020-05-28 09:18:22.757105508 +0200 +++ /var/tmp/diff_new_pack.9RHL3H/_new 2020-05-28 09:18:22.761105516 +0200 @@ -40,6 +40,8 @@ # needed for dash/testing/browser.py Requires: python-percy Requires: python-plotly +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Flask >= 1.0.2} @@ -74,13 +76,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/renderer +%python_clone -a %{buildroot}%{_bindir}/dash-generate-components %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative renderer +%python_install_alternative dash-generate-components + +%postun +%python_uninstall_alternative renderer +%python_uninstall_alternative dash-generate-components + %files %{python_files} %doc README.md %license LICENSE -%python3_only %{_bindir}/dash-generate-components -%python3_only %{_bindir}/renderer +%python_alternative %{_bindir}/dash-generate-components +%python_alternative %{_bindir}/renderer %{python_sitelib}/dash %{python_sitelib}/dash-%{version}-py*.egg-info
