ghc/update-package.sh
Jens Petersen 48b6b02543 add cabal configure --enable-executable-dynamic and exclude ghc lib from lib metapackages
- patch Cabal to add configure option --enable-executable-dynamic
- exclude huge ghc API library from devel and prof metapackages
- add a runghc test to check
2011-01-22 15:16:08 +10:00

17 lines
355 B
Bash
Executable File

#!/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"