Use fmtutil to generate local settings
COPR is missing fmtutil configuration. Try generating it.
This commit is contained in:
parent
04a7c5632c
commit
7d8ad626e7
13
bind.spec
13
bind.spec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user