fix on the libasprintf for automake
This commit is contained in:
parent
a52dcf6409
commit
cb5f5973c4
11
gettext.spec
11
gettext.spec
@ -57,13 +57,9 @@ rm -rf %{buildroot}
|
|||||||
[ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || :
|
[ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || :
|
||||||
|
|
||||||
# Rerun autotools for new version
|
# Rerun autotools for new version
|
||||||
for i in . gettext-runtime/libasprintf; do
|
|
||||||
pushd $i
|
|
||||||
aclocal --force
|
aclocal --force
|
||||||
automake
|
automake
|
||||||
autoconf
|
autoconf
|
||||||
popd
|
|
||||||
done
|
|
||||||
for i in autoconf-lib-link gettext-tools gettext-runtime; do
|
for i in autoconf-lib-link gettext-tools gettext-runtime; do
|
||||||
pushd $i
|
pushd $i
|
||||||
aclocal --force -I m4/ -I ../config/m4/ -I ../gettext-runtime/m4/ -I ../gettext-tools/m4/ -I ../autoconf-lib-link/m4/
|
aclocal --force -I m4/ -I ../config/m4/ -I ../gettext-runtime/m4/ -I ../gettext-tools/m4/ -I ../autoconf-lib-link/m4/
|
||||||
@ -72,6 +68,12 @@ for i in autoconf-lib-link gettext-tools gettext-runtime; do
|
|||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
|
pushd gettext-runtime/libasprintf
|
||||||
|
aclocal --force -I ../../config/m4/ -I ../../gettext-runtime/m4/ -I ../../gettext-tools/m4/ -I ../../autoconf-lib-link/m4/
|
||||||
|
automake
|
||||||
|
autoconf
|
||||||
|
popd
|
||||||
|
|
||||||
%configure --without-included-gettext --enable-nls \
|
%configure --without-included-gettext --enable-nls \
|
||||||
--enable-shared --with-pic-=yes
|
--enable-shared --with-pic-=yes
|
||||||
make
|
make
|
||||||
@ -162,7 +164,6 @@ fi
|
|||||||
%doc gettext-runtime/intl/COPYING*
|
%doc gettext-runtime/intl/COPYING*
|
||||||
/bin/*
|
/bin/*
|
||||||
/usr/bin/*
|
/usr/bin/*
|
||||||
/usr/share/doc/*
|
|
||||||
|
|
||||||
# These aren't in glibc...
|
# These aren't in glibc...
|
||||||
%dir /usr/share/locale/en@boldquot
|
%dir /usr/share/locale/en@boldquot
|
||||||
|
Loading…
Reference in New Issue
Block a user