I think the release and version variables are also used internally by the spec file. Supply distinct variable names.