[haskell-platform] 2014.2.0.0 RC3

Jens Petersen petersen at fedoraproject.org
Thu Aug 7 14:45:03 UTC 2014


commit e2e49ad9dfca6daec782f14c732a0dca6b5ea0b9
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Aug 3 23:22:53 2014 +0900

    2014.2.0.0 RC3

 .gitignore            |    1 +
 haskell-platform.spec |  104 ++++++++++++++++++++++++-------------------------
 sources               |    2 +-
 3 files changed, 53 insertions(+), 54 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 364bb7f..bde46de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ haskell-platform-2010.2.0.0.tar.gz
 /haskell-platform-2012.4.0.0-rc2.tar.gz
 /haskell-platform-2012.4.0.0.tar.gz
 /haskell-platform-2013.2.0.0.tar.gz
+/haskell-platform-2014.2.0.0-srcdist-RC3.tar.gz
diff --git a/haskell-platform.spec b/haskell-platform.spec
index ca8a96c..0ba4691 100644
--- a/haskell-platform.spec
+++ b/haskell-platform.spec
@@ -1,53 +1,55 @@
 # https://fedoraproject.org/wiki/Packaging:Haskell
 
-%global ghc_compiler_version 7.6.3
-%global alex_version 3.0.5
-%global cabal_install_version 1.16.0.2
-%global happy_version 1.18.10
+%global ghc_compiler_version 7.8.3
+%global alex_version 3.1.3
+%global cabal_install_version 1.18.0.5
+%global happy_version 1.19.4
 
 %global HUnit_version 1.2.5.2
-%global HTTP_version 4000.2.8
+%global HTTP_version 4000.2.10
 %global html_version 1.0.1.2
-%global mtl_version 2.1.2
-%global network_version 2.4.1.2
-%global parallel_version 3.2.0.3
-%global parsec_version 3.1.3
+%global mtl_version 2.1.3.1
+%global network_version 2.4.2.3
+%global parallel_version 3.2.0.4
+%global parsec_version 3.1.5
 %global QuickCheck_version 2.6
 %global random_version 1.0.1.1
 %global regex_base_version 0.93.2
 %global regex_compat_version 0.95.1
 %global regex_posix_version 0.95.2
 %global stm_version 2.4.2
-%global syb_version 0.4.0
-%global text_version 0.11.3.1
-%global transformers_version 0.3.0.0
+%global syb_version 0.4.1
+%global text_version 1.1.0.0
+%global xhtml_version 3000.2.1
 %global zlib_version 0.5.4.1
 # 2012.4
-%global async_version 2.0.1.4
-%global primitive_version 0.5.0.1
+%global async_version 2.0.1.5
+%global primitive_version 0.5.2.1
 %global split_version 0.2.2
-%global vector_version 0.10.0.1
+%global vector_version 0.10.9.1
 # 2013.2
 %global attoparsec_version 0.10.4.0
-%global case_insensitive_version 1.0.0.1
-%global hashable_version 1.1.2.5
-%global unordered_containers_version 0.2.3.0
+%global case_insensitive_version 1.1.0.3
+%global hashable_version 1.2.2.0
+%global unordered_containers_version 0.2.4.0
+# 2014.2
+%global hscolour_version 1.20.3
 
-%global separate_packages QuickCheck|HTTP|HUnit|alex|cabal-install|happy|html|mtl|network|parallel|parsec|random|regex-base|regex-compat|regex-posix|stm|syb|text|transformers|zlib|async|primitive|split|vector|attoparsec|case-insensitive|hashable|unordered-containers
+%global separate_packages QuickCheck|HTTP|HUnit|alex|cabal-install|happy|html|mtl|network|parallel|parsec|random|regex-base|regex-compat|regex-posix|stm|syb|text|zlib|async|primitive|split|vector|attoparsec|case-insensitive|hashable|unordered-containers|xhtml|hscolour
 
 Name:           haskell-platform
