From OpenSCADAWiki
If you have no directory of RPM packets after installing the specialized package, then you need to create it with the command:
install -m 755 -d ~/rpmbuild/{SPECS,SOURCES} # RedHat, CentOS, Mandriva, Fedora
install -m 755 -d /usr/src/packages/{SPECS,SOURCES} # SuSE
install -m 755 -d ~/RPM/{SPECS,SOURCES} # ALTLinux