More magic for the spec file

Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>