From ae5d9412252fe3bc4db6cd3f76566de576098ec336f4cac7fd94efc7ed381782 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 1 Sep 2020 09:07:40 +0000 Subject: [PATCH] boo#1175919 OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=120 --- man.changes | 6 ++++++ man.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/man.changes b/man.changes index be15c4e..0208fe8 100644 --- a/man.changes +++ b/man.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 1 08:56:36 UTC 2020 - Dr. Werner Fink + +- Correct registered path on removing update-alternative for group + man (boo#1175919) + ------------------------------------------------------------------- Tue Sep 1 07:42:04 UTC 2020 - Dr. Werner Fink diff --git a/man.spec b/man.spec index 6b65c9b..47556c7 100644 --- a/man.spec +++ b/man.spec @@ -304,7 +304,12 @@ test -d var/catman/ && rm -rf var/catman/ || true %endif if test $1 -eq 0 then - %{_sbindir}/update-alternatives --quiet --remove man %{_bindir}/man + if test -x %{_prefix}/lib/man-db/wrapper + then + %{_sbindir}/update-alternatives --quiet --remove man %{_prefix}/lib/man-db/wrapper + else + %{_sbindir}/update-alternatives --quiet --remove man %{_libexecdir}/man-db/wrapper + fi fi %postun