Description of problem: Package libspf2 fails to build from source in Fedora rawhide with following error: CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.15 -I m4 /bin/sh: aclocal-1.15: command not found make: *** [Makefile:372: aclocal.m4] Error 127 It it caused by update from automake-1.15 to automake-1.16. Steps to Reproduce: koji build --scratch f29 libspf2-1.2.10-17.20150405gitd57d79fd.fc28.src.rpm Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/libspf2 Dependency changes from the latest successful build can be found here: https://apps.fedoraproject.org/koschei/build/4527627
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
It can be fixed by following commands in %prep, which regenerate files for automake 1.16. libtoolize --copy --force autoreconf -vif autoconf and libtool have to be added to BuildRequires. 0003-autoreconf-f21.patch and 0004-autoreconf-on-f22.patch can be removed if you use the command.