48b6b02543
- 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
17 lines
355 B
Bash
Executable File
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"
|