Version 6 (modified by solj, 12 years ago) (diff) |
---|
Building RPM Packages
The Bcfg2 distribution contains two different spec files.
Building from Tarball
- Copy the tarball to /usr/src/packages/SOURCES/
- Extract another copy of it somewhere else (eg: /tmp) and retrieve the misc/bcfg2.spec file
wget http://trac.mcs.anl.gov/projects/bcfg2/browser/misc/bcfg2.spec
- Run rpmbuild -ba bcfg2.spec
- The resulting RPMs will be in /usr/src/packages/RPMS/ and SRPMs in /usr/src/packages/SRPMS
Building from a git checkout
- Enter the redhat/ directory in the working copy
- Run make
- The resulting RPMs will be in /usr/src/redhat/RPMS/, SRPMs in /usr/src/redhat/SRPMS, and will have the VCS tag appended