fixes for micro release version
@@ -82,8 +82,8 @@ class ohpc_obs_tool(object):
self.obsProject = "OpenHPC:" + self.branchVer + ":Factory"
else:
self.obsProject= (
- "OpenHPC:" + self.branchVer +
- ":Update" + self.microVer + ":Factory"
+ "OpenHPC:" + self.branchVer + "." +
+ self.microVer + ":Factory"
)
logging.info("--> OBS project = %s" % self.obsProject)
@@ -669,7 +669,7 @@ class ohpc_obs_tool(object):
if self.microVer == '0':
contents = contents.replace('!VERSION!', "2.x")
else:
- contents = contents.replace('!VERSION!', self.vip)
+ contents = contents.replace('!VERSION!',"2.x")
fp_serv = tempfile.NamedTemporaryFile(delete=True, mode='w')
fp_serv.write(contents)
