From 7d8ad626e701528f401802181a56c05a5ace64f8 Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Aug 26 2020 10:44:44 +0000 Subject: Use fmtutil to generate local settings COPR is missing fmtutil configuration. Try generating it. --- diff --git a/bind.spec b/bind.spec index 57b8c4a..a159174 100644 --- a/bind.spec +++ b/bind.spec @@ -521,7 +521,6 @@ cp -frp contrib/dlz/modules build/contrib/dlz/modules pushd build LIBDIR_SUFFIX= export LIBDIR_SUFFIX -export TEXMFVAR="`pwd`" # avoid using home for pdf latex files %configure \ --with-python=%{__python3} \ --with-libtool \ @@ -579,7 +578,15 @@ export TEXMFVAR="`pwd`" # avoid using home for pdf latex files %endif popd %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!!! ### xsltproc doesn't find properly configured files @@ -699,7 +706,7 @@ touch ${RPM_BUILD_ROOT}/%{chroot_prefix}%{_sysconfdir}/named.conf #end chroot pushd build -make DESTDIR=${RPM_BUILD_ROOT} install +%make_install popd # Remove unwanted files