Douglas Schilling Landgraf has uploaded a new change for review. Change subject: vdsm.spec.in: update raw_version_revision ......................................................................
vdsm.spec.in: update raw_version_revision The raw_version_revision from dsaversion.py should be updated with the version/release of RPM removing the git stuff. Change-Id: I8dc1e514ef8fd626018167e1dd13bc58100d5d7b Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M vdsm.spec.in 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/11/14011/1 diff --git a/vdsm.spec.in b/vdsm.spec.in index 7db32b3..a22976f 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -493,7 +493,9 @@ # Setting software_version and software_revision in dsaversion.py baserelease=`echo "%{release}" | sed 's/\([0-9]\+\(\.[0-9]\+\)\?\).*/\1/'` baseversion=`echo "%{version}" | sed 's/\([0-9]\+\(\.[0-9]\+\)\?\).*/\1/'` +fullversion=%{version}.${baserelease} sed -i -e 's/^software_version =.*/software_version = "'"${baseversion}"'"/' \ + -e 's/^raw_version_revision =.*/raw_version_revision = "'"${fullversion}"'"/' \ -e 's/^software_revision =.*/software_revision = "'"${baserelease}"'"/' vdsm/dsaversion.py %install -- To view, visit http://gerrit.ovirt.org/14011 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8dc1e514ef8fd626018167e1dd13bc58100d5d7b Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
