Hello community,

here is the log from the commit of package ghc-reflection for openSUSE:Factory 
checked in at 2016-02-17 10:25:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-reflection (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-reflection.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-reflection"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-reflection/ghc-reflection.changes    
2016-01-11 19:12:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-reflection.new/ghc-reflection.changes       
2016-02-17 12:11:55.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Feb 14 07:26:25 UTC 2016 - mimi...@gmail.com
+
+- update to 2.1.2
+* Support cross-compilation and unregistered GHC builds.
+
+-------------------------------------------------------------------

Old:
----
  reflection-2.1.1.1.tar.gz

New:
----
  reflection-2.1.2.tar.gz

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

Other differences:
------------------
++++++ ghc-reflection.spec ++++++
--- /var/tmp/diff_new_pack.iGRNkN/_old  2016-02-17 12:11:55.000000000 +0100
+++ /var/tmp/diff_new_pack.iGRNkN/_new  2016-02-17 12:11:55.000000000 +0100
@@ -18,7 +18,7 @@
 %global pkg_name reflection
 
 Name:           ghc-reflection
-Version:        2.1.1.1
+Version:        2.1.2
 Release:        0
 Summary:        Reifies arbitrary terms into types that can be reflected back 
into terms
 Group:          System/Libraries

++++++ reflection-2.1.1.1.tar.gz -> reflection-2.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/reflection-2.1.1.1/.travis.yml 
new/reflection-2.1.2/.travis.yml
--- old/reflection-2.1.1.1/.travis.yml  2016-01-07 14:20:43.000000000 +0100
+++ new/reflection-2.1.2/.travis.yml    2016-02-11 11:29:40.000000000 +0100
@@ -1,8 +1,11 @@
 env:
+ - GHCVER=7.0.2 CABALVER=1.24
+ - GHCVER=7.2.2 CABALVER=1.24
  - GHCVER=7.4.2 CABALVER=1.16
  - GHCVER=7.6.3 CABALVER=1.16
  - GHCVER=7.8.4 CABALVER=1.18
  - GHCVER=7.10.1 CABALVER=1.22
+ - GHCVER=8.0.1 CABALVER=1.24
  - GHCVER=head CABALVER=head
 
 matrix:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/reflection-2.1.1.1/CHANGELOG.markdown 
new/reflection-2.1.2/CHANGELOG.markdown
--- old/reflection-2.1.1.1/CHANGELOG.markdown   2016-01-07 14:20:43.000000000 
+0100
+++ new/reflection-2.1.2/CHANGELOG.markdown     2016-02-11 11:29:40.000000000 
+0100
@@ -1,3 +1,6 @@
+# 2.1.2
+* Support cross-compilation and unregistered GHC builds.
+
 # 2.1.1.1
 * Fixed typos in the documentation.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/reflection-2.1.1.1/fast/Data/Reflection.hs 
new/reflection-2.1.2/fast/Data/Reflection.hs
--- old/reflection-2.1.1.1/fast/Data/Reflection.hs      2016-01-07 
14:20:43.000000000 +0100
+++ new/reflection-2.1.2/fast/Data/Reflection.hs        2016-02-11 
11:29:40.000000000 +0100
@@ -15,7 +15,12 @@
 #define USE_TYPE_LITS 1
 #endif
 #ifdef MIN_VERSION_template_haskell
+# if __GLASGOW_HASKELL__ >= 800
+-- TH-subset that works with stage1 & unregisterised GHCs
+{-# LANGUAGE TemplateHaskellQuotes #-}
+# else
 {-# LANGUAGE TemplateHaskell #-}
+# endif
 #endif
 
 {-# OPTIONS_GHC -fno-warn-orphans #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/reflection-2.1.1.1/reflection.cabal 
new/reflection-2.1.2/reflection.cabal
--- old/reflection-2.1.1.1/reflection.cabal     2016-01-07 14:20:43.000000000 
+0100
+++ new/reflection-2.1.2/reflection.cabal       2016-02-11 11:29:40.000000000 
+0100
@@ -1,5 +1,5 @@
 name:           reflection
-version:        2.1.1.1
+version:        2.1.2
 license:        BSD3
 license-file:   LICENSE
 author:         Edward A. Kmett, Elliott Hird, Oleg Kiselyov and Chung-chieh 
Shan
@@ -73,6 +73,10 @@
   default-language: Haskell98
 
   if flag(template-haskell) && impl(ghc)
+    if !impl(ghc >= 8.0)
+      other-extensions: TemplateHaskell
+    -- else
+    --   other-extensions: TemplateHaskellQuotes -- Hackage doesn't know this 
extension yet
     build-depends: template-haskell
 
   if !flag(slow) && (impl(ghc) || impl(hugs))


Reply via email to