SHA256
1
0
forked from pool/man
2012-10-04 09:18:44 +00:00
committed by Git OBS Bridge
parent c5e45f329e
commit f0af5115c4
3 changed files with 319 additions and 42 deletions

View File

@@ -49,7 +49,7 @@ Source3: cron.daily.clean_catman
Source4: mancoding
Source5: wrapper.c
Patch0: man-db-%{version}.dif
Source6: man-db-2.6.3-man0.dif
Patch1: man-db-2.6.3-man0.dif
Patch2: man-db-2.3.19deb4.0-groff.dif
Patch4: man-db-2.6.3-section.dif
Patch5: man-db-2.6.3-security4.dif
@@ -140,7 +140,7 @@ Authors:
--without-included-gettext \
--with-sections="${SEC}"
make %{?_smp_mflags} nls=all
for man in $(find man/ -type f -a -name '*.man[0-9]'); do
for man in $(find man/ -type f -a -name '*.[0-9]'); do
pp="$(head -n 1 $man)"
case "$pp" in
\'\\\"*\ -\*-\ coding:\ *\ -\*-)
@@ -155,6 +155,7 @@ Authors:
" $man
esac
done
patch -p0 < %{P:1}
gcc $CFLAGS -I gnulib/lib/ -I include/ --include config.h --include configmake.h \
-o wrapper %{S:5} -L gnulib/lib/.libs/ -lgnu