fix rpm Makefile target and prerequisites

depend on dist and the specfile, plus use automake's variables
include additional files in jq.spec

this will probably need changing upon SONAME bump