Hello community, here is the log from the commit of package pointfree for openSUSE:Factory checked in at 2016-01-09 23:13:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pointfree (Old) and /work/SRC/openSUSE:Factory/.pointfree.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pointfree" Changes: -------- --- /work/SRC/openSUSE:Factory/pointfree/pointfree.changes 2015-06-30 10:15:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pointfree.new/pointfree.changes 2016-01-09 23:13:45.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Dec 15 21:54:50 UTC 2015 - mimi...@gmail.com + +- add fix-haskell-src-exts.patch Sergei Trofimovich <siarh...@google.com> + +------------------------------------------------------------------- New: ---- fix-haskell-src-exts.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pointfree.spec ++++++ --- /var/tmp/diff_new_pack.BQGm54/_old 2016-01-09 23:13:46.000000000 +0100 +++ /var/tmp/diff_new_pack.BQGm54/_new 2016-01-09 23:13:46.000000000 +0100 @@ -28,6 +28,8 @@ License: MIT Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix-haskell-src-exts.patch Sergei Trofimovich <siarh...@google.com> fix build with LTS4 +Patch0: fix-haskell-src-exts.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ghc-Cabal-devel @@ -70,7 +72,7 @@ %prep %setup -q - +%patch0 -p1 %build %ghc_lib_build ++++++ fix-haskell-src-exts.patch ++++++ 7776a6c52c095f4ed4372a368a549398 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich <siarh...@google.com> Date: Sat, 21 Nov 2015 12:19:24 +0000 Subject: [PATCH 1/2] pointfree.cabal: allow HUnit-1.3 Signed-off-by: Sergei Trofimovich <siarh...@google.com> --- pointfree.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pointfree.cabal b/pointfree.cabal index d79966b..a60ad1c 100644 --- a/pointfree.cabal +++ b/pointfree.cabal @@ -69,7 +69,7 @@ Test-suite tests base < 5, containers >= 0.3 && < 0.6, haskell-src-exts == 1.16.*, - HUnit >= 1.1 && < 1.3, + HUnit >= 1.1 && < 1.4, QuickCheck >= 2.1 && < 2.9, transformers < 0.5 >From 9b18b83a9a0d1fa5136f1ec8b255293bf65892f5 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich <siarh...@google.com> Date: Sat, 21 Nov 2015 12:25:58 +0000 Subject: [PATCH 2/2] pointfree.cabal: tweak for haskell-src-exts-1.17 Signed-off-by: Sergei Trofimovich <siarh...@google.com> --- Plugin/Pl/Parser.hs | 4 ++-- pointfree.cabal | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Plugin/Pl/Parser.hs b/Plugin/Pl/Parser.hs index 8d95b86..6309b08 100644 --- a/Plugin/Pl/Parser.hs +++ b/Plugin/Pl/Parser.hs @@ -68,9 +68,9 @@ apps f xs = foldl (\a x -> a `App` hseToExpr x) f xs hseToDecl :: HSE.Decl -> Decl hseToDecl dec = case dec of - HSE.PatBind _ (HSE.PVar n) (HSE.UnGuardedRhs e) (HSE.BDecls []) -> + HSE.PatBind _ (HSE.PVar n) (HSE.UnGuardedRhs e) Nothing -> Define (snd (nameString n)) (hseToExpr e) - HSE.FunBind [HSE.Match _ n ps Nothing (HSE.UnGuardedRhs e) (HSE.BDecls [])] -> + HSE.FunBind [HSE.Match _ n ps Nothing (HSE.UnGuardedRhs e) Nothing] -> Define (snd (nameString n)) (foldr (\p x -> Lambda (hseToPattern p) x) (hseToExpr e) ps) _ -> todo dec diff --git a/pointfree.cabal b/pointfree.cabal index a60ad1c..323ade9 100644 --- a/pointfree.cabal +++ b/pointfree.cabal @@ -28,7 +28,7 @@ library Build-depends: base >= 4.5 && < 4.9, array >= 0.3 && < 0.6, containers >= 0.4 && < 0.6, - haskell-src-exts == 1.16.*, + haskell-src-exts == 1.17.*, transformers < 0.5 Other-modules: Plugin.Pl.Common Plugin.Pl.Parser @@ -49,7 +49,7 @@ Executable pointfree Build-depends: base >= 4.3 && < 4.9, array >= 0.3 && < 0.6, containers >= 0.4 && < 0.6, - haskell-src-exts == 1.16.*, + haskell-src-exts == 1.17.*, transformers < 0.5 Other-modules: Plugin.Pl.Common Plugin.Pl.Parser @@ -68,7 +68,7 @@ Test-suite tests array >= 0.3 && < 0.6, base < 5, containers >= 0.3 && < 0.6, - haskell-src-exts == 1.16.*, + haskell-src-exts == 1.17.*, HUnit >= 1.1 && < 1.4, QuickCheck >= 2.1 && < 2.9, transformers < 0.5