Changes between Initial Version and Version 1 of BuildingRPMPackages


Ignore:
Timestamp:
02/06/09 08:43:29 (13 years ago)
Author:
kisielk
Comment:

Added instructions for building RPM packages

Legend:

Unmodified
Added
Removed
Modified
  • BuildingRPMPackages

    v1 v1  
     1= Building RPM Packages = 
     2The Bcfg2 distribution contains two different spec files.  
     3 
     4== Building from Tarball == 
     5 * Copy the tarball to `/usr/src/packages/SOURCES/` 
     6 * Extract another copy of it somewhere else (eg: `/tmp`) and retrieve the `misc/bcfg2.spec` file 
     7 * Run `rpmbuild -ba bcfg2.spec` 
     8 * The resulting RPMs will be in `/usr/src/packages/RPMS/` and SRPMs in `/usr/src/packages/SRPMS` 
     9 
     10== Building from an SVN Checkout == 
     11 * Enter the `redhat/` directory in the working copy 
     12 * Run `make` 
     13 * The resulting RPMs will be in `/usr/src/packages/RPMS/` and SRPMs in `/usr/src/packages/SRPMS` and will have the SVN revision appended