Added changes to pass version and release dynamically for rpm spec

Change-Id: I606abb28cd5f7d837a02e070bae91d1a942c9e83