# Process for building rpms from CVS.

# Pre-requsisite

# Check out the interpreter code from CVS, renaming to what the rpms expect
cvs export InterpretersCurrent
cd InterpretersCurrent

# Create a destination directory for the object files
mkdir -p project/redhat/Release/obj

## Edit the Makefile to remove the updateversion.pl line
vi project/redhat/Makefile

# Re-constitute the tarball and build the rpms.
cd ..
mv InterpretersCurrent Interpreters
tar -cjvf ~/rpm/SOURCES/Interpreters.tbz2 Interpreters
				  
rpmbuild -ba ~/rpm/SPECS/ovaldi.spec

# Get the files
cd
ls rpm/RPMS/i386/ovaldi-4.0.0-1.0.i386.rpm rpm/SRPMS/ovaldi-4.0.0-1.0.src.rpm  rpm/SOURCES/Interpreters.tbz2
