-### the code in bootstrapfs reads
-### aclocal -I config
-# we suppress the -I config so that e.g. the libtool macros used are the ones from the system,
-# not the one that ships in config/
-sed -i -e "s,aclocal -I config,aclocal," ./bootstrap
-%endif
-
+autoreconf -i
+%configure --disable-doxygen
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+#make %{?_smp_mflags}
+make
+%else