rpmdev-sha384: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/rpmdev-sha384 - from package: rpmdevtools

You may install the required package with command yum install {package}
Error in other languages:
rpmdev-sha384: bevel nie gevind nie
rpmdev-sha384: comandă negăsită
rpmdev-sha384: comando não encontrado
rpmdev-sha384: commande introuvable
rpmdev-sha384: command not found
rpmdev-sha384: käsku ei ole
rpmdev-sha384: không tìm thấy lệnh
rpmdev-sha384: komanda nerasta
rpmdev-sha384: Kommando nicht gefunden.
rpmdev-sha384: kommandot finns inte
rpmdev-sha384: komut yok
rpmdev-sha384: nie znaleziono polecenia
rpmdev-sha384: níor aimsíodh an t-ordú
rpmdev-sha384: no se encontró la orden
rpmdev-sha384: no s'ha trobat l'ordre
rpmdev-sha384: opdracht niet gevonden
rpmdev-sha384: parancs nem található
rpmdev-sha384: perintah tidak ditemukan
rpmdev-sha384: príkaz nenájdený
rpmdev-sha384: příkaz nenalezen
rpmdev-sha384: команда не найдена
rpmdev-sha384: командата не е открита
rpmdev-sha384: 命令找不到
rpmdev-sha384: コマンドが見つかりません