Update spec file to update the revision automatically