10 lines
321 B
Bash
Executable File
10 lines
321 B
Bash
Executable File
#!/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;}')
|
|
|
|
|