initscripts/rebase.sh
Lukas Nykryn 049c81f2d3 9.70
2017-02-28 10:19:41 +01:00

8 lines
333 B
Bash
Executable File

#!/bin/bash
set -e
curl https://raw.githubusercontent.com/fedora-sysv/initscripts/master/initscripts.spec -o initscripts.spec
git add initscripts.spec
spectool -g initscripts.spec
fedpkg new-sources $(basename $(spectool -S -l initscripts.spec | awk '{print $2;}'))
git commit -m $(grep Version initscripts.spec | awk '{print $2;}')