rpm -ba spec-file OR rpm --rebuild spec-file
This compiles the source and builds a binary rpm, then places it in /usr/src/packages/RPMS/Architecture.
Building a package from an rpm source package starts with the pristine sources from the developer, applies any patches from the package builder, and uses options in the SPEC file to compile and create the binary package.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
its crap ..
rpm -ba spec-file OR rpm --rebuild spec-file
This compiles the source and builds a binary rpm, then places it in /usr/src/packages/RPMS/Architecture.
Building a package from an rpm source package starts with the pristine sources from the developer, applies any patches from the package builder, and uses options in the SPEC file to compile and create the binary package.