-Version:        2013.2.0.0
+Version:        2014.2.0.0
 # Since library subpackages are versioned:
 # - release can only be reset if all library versions get bumped simultaneously
 #   (eg for a major release)
 # - minor release numbers should be incremented monotonically
-Release:        37%{?dist}
+Release:        1%{?dist}
 Summary:        Standard Haskell distribution
 
 Group:          Development/Tools
 License:        BSD
 URL:            http://hackage.haskell.org/platform
-Source0:        http://lambda.haskell.org/platform/download/%{version}/%{name}-%{version}.tar.gz
+Source0:        http://lambda.haskell.org/platform/download/%{version}/%{name}-%{version}-srcdist-RC3.tar.gz
 
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros-extra
@@ -81,8 +83,8 @@ BuildRequires:  ghc-syb-devel = %{syb_version}
 BuildRequires:  ghc-template-haskell-devel
 %endif
 BuildRequires:  ghc-text-devel = %{text_version}
-BuildRequires:  ghc-transformers-devel = %{transformers_version}
 BuildRequires:  ghc-time-devel
+BuildRequires:  ghc-xhtml-devel = %{xhtml_version}
 BuildRequires:  ghc-zlib-devel = %{zlib_version}
 # part of HP-2012.4
 BuildRequires:  ghc-async-devel = %{async_version}
@@ -94,6 +96,9 @@ BuildRequires:  ghc-attoparsec-devel = %{attoparsec_version}
 BuildRequires:  ghc-case-insensitive-devel = %{case_insensitive_version}
 BuildRequires:  ghc-hashable-devel = %{hashable_version}
 BuildRequires:  ghc-unordered-containers-devel = %{unordered_containers_version}
+# part of HP-2014.2
+BuildRequires:  ghc-hscolour-devel = %{hscolour_version}
+BuildRequires:  hscolour = %{hscolour_version}
 
 # ghci "ghc" library is not officially part of hackage-platform
 Requires:       ghc-compiler = %{ghc_compiler_version}
@@ -101,6 +106,7 @@ Requires:       alex = %{alex_version}
 Requires:       cabal-install = %{cabal_install_version}
 Requires:       happy = %{happy_version}
 Requires:       ghc-haskell-platform-devel = %{version}-%{release}
+Requires:       hscolour = %{hscolour_version}
 
 %description
 Haskell Platform is a suite of stable and well used Haskell libraries
@@ -112,16 +118,13 @@ and tools.  It provides a good starting environment for Haskell development.
 %global haskell_platform_version %{version}
 
 %if %{defined ghclibdir}
-%ghc_lib_subpackage cgi 3001.1.7.5
-%ghc_lib_subpackage fgl 5.4.2.4
-%ghc_lib_subpackage -c mesa-libGLU-devel%{?_isa} GLURaw 1.3.0.0
-%ghc_lib_subpackage -c freeglut-devel%{?_isa} GLUT 2.4.0.0
+%ghc_lib_subpackage fgl 5.5.0.1
+%ghc_lib_subpackage -c mesa-libGLU-devel%{?_isa} GLURaw 1.4.0.1
+%ghc_lib_subpackage -c freeglut-devel%{?_isa} GLUT 2.5.1.1
 # used by lambdabot-utils
-%ghc_lib_subpackage haskell-src 1.0.1.5
-%ghc_lib_subpackage OpenGL 2.8.0.0
-%ghc_lib_subpackage -c mesa-libGL-devel%{?_isa} OpenGLRaw 1.3.0.0
-# exposed in ghc-7.8
-%ghc_lib_subpackage xhtml 3000.2.1
+%ghc_lib_subpackage haskell-src 1.0.1.6
+%ghc_lib_subpackage OpenGL 2.9.2.0
+%ghc_lib_subpackage -c mesa-libGL-devel%{?_isa} OpenGLRaw 1.5.0.0
 %endif
 
 %global version %{haskell_platform_version}
