Red Hat build tricks and treats

Ti Leggett leggett at mcs.anl.gov
Fri Apr 4 10:05:04 CST 2003


So here is the short and skinny of RPM building

1) remove any previous cvs checkout
2) checkout the code
3) run the attached script to make the tarball (this will remove the CVS
dirs so the tarball is more appropriate for release so your CVS checkout
will be unusable afterwards)
4) copy the tarball to /usr/src/redhat/SOURCES
5) copy the spec file (AccessGrid/packaging/redhat/AccessGrid.spec) to
/usr/src/redhat/SPECS
6) cd /usr/src/redhat/SPECS
7) run: rpm -ba AccessGrid.spec

That should do it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkagtar
Type: text/x-sh
Size: 193 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/ag-dev/attachments/20030404/b6893132/attachment.sh>


More information about the ag-dev mailing list