I needed to change spec file a bit since it required bind-libbind-devel and libtool-ltdl-devel which seem to be some Fedora specific stuff (probably part of bind-devel and and libtool/libtool-libs on CentOS, but I haven't checked).
yes, bind-libbind-devel is bind-devel and libtool-ltdl-devel is libtool