some simple scripts to update the spec file and build using mock