. ./locations.include rpm -qa | grep rpmdb- if [ $? = 0 ] ; then echo "You have rpmdb shown above installed. This rpm must be " echo "removed for this new build to work" exit fi DATE=`date +"%Y%m%d"` echo "Making rpmdb-$DEFAULT now" #rpmbuild -ba rpmdb-$DEFAULT.spec.in rpmbuild -ba subscripts/rpmdb-$DEFAULT.spec.in 2>/dev/null 1>/dev/null rm ../../RPMS/rpmdb-$DEFAULT*.$ARCH.rpm cp -v /usr/src/redhat/RPMS/$ARCH/rpmdb-$DEFAULT-$RPMDBVERSION-0.$DATE.$ARCH.rpm ../../RPMS/ sh build.hdlist.sh