specdep: Fix tests to match new %dist handling

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #368 from euanh/build-improvements

specdep: Fix tests to match new %dist handling