Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-09-18 15:20:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "man" Fri Sep 18 15:20:53 2020 rev:84 rq:834510 version:2.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/man/man.changes 2020-09-04 10:53:48.342452791 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.4249/man.changes 2020-09-18 15:20:57.565943488 +0200 @@ -1,0 +2,6 @@ +Fri Sep 11 19:34:46 UTC 2020 - Antoine Belvire <antoine.belv...@opensuse.org> + +- Add migration code to handle upgrade from old version of the man + package not supporting alternative path move (boo#1175919). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ man.spec ++++++ --- /var/tmp/diff_new_pack.io61Gs/_old 2020-09-18 15:20:58.949944827 +0200 +++ /var/tmp/diff_new_pack.io61Gs/_new 2020-09-18 15:20:58.953944831 +0200 @@ -295,6 +295,15 @@ --slave %{_mandir}/man1/apropos.1%{?ext_man} apropos.1%{?ext_man} %{_mandir}/man1/apropos-db.1%{?ext_man} \ --slave %{_mandir}/man1/whatis.1%{?ext_man} whatis.1%{?ext_man} %{_mandir}/man1/whatis-db.1%{?ext_man} +# Old man packages did not apply the proper update-alternatives calls to ensure +# alternative path move. As a result, the alternative path move induced by +# libexecdir move breaks man wrapper (boo#1175919). Hence the following migration +# code for upgrades from Leap 15.2 or Tumbleweed snapshots older than 20200826. +# To be removed when support for upgrades from Leap 15.2 is dropped (dec. 2021). +if [ %{_libexecdir} != %{_prefix}/lib ] && [ -f %{_prefix}/lib/man-db/wrapper ] ; then + update-alternatives --quiet --remove man %{_prefix}/lib/man-db/wrapper +fi + %preun %if %{with sdtimer} %service_del_preun man-db-create.service