get version number from rpmpackage.sh

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>