Accepting request 459993 from Base:System
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/459993 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=66
This commit is contained in:
commit
9cfac8f768
@ -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
|
||||||
|
|
||||||
|
10
man.spec
10
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
|
||||||
@ -123,7 +123,7 @@ Authors:
|
|||||||
rm -f configure
|
rm -f configure
|
||||||
%global optflags %{optflags} -funroll-loops -pipe -Wall
|
%global optflags %{optflags} -funroll-loops -pipe -Wall
|
||||||
if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then
|
if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then
|
||||||
CFLAGS="%{optflags} -D_DEFAULT_SOURCE"
|
CFLAGS="%{optflags} -D_GNU_SOURCE -D_DEFAULT_SOURCE"
|
||||||
else
|
else
|
||||||
CFLAGS="%{optflags} -D_GNU_SOURCE -D_SVID_SOURCE"
|
CFLAGS="%{optflags} -D_GNU_SOURCE -D_SVID_SOURCE"
|
||||||
fi
|
fi
|
||||||
@ -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