Hello community,

here is the log from the commit of package python-pytest5 for openSUSE:Factory 
checked in at 2020-11-12 22:34:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest5 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest5.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest5"

Thu Nov 12 22:34:26 2020 rev:3 rq:847888 version:5.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest5/python-pytest5.changes    
2020-11-05 21:54:53.836187235 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest5.new.24930/python-pytest5.changes 
2020-11-12 22:34:39.797863451 +0100
@@ -1,0 +2,6 @@
+Tue Nov 10 17:21:09 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Fix boo#1178547: include transition for pytest py.test
+  alternative master switch
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pytest5.spec ++++++
--- /var/tmp/diff_new_pack.F5hwRf/_old  2020-11-12 22:34:41.449864968 +0100
+++ /var/tmp/diff_new_pack.F5hwRf/_new  2020-11-12 22:34:41.453864971 +0100
@@ -107,6 +107,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]

Reply via email to