Thanks a lot dolda . I finally managed to install rpm-build.