configure: Handle .spec.in files in check_spec_name()

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