script to check dists for packaging issues

based in part on rjbs's code-review tool
couple more tweaks to the weather script