Monday, May 19, 2008

Creating Custom RPMs from Source

A source RPM is, as the name indicates, a package of source code used to build architecture-specific packages. Properly labeled source RPMs include the src identifer as part of the file name, like so:

polarbear-2.07-2.src.rpm

Binary RPMs are built from source RPMs. The source RPM contains the source code and specifications necessary to create the binary RPM.

As I continue discussing source RPMs over the next several days, make sure your system includes the rpm-build package, for access to the rpmbuild command.

0 comments: