Fix debian changelog generation

system("gzip") renames the file, so wait until we're done
Merge pull request #376 from mbakke/master

Debian changelog chmod fails
- fix --rpm-rpmbuild-define (based on #383, patch by Eric Merritt)
- new arr-pm because ruby 2.