From 912bde26bbfda7b76a0d1e9fe21f321368937587 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 24 Feb 2017 15:26:28 +0100 Subject: [PATCH] add small script for rebases --- rebase.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 rebase.sh 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;}') + +