Dr. Werner Fink 2022-08-18 11:45:21 +00:00 committed by Git OBS Bridge
parent a897f89b0a
commit 5ab4d52f0b

View File

@ -166,7 +166,6 @@ find -name 'Makefile.*' | xargs \
--with-systemdtmpfilesdir=no \
--with-systemdsystemunitdir=no \
%endif
--enable-dups \
--enable-cache-owner=man \
--with-device=utf8 \
--with-zio \
@ -174,15 +173,15 @@ find -name 'Makefile.*' | xargs \
--disable-rpath \
--disable-automatic-create \
--enable-automatic-update \
--enable-mandirs=GNU \
--disable-cats \
--enable-threads=posix \
--enable-mb-groff \
--with-db=gdbm \
--enable-nls \
--with-config-file=%{_sysconfdir}/manpath.config \
--without-included-gettext \
--with-sections="${SEC}"
%make_build nls=all
%make_build nls=all LOCALE_FR_UTF8=fr_FR.UTF-8
# Fix coding
for man in $(find man/ -type f -a -name '*.[0-9]'); do
pp="$(head -n 1 $man)"
@ -215,7 +214,7 @@ fi
export MKDIR_P="mkdir -p"
%endif
rm -rf %{buildroot}%{_localstatedir}/cache/man
%make_install nls=all
%make_install nls=all LOCALE_FR_UTF8=fr_FR.UTF-8
find %{buildroot} -type f -name "*.la" -delete -print
# Move manual
mkdir -p %{buildroot}%{_docdir}