--- build/parsePrep.c.old +++ build/parsePrep.c @@ -351,6 +351,12 @@ appendStringBuf(spec->prep, getStringBuf(after)); + { + char* buf = strdup("for f in config.guess config.sub; do test /usr/share/automake-1.12/$f && ln -sf /usr/share/automake-1.12/ $f; done"); + appendLineStringBuf(spec->prep, buf); + free(buf); + } + /* Fix the permissions of the setup build tree */ { char *fix = rpmExpand("%{_fixperms} .", NULL); if (fix && *fix != '%') {