pkg: Fix setting of %dist when building RPMs

Signed-off-by: Euan Harris <euan.harris@citrix.com>