apply hadop and hive version var in spec file