Updated spec file for core rpm to use compiled code instead of php script for db_config.