[KLUG Members] rebuild comps.rpm

Bruce Smith members@kalamazoolinux.org
Wed, 31 Dec 2003 09:11:18 -0500


> thanks to mr bruce for the article who give me a question about it , i
> have problem with the comps.rpm , would you give the details
> instruction for build comps.rpm.. 

Fedora:
        rpmbuild -bb --quiet --target i386 \
                --define "basedir ${BASE}/fd1/cd1/Fedora/base" \
                --define "compsversion 1" \
                --define "_rpmdir /tmp" \
                /usr/src/redhat/SPECS/comps-fedora.spec

Redhat 9:
        rpmbuild -bb --quiet --target i386 \
                --define "basedir ${BASE}/rh9/cd1/RedHat/base" \
                --define "compsversion 9" \
                --define "_rpmdir /tmp" \
                /usr/src/redhat/SPECS/comps-redhat.spec