From 817bfb6f2498781d6047960c992c1eabf12286e5a2c5e3585d8481f149c33cbb Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 16 Feb 2017 10:01:07 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=74 --- man.changes | 5 +++++ man.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/man.changes b/man.changes index 83abf77..6a16939 100644 --- a/man.changes +++ b/man.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 16 10:00:30 UTC 2017 - werner@suse.de + +- Use _libexecdir instead of _prefix/lib + ------------------------------------------------------------------- Fri Dec 16 09:37:34 UTC 2016 - werner@suse.de diff --git a/man.spec b/man.spec index 0b6a416..c125d49 100644 --- a/man.spec +++ b/man.spec @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -189,7 +189,7 @@ fi %endif rm -rf %{buildroot}%{_localstatedir}/cache/man mkdir -p %{buildroot}%{_datadir}/doc/packages/man - mkdir -p %{buildroot}%{_prefix}/lib/man-db + mkdir -p %{buildroot}%{_libexecdir}/man-db mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}/etc make nls=all install DESTDIR=%{buildroot} @@ -198,12 +198,12 @@ fi %{buildroot}%{_datadir}/doc/packages/man/ # wrapper which drops roots privileges if root executes man or mandb if test -x %{buildroot}%{_bindir}/mandb ; then - mv %{buildroot}%{_bindir}/mandb %{buildroot}%{_prefix}/lib/man-db/ + mv %{buildroot}%{_bindir}/mandb %{buildroot}%{_libexecdir}/man-db/ install wrapper %{buildroot}%{_bindir}/mandb fi %if %{with wrapman} if test -x %{buildroot}%{_bindir}/man ; then - mv %{buildroot}%{_bindir}/man %{buildroot}%{_prefix}/lib/man-db/ + mv %{buildroot}%{_bindir}/man %{buildroot}%{_libexecdir}/man-db/ ln -sf mandb %{buildroot}%{_bindir}/man fi %endif