revert the change from %separate_packages to %bundled_libs

we want to build all packages except all those separated out
(conversely %bundled_libs was missing alex and happy and
expecting more additions in next HP release)
This commit is contained in:
Jens Petersen 2014-03-17 14:52:52 +09:00
parent e8ca4e1d14
commit e8d33f6963

View File

@ -27,7 +27,7 @@
%global hashable_version 1.1.2.5
%global unordered_containers_version 0.2.3.0
%global bundled_libs cgi|fgl|GLURaw|GLUT|haskell-src|HTTP|OpenGL|OpenGLRaw|parallel|QuickCheck|regex-compat|syb|transformers|xhtml
%global separate_packages HUnit|html|mtl|network|parsec|random|regex-base|regex-posix|stm|text|zlib|async|primitive|split|vector|attoparsec|case-insensitive|hashable|unordered-containers
Name: haskell-platform
Version: 2013.2.0.0
@ -233,7 +233,7 @@ PATH=$HOME/.cabal/bin:$PATH
%define cabal_configure_options --user
cd packages
for i in $(egrep "^(%{?bundled_libs})-" platform.packages); do
for i in $(egrep -v "^(%{?separate_packages})-" platform.packages); do
name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
cd $name-$ver
@ -276,7 +276,7 @@ cd packages
PACKAGES_DIR=$PWD
for i in $(egrep "^(%{?bundled_libs})-" platform.packages); do
for i in $(egrep -v "^(%{?separate_packages})-" platform.packages); do
name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
cd $name-$ver