doesn't know about ppc64: woodzltc writes: (prep): The old config.guess in antlr package fail on ppc64. replace it with the shipped config.guess. with: *** 170,175 **** --- 171,179 ---- %setup -D -q -T -c -a100 pushd %{antlr_srcdir} %patch101 -p2 + %ifarch ppc64 + /bin/cp -f `rpm -qil automake | grep config.guess` %{antlr_srcdir}/scripts/config.guess + %endif popd # UNPACK before any java packages, they need these macros/
Bug reported upstream (yes, it is really old); still present in 2.7.6. Added # frysk local: Antlr's config.* is really really old. for i in $(find . -name config.guess -o -name config.sub) ; do [ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i done which was lifted from `rpm --showrc`'s configure macro. * Sat Jan 21 2006 Andrew Cagney <cagney@redhat.com> 0.0.1.2006.01.13-0.EL4.8 - For antlr, update config.guess and config.sub; problem reported by Wu Zhou <woodzltc@cn.ibm.com>