Set rpm %_topdir macro during build

Set rpm %_topdir macro during build instead of globally for the build
user so that more than one rpm project can be built on jenkins.

Change-Id: If862119f39ab35ba0b5b5865949f1a9c6af3e70d