Changes between Version 6 and Version 7 of BuildingRPMPackages


Ignore:
Timestamp:
02/03/11 23:11:14 (12 years ago)
Author:
https://www.google.com/accounts/o8/id?id=AItOawkqP8tgWB4n-zQS7ExlIs_3OoRpe13Buck
Comment:

Remove the "Building from a Tarball" section and replace it with a "Building from a Release Tarball" section that I believe is more accurate.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingRPMPackages

    v6 v7  
    22The Bcfg2 distribution contains two different spec files.  
    33 
    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 
     4== Building from a Release Tarball == 
     5 * Download the release tarball that you want to install from the [wiki:Downloads Downloads] page. 
     6 * Run `rpmbuild -ta <name of tarball here>`. 
     7 * On CentOS/RHEL, the resulting RPMs will be in `/usr/src/redhat/RPMS/noarch/` and SRPMs in `/usr/src/redhat/SRPMS/`. 
     8 * Example commands to build bcfg2-1.1.1 (on CentOS 5.5): 
    79   {{{ 
    8    wget http://trac.mcs.anl.gov/projects/bcfg2/browser/misc/bcfg2.spec 
     10      $ cd /tmp 
     11      $ wget ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-1.1.1.tar.gz 
     12      ... 
     13      $ rpmbuild -ta bcfg2-1.1.1.tar.gz 
     14      ... 
     15      $ ls /usr/src/redhat/RPMS/noarch/ 
     16      bcfg2-1.1.1-0.1.noarch.rpm  bcfg2-server-1.1.1-0.1.noarch.rpm 
    917   }}} 
    10  
    11  * Run `rpmbuild -ba bcfg2.spec` 
    12  * The resulting RPMs will be in `/usr/src/packages/RPMS/` and SRPMs in `/usr/src/packages/SRPMS` 
    1318 
    1419== Building from a git checkout ==