add update-package.sh script to update and commit fedora hackages to latest cabal2spec

epel9
Jens Petersen 14 years ago
parent 63cad15102
commit 4d5fcc9701

@ -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…
Cancel
Save