From 9a72b6aca74adf8d37a77d78ddf41680ffafce35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 27 Sep 2011 21:34:50 +0000 Subject: [PATCH] - cpphs 1.13.1 is good too Changed files: hlint-deps.patch -> 1.1 hlint.spec -> 1.6 --- hlint-deps.patch | 11 +++++++++++ hlint.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 hlint-deps.patch diff --git a/hlint-deps.patch b/hlint-deps.patch new file mode 100644 index 0000000..f239bdf --- /dev/null +++ b/hlint-deps.patch @@ -0,0 +1,11 @@ +--- hlint-1.8.15/hlint.cabal~ 2011-08-13 18:18:53.000000000 +0200 ++++ hlint-1.8.15/hlint.cabal 2011-09-27 23:32:29.297422103 +0200 +@@ -41,7 +41,7 @@ + base == 4.*, process, filepath, directory, containers, + transformers >= 0.0 && < 0.3, + hscolour >= 1.17 && < 1.20, +- cpphs >= 1.11 && < 1.13, ++ cpphs >= 1.11 && < 1.14, + haskell-src-exts >= 1.11 && < 1.12, + uniplate >= 1.5 && < 1.7 + diff --git a/hlint.spec b/hlint.spec index 6f5e8eb..525a0c7 100644 --- a/hlint.spec +++ b/hlint.spec @@ -6,6 +6,7 @@ License: GPL Group: Development/Languages Source0: http://hackage.haskell.org/packages/archive/hlint/%{version}/%{name}-%{version}.tar.gz # Source0-md5: 4ce291cb13ff410bff8f1b9adb9f8a34 +Patch0: %{name}-deps.patch URL: http://community.haskell.org/~ndm/hlint/ BuildRequires: cpphs BuildRequires: ghc >= 6.12.3 @@ -36,6 +37,7 @@ Dokumentacja w formacie HTML dla %{pkgname}. %prep %setup -q +%patch0 -p1 %build runhaskell Setup.hs configure -v2 \ -- 2.44.0