-# Following export PATH is a dirty hack to let gnuradio configure find sdcc
-export PATH=$PATH:/usr/libexec/sdcc
-./bootstrap
-#./configure
+# dirty hack to let gnuradio configure find sdcc
+export PATH=%{_libexecdir}/sdcc:$PATH
+
+########## the bootstrap script basically reruns autoconf and automake
+%if "%{distro}" == "Fedora" && %{distrorelease} >= 12
+autoreconf -i