boo#1175813 -- also for mandb.service

OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=117
This commit is contained in:
Dr. Werner Fink 2020-08-27 08:01:50 +00:00 committed by Git OBS Bridge
parent 0656553dfa
commit 5a5c3600ae
3 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
Thu Aug 27 07:38:06 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Set libexecdir at build time for wrapper (boo#1175813)
- Do the same in mandb.service
-------------------------------------------------------------------
Mon Jun 15 07:49:33 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@ -263,6 +263,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%if 0%{?suse_version} >= 1500
install -m 0644 %{SOURCE8} %{buildroot}%{_unitdir}/
install -m 0644 %{SOURCE9} %{buildroot}%{_unitdir}/
sed -ri 's|@@LIBEXECDIR@@|%{_libexecdir}|' %{buildroot}%{_unitdir}/mandb.service
%endif
%endif

View File

@ -9,4 +9,4 @@ Group=man
Type=oneshot
Nice=5
IOSchedulingClass=idle
ExecStart=/usr/lib/man-db/do_mandb
ExecStart=@@LIBEXECDIR@@/man-db/do_mandb