add update-package.sh script to update and commit fedora hackages to latest cabal2spec
This commit is contained in:
parent
381ac69fec
commit
09d837536f
14
update-package.sh
Executable file
14
update-package.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e -x
|
||||
|
||||
PKG=$1
|
||||
|
||||
cd ~/fedora/haskell/$PKG/master
|
||||
git pull
|
||||
|
||||
cat ~/fedora/haskell/cabal2spec/master/cabal2spec-0.22.4.diff | sed -e "s/@PKG@/$PKG/" | patch -p1
|
||||
|
||||
rpmdev-bumpspec --comment="update to cabal2spec-0.22.4" $PKG.spec
|
||||
|
||||
fedpkg commit -p -m "update to cabal2spec-0.22.4"
|
Loading…
Reference in New Issue
Block a user