remove reliance on file:spec > 3.40 and support perl 5.8 and up

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>