diff --git a/ghc-snap-core.spec b/ghc-snap-core.spec index de2c736..8d6c668 100644 --- a/ghc-snap-core.spec +++ b/ghc-snap-core.spec @@ -41,6 +41,7 @@ BuildRequires: ghc-unix-compat-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-vector-prof BuildRequires: ghc-zlib-enum-prof +Patch1: snap-core-0.7.0.1-mwc-random-0.11.patch %description %{common_description} @@ -48,6 +49,7 @@ BuildRequires: ghc-zlib-enum-prof %prep %setup -q -n %{pkg_name}-%{version} +%patch1 -p1 -b .orig %build @@ -80,8 +82,9 @@ BuildRequires: ghc-zlib-enum-prof %changelog * Mon Jan 16 2012 Jens Petersen - 0.7.0.1-1 -- update to 0.6.0.1 and cabal2spec-0.25.2 +- update to 0.7.0.1 and cabal2spec-0.25.2 - add some doc files +- allow building with mwc-random-0.11 * Fri Dec 16 2011 Jens Petersen - 0.6.0.1-1 - update to 0.6.0.1 diff --git a/snap-core-0.7.0.1-mwc-random-0.11.patch b/snap-core-0.7.0.1-mwc-random-0.11.patch new file mode 100644 index 0000000..b2cc3a2 --- /dev/null +++ b/snap-core-0.7.0.1-mwc-random-0.11.patch @@ -0,0 +1,11 @@ +--- snap-core-0.7.0.1/snap-core.cabal~ 2011-12-23 00:50:50.000000000 +0900 ++++ snap-core-0.7.0.1/snap-core.cabal 2012-01-24 10:46:00.238273623 +0900 +@@ -154,7 +154,7 @@ + HUnit >= 1.2 && < 2, + MonadCatchIO-transformers >= 0.2.1 && < 0.3, + mtl == 2.0.*, +- mwc-random >= 0.10 && <0.11, ++ mwc-random >= 0.10 && <0.12, + old-locale, + old-time, + regex-posix <= 0.95.2,