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