diff --git a/rebase.sh b/rebase.sh new file mode 100755 index 0000000..e5f060d --- /dev/null +++ b/rebase.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -e +curl https://raw.githubusercontent.com/fedora-sysv/chkconfig/master/chkconfig.spec -o chkconfig.spec +git add chkconfig.spec +spectool -g chkconfig.spec +fedpkg new-sources $(basename $(spectool -S -l chkconfig.spec | awk '{print $2;}')) +git commit -m $(grep Version chkconfig.spec | awk '{print $2;}') + +