Description of Problem: Fails to build from source Version-Release number of selected component (if applicable): w3c-libwww-5.2.8-9 How Reproducible: Every time Steps to Reproduce: 1. rpm --rebuild w3c-libwww-5.2.8-9.src.rpm 2. 3. Actual Results: .... gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -O2 -march=i686 -c xmltok.c -fPIC -DPIC -o .libs/xmltok.lo mv -f .libs/xmltok.lo xmltok.o (cd . && ln -s xmltok.o xmltok.lo) /bin/sh ../../../libtool --mode=link gcc -O2 -march=i686 -version-info "1:0:1" -o libxmltok.la -rpath /usr/lib xmlrole.lo xmltok.lo -ldl -lz rm -fr .libs/libxmltok.la .libs/libxmltok.* .libs/libxmltok.* Expected Results: Successful compile Additional Information: Could it be the :'s in the version-info string that confuses libtool?
the fix is: add the following line to the spec file, before %configure %define __libtoolize /bin/true