diff --git a/gettext.spec b/gettext.spec index 6dd1deb..729e0fe 100644 --- a/gettext.spec +++ b/gettext.spec @@ -55,11 +55,13 @@ rm -rf %{buildroot} [ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || : # Rerun autotools for new version -( cd . && aclocal --force && automake && autoconf ) -( cd autoconf-lib-link && aclocal --force && automake && autoconf ) -( cd gettext-tools && aclocal --force && automake && autoconf ) -( cd gettext-runtime && aclocal --force && automake && autoconf ) - +for i in . autoconf-lib-link gettext-tools gettext-runtime; do + pushd $i + aclocal --force + automake + autoconf + popd +done %configure --without-included-gettext --enable-nls \ --enable-shared --with-pic-=yes