Blob Blame History Raw
#!/bin/bash
set -e
( curl -fsS https://pagure.io/waiverdb/raw/master/f/waiverdb.spec ; sed -e '0,/^%changelog/d' waiverdb.spec ) > waiverdb.spec.new
mv waiverdb.spec.new waiverdb.spec
spectool -g waiverdb.spec
echo "waiverdb.spec written, don't forget to add a new %changelog entry"