[ghc-hamlet] update to 0.8.2.1; cabal2spec-0.23; use ghc_exclude_archs

Jens Petersen petersen at fedoraproject.org
Mon Jun 20 09:13:50 UTC 2011


commit d6a5c0413e4440c45ef3957ea25ffb87429983eb
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jun 20 18:13:39 2011 +0900

    update to 0.8.2.1; cabal2spec-0.23; use ghc_exclude_archs

 .gitignore                       |    1 +
 ghc-hamlet.spec                  |   26 ++++++++++++--------------
 hamlet.cabal-blaze-builder.patch |   12 ------------
 sources                          |    2 +-
 4 files changed, 14 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 156fafe..86616c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /hamlet-0.6.1.2.tar.gz
+/hamlet-0.8.2.1.tar.gz
diff --git a/ghc-hamlet.spec b/ghc-hamlet.spec
index 57004bc..e4413f4 100644
--- a/ghc-hamlet.spec
+++ b/ghc-hamlet.spec
@@ -9,27 +9,21 @@ and it helps you avoid cross-site scripting issues and 404 \
 errors. Please see the documentation at \
 <http://docs.yesodweb.com/hamlet/> for more details.
 
-%global ghc_pkg_deps ghc-blaze-builder-devel, ghc-failure-devel, ghc-parsec-devel, ghc-text-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
-Version:        0.6.1.2
-Release:        4%{?dist}
+Version:        0.8.2.1
+Release:        1%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-# fedora ghc archs:
-ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+# ppc64 not bootstrapped for Template Haskell
+ExcludeArch:    %{ghc_excluded_archs} ppc64
+BuildRequires:  ghc-prof
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
-%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
-Patch1:         hamlet.cabal-blaze-builder.patch
+BuildRequires:  ghc-blaze-html-prof, ghc-failure-prof, ghc-parsec-prof, ghc-process-prof, ghc-text-prof
 
 %description
 %{common_description}
@@ -40,7 +34,6 @@ This package provides the shared library.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-%patch1 -p1 -b .orig
 
 
 %build
@@ -55,6 +48,11 @@ This package provides the shared library.
 
 
 %changelog
+* Mon Jun 20 2011 Jens Petersen <petersen at redhat.com> - 0.8.2.1-1
+- update to 0.8.2.1
+- use ghc_exclude_archs
+- cabal2spec-0.23
+
 * Wed Apr 20 2011 Jens Petersen <petersen at redhat.com> - 0.6.1.2-4
 - allow to build with blaze-builder-0.3
 
diff --git a/sources b/sources
index aec113f..c5398ad 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0d860590483b8ba320d2956211c363a9  hamlet-0.6.1.2.tar.gz
+db94cefc1b98388fce760e1ebf677018  hamlet-0.8.2.1.tar.gz


More information about the scm-commits mailing list