@@ -149,7 +152,7 @@ Requires:       ghc-regex-posix-devel = %{regex_posix_version}
 Requires:       ghc-stm-devel = %{stm_version}
 Requires:       ghc-syb-devel = %{syb_version}
 Requires:       ghc-text-devel = %{text_version}
-Requires:       ghc-transformers-devel = %{transformers_version}
+Requires:       ghc-xhtml-devel = %{xhtml_version}
 Requires:       ghc-zlib-devel = %{zlib_version}
 # part of HP-2012.4
 Requires:       ghc-async-devel = %{async_version}
@@ -161,6 +164,8 @@ Requires:       ghc-attoparsec-devel = %{attoparsec_version}
 Requires:       ghc-case-insensitive-devel = %{case_insensitive_version}
 Requires:       ghc-hashable-devel = %{hashable_version}
 Requires:       ghc-unordered-containers-devel = %{unordered_containers_version}
+# part of HP-2014.2
+Requires:       ghc-hscolour-devel = %{hscolour_version}
 # added in F17 devel cycle
 Obsoletes:      ghc-haskell-platform < %{version}-%{release}
 
@@ -171,28 +176,23 @@ This provides the haskell-platform meta library package.
 %prep
 %setup -q -n %{name}-%{version}
 
-cd packages
-
-cd ..
+# hack for h-p.cabal in top dir
+mkdir packages/%{name}-%{version}
+cp LICENSE hptool/Setup.hs packages/%{name}-%{version}
+mv %{name}.cabal packages/%{name}-%{version}
 
 
 %build
 HOME=$PWD
-PATH=$HOME/.cabal/bin:$PATH
 %define cabal_configure_options --user
-
 cd packages
-for i in $(egrep -v "^(%{?separate_packages})-" platform.packages); do
+for i in $(egrep -v "^(%{?separate_packages})-" ../etc/build.packages) %{name}-%{version}; do
 name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
 ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
 cd $name-$ver
 case $name in
-alex|cabal-install|happy)
-%ghc_bin_build
-;;
 haskell-platform)
 %ghc_lib_build_without_haddock $name $ver
-cabal_configure_extra_options=
 ;;
 *)
 %ghc_lib_build $name $ver
@@ -201,29 +201,21 @@ cabal_configure_extra_options=
 esac
 cd ..
 done
+cd ..
 
 
 %install
 HOME=$PWD
-PATH=$HOME/.cabal/bin:$PATH
 
 cd packages
-
-for i in $(egrep -v "^(%{?separate_packages})-" platform.packages); do
+for i in $(egrep -v "^(%{?separate_packages})-" ../etc/build.packages) %{name}-%{version}; do
 name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
 ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
 cd $name-$ver
-case $name in
-alex|cabal-install|happy)
-%ghc_bin_install $name $ver
-;;
-*)
 %ghc_lib_install $name $ver
 # for ghc-7.8
 #%%ghc_gen_filelists $name $ver
 echo "%doc packages/$name-$ver/LICENSE" >> ghc-$name.files
-;;
-esac
 cd ..
 done
 
@@ -252,6 +244,12 @@ rm %{buildroot}/%{_docdir}/ghc-%{name}*/LICENSE
 
 
 %changelog
+* Sun Aug  3 2014 Jens Petersen <petersen at redhat.com> - 2014.2.0.0-1
+- update to haskell-platform-2014.2 RC3
+- ghc-7.8.3 ships xhtml
+- cgi dropped
+- requires hscolour
+
 * Tue Jul  8 2014 Jens Petersen <petersen at redhat.com> - 2013.2.0.0-37
 - rebuild for F21
 
diff --git a/sources b/sources
index 7955bcc..9d377f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-36d02a889ad57a6345b167f5c7a6c164  haskell-platform-2013.2.0.0.tar.gz
+13606bed486e73dfe383d4e154fe60d2  haskell-platform-2014.2.0.0-srcdist-RC3.tar.gz


More information about the scm-commits mailing list