Creating Your Own RPMs
rpmbuild command
rpmbuild –ba    build binary and source rpms
rpmbuild –bb    build binary rpm
rpmbuild –bs    build source rpm
Before version 4, the rpm command was used instead
of rpmbuild.
Compatibility aliases in 4.0
Aliases removed in 4.1 (Redhat 8.0)
Need source files, patches (if any) and a spec file.
Source and patch files go in SOURCES/
Spec file goes in SPECS/