[ghc-hamlet] allow to build with blaze-builder-0.3

Jens Petersen petersen at fedoraproject.org
Wed Apr 20 10:31:25 UTC 2011


commit 3bcdff673cb55d9eb0e5b1fccda64914b105744f
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Apr 20 19:31:30 2011 +0900

    allow to build with blaze-builder-0.3

 ghc-hamlet.spec                  |    7 ++++++-
 hamlet.cabal-blaze-builder.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/ghc-hamlet.spec b/ghc-hamlet.spec
index aea0f7d..57004bc 100644
--- a/ghc-hamlet.spec
+++ b/ghc-hamlet.spec
@@ -16,7 +16,7 @@ errors. Please see the documentation at \
 
 Name:           ghc-%{pkg_name}
 Version:        0.6.1.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -29,6 +29,7 @@ BuildRequires:  ghc, ghc-doc, ghc-prof
 BuildRequires:  ghc-rpm-macros >= 0.7.3
 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
 
 %description
 %{common_description}
@@ -39,6 +40,7 @@ This package provides the shared library.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+%patch1 -p1 -b .orig
 
 
 %build
@@ -53,6 +55,9 @@ This package provides the shared library.
 
 
 %changelog
+* Wed Apr 20 2011 Jens Petersen <petersen at redhat.com> - 0.6.1.2-4
+- allow to build with blaze-builder-0.3
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.6.1.2-3
 - Enable build on sparcv9
 
diff --git a/hamlet.cabal-blaze-builder.patch b/hamlet.cabal-blaze-builder.patch
new file mode 100644
index 0000000..cd42cc3
--- /dev/null
+++ b/hamlet.cabal-blaze-builder.patch
@@ -0,0 +1,12 @@
+diff -u hamlet-0.6.1.2/hamlet.cabal\~ hamlet-0.6.1.2/hamlet.cabal
+--- hamlet-0.6.1.2/hamlet.cabal~	2010-12-22 04:43:56.000000000 +0900
++++ hamlet-0.6.1.2/hamlet.cabal	2011-04-20 19:23:15.000000000 +0900
+@@ -42,7 +42,7 @@
+     build-depends:   base             >= 4       && < 5
+                    , bytestring       >= 0.9     && < 0.10
+                    , template-haskell
+-                   , blaze-builder    >= 0.2     && < 0.3
++                   , blaze-builder    >= 0.2     && < 0.4
+                    , parsec           >= 2       && < 4
+                    , failure          >= 0.1.0   && < 0.2
+                    , text             >= 0.7     && < 0.12


More information about the scm-commits mailing list