Hello community, here is the log from the commit of package python-yt for openSUSE:Leap:15.2 checked in at 2020-05-18 11:01:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-yt (Old) and /work/SRC/openSUSE:Leap:15.2/.python-yt.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yt" Mon May 18 11:01:00 2020 rev:2 rq:806254 version:3.5.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-yt/python-yt.changes 2020-03-27 16:48:05.375932106 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-yt.new.2738/python-yt.changes 2020-05-18 11:01:00.650837198 +0200 @@ -1,0 +2,5 @@ +Fri May 15 12:52:19 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yt.spec ++++++ --- /var/tmp/diff_new_pack.DB3RLP/_old 2020-05-18 11:01:01.154838242 +0200 +++ /var/tmp/diff_new_pack.DB3RLP/_new 2020-05-18 11:01:01.158838250 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-yt # -# 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 @@ -36,6 +36,8 @@ Requires: python-numpy >= 1.10.4 Requires: python-setuptools >= 19.6 Requires: python-sympy >= 1.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: python-bottle Recommends: python-girder-client Recommends: python-jupyter_ipython >= 1.0 @@ -64,13 +66,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/yt +%python_clone -a %{buildroot}%{_bindir}/iyt %python_expand %fdupes %{buildroot}%{$python_sitearch} +%post +%python_install_alternative yt +%python_install_alternative iyt + +%postun +%python_uninstall_alternative yt +%python_uninstall_alternative iyt + %files %{python_files} %doc README.md %license COPYING.txt -%python3_only %{_bindir}/iyt -%python3_only %{_bindir}/yt +%python_alternative %{_bindir}/iyt +%python_alternative %{_bindir}/yt %{python_sitearch}/* %changelog
