Red Hat build tricks and treats

Robert Olson olson at mcs.anl.gov
Fri Apr 4 12:07:14 CST 2003


At 10:05 AM 4/4/2003 -0600, Ti Leggett wrote:
>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)

You can eliminate that step by using

         cvs export -D now AccessGrid

to create the checkout.

>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.

There's now a packaging/redhat/build_snapshot.py that does the above stuff.

--bob 




More information about the ag-dev mailing list