Hello community,

here is the log from the commit of package emacs-haskell-mode for 
openSUSE:Factory checked in at 2018-04-20 17:27:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/emacs-haskell-mode (Old)
 and      /work/SRC/openSUSE:Factory/.emacs-haskell-mode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "emacs-haskell-mode"

Fri Apr 20 17:27:41 2018 rev:4 rq:596296 version:16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/emacs-haskell-mode/emacs-haskell-mode.changes    
2016-07-21 08:00:59.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.emacs-haskell-mode.new/emacs-haskell-mode.changes   
    2018-04-20 17:28:13.425250745 +0200
@@ -1,0 +2,17 @@
+Fri Apr 13 11:08:13 UTC 2018 - [email protected]
+
+- Fix homepage and download URLs.
+- Re-format spec file with recent spec-cleaner.
+
+-------------------------------------------------------------------
+Mon Mar 26 15:49:21 UTC 2018 - [email protected]
+
+- update to 16.1
+* support Liquid Haskell annotations
+* support Yesod rules quasi quotes
+* implement electric characters
+- add patch GHCi8.2.1-response.patch
+* fix module reload in GHCi interactive sessions for GHC 8.2.1
+  and later 
+
+-------------------------------------------------------------------

Old:
----
  v13.18.tar.gz

New:
----
  GHCi8.2.1-response.patch
  haskell-mode-16.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ emacs-haskell-mode.spec ++++++
--- /var/tmp/diff_new_pack.ZF5yPE/_old  2018-04-20 17:28:14.613207665 +0200
+++ /var/tmp/diff_new_pack.ZF5yPE/_new  2018-04-20 17:28:14.613207665 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package emacs-haskell-mode
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,22 @@
 
 
 Name:           emacs-haskell-mode
-Version:        13.18
+Version:        16.1
 Release:        0
 Summary:        Haskell mode for EMACS
-License:        GPL-3.0
+License:        GPL-3.0-or-later
 Group:          Productivity/Text/Editors
-Url:            http://projects.haskell.org/haskellmode-emacs/
-Source:         
https://github.com/haskell/haskell-mode/archive/v%{version}.tar.gz
+URL:            http://haskell.github.io/haskell-mode/
+Source:         
https://github.com/haskell/haskell-mode/archive/v%{version}.tar.gz#/haskell-mode-%{version}.tar.gz
 Source1:        suse-start-haskell-mode.el
+# PATCH-FIX-UPSTREAM GHCi8.2.1-response.patch [email protected] -- Accept 
new GHCi response when reloading modules
+Patch1:         GHCi8.2.1-response.patch
 BuildRequires:  emacs-nox
 BuildRequires:  git
 BuildRequires:  makeinfo
 Requires:       emacs
 Requires(post): %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
@@ -45,6 +46,7 @@
 
 %prep
 %setup -q -n haskell-mode-%{version}
+%patch1 -p1
 
 %build
 make %{?_smp_mflags}
@@ -64,7 +66,6 @@
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/haskell-mode.info
 
 %files
-%defattr(-,root,root,-)
 %dir %{_lispdir}
 %doc COPYING NEWS README.md
 %{_infodir}/haskell-mode.info%{ext_info}

++++++ GHCi8.2.1-response.patch ++++++
>From 7a4cf46bbae2eb1c4a2f4e063f427344abeed473 Mon Sep 17 00:00:00 2001
From: Brian Cully <[email protected]>
Date: Fri, 13 Oct 2017 22:27:14 -0400
Subject: [PATCH] Fix haskell-process-load-complete for GHC 8.2.1

At some point by GHC 8.2.1, the text for successful load of a module
into ghci changed. This patch allows for the new format, in addition
to the existing ones.
---
 haskell-load.el | 8 ++++++++
 1 file changed, 8 insertions(+)

Index: haskell-mode-16.1/haskell-load.el
===================================================================
--- haskell-mode-16.1.orig/haskell-load.el
+++ haskell-mode-16.1/haskell-load.el
@@ -100,6 +100,14 @@ actual Emacs buffer of the module being
   (let* ((ok (cond
               ((haskell-process-consume
                 process
+                "Ok, \\([0-9]+\\) modules? loaded\\.$")
+               t)
+              ((haskell-process-consume
+                process
+                "Failed, \\([0-9]+\\) modules? loaded\\.$")
+               nil)
+              ((haskell-process-consume
+                process
                 "Ok, modules loaded: \\(.+\\)\\.$")
                t)
               ((haskell-process-consume

Reply via email to