You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghc/update-package.sh

17 lines
355 B

#!/bin/sh
[ $# -ne 1 ] && echo "Usage: $(basename $0) [package]" && exit 1
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"