Use fmtutil to generate local settings

COPR is missing fmtutil configuration. Try generating it.
This commit is contained in:
Petr Menšík 2020-08-26 12:44:44 +02:00
parent 04a7c5632c
commit 7d8ad626e7

View File

@ -521,7 +521,6 @@ cp -frp contrib/dlz/modules build/contrib/dlz/modules
pushd build pushd build
LIBDIR_SUFFIX= LIBDIR_SUFFIX=
export LIBDIR_SUFFIX export LIBDIR_SUFFIX
export TEXMFVAR="`pwd`" # avoid using home for pdf latex files
%configure \ %configure \
--with-python=%{__python3} \ --with-python=%{__python3} \
--with-libtool \ --with-libtool \
@ -579,7 +578,15 @@ export TEXMFVAR="`pwd`" # avoid using home for pdf latex files
%endif %endif
popd popd
%endif %endif
make %{?_smp_mflags}
%if %{with DOC}
# avoid using home for pdf latex files
export TEXMFVAR="`pwd`"
export TEXMFCONFIG="`pwd`"
fmtutil --missing -user
%endif
%make_build
### FIXME hack!!! ### FIXME hack!!!
### xsltproc doesn't find properly configured files ### xsltproc doesn't find properly configured files
@ -699,7 +706,7 @@ touch ${RPM_BUILD_ROOT}/%{chroot_prefix}%{_sysconfdir}/named.conf
#end chroot #end chroot
pushd build pushd build
make DESTDIR=${RPM_BUILD_ROOT} install %make_install
popd popd
# Remove unwanted files # Remove unwanted files