Hello community, here is the log from the commit of package python-pytest for openSUSE:Factory checked in at 2020-11-12 22:34:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest (Old) and /work/SRC/openSUSE:Factory/.python-pytest.new.24930 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest" Thu Nov 12 22:34:29 2020 rev:61 rq:847889 version:6.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes 2020-11-02 09:39:16.961545978 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest.new.24930/python-pytest.changes 2020-11-12 22:34:41.817865306 +0100 @@ -1,0 +2,6 @@ +Tue Nov 10 17:41:51 UTC 2020 - Benjamin Greiner <[email protected]> + +- Fix boo#1178547: include transition for pytest py.test + alternative master switch + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest.spec ++++++ --- /var/tmp/diff_new_pack.hcC0fE/_old 2020-11-12 22:34:42.421865860 +0100 +++ /var/tmp/diff_new_pack.hcC0fE/_new 2020-11-12 22:34:42.425865864 +0100 @@ -103,6 +103,19 @@ %if ! %{with test} %post +# py.test was the master until Oct 2020. boo#1178547 +alternatives=$(update-alternatives --quiet --list py.test 2> /dev/null) && ( + update-alternatives --remove-all py.test + # reinstall group with new master for all existing flavors except ourself + for a in $alternatives; do + if [ $a != %{_bindir}/py.test-%{python_bin_suffix} ]; then + bin_suffix=${a##*-} + prio=${bin_suffix/./} + update-alternatives --quiet --install %{_bindir}/pytest pytest ${a/py.test/pytest} $prio \ + --slave %{_bindir}/py.test py.test $a + fi + done +) ||: %python_install_alternative pytest py.test %postun _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
