.
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=74
This commit is contained in:
parent
23bc85f2fa
commit
817bfb6f24
@ -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
|
Fri Dec 16 09:37:34 UTC 2016 - werner@suse.de
|
||||||
|
|
||||||
|
8
man.spec
8
man.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package man
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -189,7 +189,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
rm -rf %{buildroot}%{_localstatedir}/cache/man
|
rm -rf %{buildroot}%{_localstatedir}/cache/man
|
||||||
mkdir -p %{buildroot}%{_datadir}/doc/packages/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}%{_bindir}
|
||||||
mkdir -p %{buildroot}/etc
|
mkdir -p %{buildroot}/etc
|
||||||
make nls=all install DESTDIR=%{buildroot}
|
make nls=all install DESTDIR=%{buildroot}
|
||||||
@ -198,12 +198,12 @@ fi
|
|||||||
%{buildroot}%{_datadir}/doc/packages/man/
|
%{buildroot}%{_datadir}/doc/packages/man/
|
||||||
# wrapper which drops roots privileges if root executes man or mandb
|
# wrapper which drops roots privileges if root executes man or mandb
|
||||||
if test -x %{buildroot}%{_bindir}/mandb ; then
|
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
|
install wrapper %{buildroot}%{_bindir}/mandb
|
||||||
fi
|
fi
|
||||||
%if %{with wrapman}
|
%if %{with wrapman}
|
||||||
if test -x %{buildroot}%{_bindir}/man ; then
|
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
|
ln -sf mandb %{buildroot}%{_bindir}/man
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user