Skip to content.

Scientific Linux

Sections
Personal tools
You are here: Home » Documentation » How To » Old » How to build comps and rpmdb rpm's

How to build comps and rpmdb rpm's

Comps

In the comps spec file you need to change "%define basedir" to reflect your environment.
You can see the main Scientific Linux's in ftp://ftp.scientificlinux.org/linux/scientific/301/i386/SL/base/scripts/comps.spec
And a site specific one at ftp://ftp.scientificlinux.org/linux/scientific/301/i386/sites/example/base/scripts/comps.site.spec

rpmdb

For the rpmdb-redhat you need to add "%define rpmdbtree $TREE", where $TREE is represents your tree value. Ours is /mnt/src/sl30rolling
You can see our's in ftp://ftp.scientificlinux.org/linux/scientific/301/i386/SL/build/scripts/rpmdb-SL.spec.in

Note that I sort of "rewrote" some of the defines at the top of our version so that it would be easier to change for the sites.

For customized sites, the script "transform.sh" at ftp://ftp.scientificlinux.org/linux/scientific/30rolling/i386/sites/example/build/scripts/transform.sh takes the rpmdb-example.spec.in and turns in into rpmdb-$SITE.spec.in with all the defines fixed up to reflect that site.

-Connie Sieh

Created by dawson
Last modified 2004-09-24 12:10 PM
 

Powered by Plone

This site conforms to the following standards: