[ghc-srpm-macros] ghc-7.8 seems to support ghci/TemplateHaskell on all archs

Jens Petersen petersen at fedoraproject.org
Tue Feb 17 08:58:26 UTC 2015


commit 88d8814ba6c5199ccc072f0034320af8c6bbfa67
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Feb 17 17:53:04 2015 +0900

    ghc-7.8 seems to support ghci/TemplateHaskell on all archs
    
    update %ghc_arches_with_ghci to all current archs
    and remove old archs from ghc_arches

 ghc-srpm-macros.spec |    7 +++++--
 macros.ghc-srpm      |    9 +++++----
 2 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/ghc-srpm-macros.spec b/ghc-srpm-macros.spec
index e7b948a..72e8a11 100644
--- a/ghc-srpm-macros.spec
+++ b/ghc-srpm-macros.spec
@@ -4,8 +4,8 @@
 %global macros_dir %{_rpmconfigdir}/macros.d
 
 Name:           ghc-srpm-macros
-Version:        1.3
-Release:        2%{?dist}
+Version:        1.4
+Release:        1%{?dist}
 Summary:        RPM macros for building Haskell source packages
 
 License:        GPLv2+
@@ -35,6 +35,9 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
 
 
 %changelog
+* Tue Feb 17 2015 Jens Petersen <petersen at redhat.com> - 1.4-1
+- ghc-7.8 shared libraries allow ghci to work on all arch's
+
 * Fri Jun 27 2014 Jens Petersen <petersen at redhat.com> - 1.3-2
 - add pkg git as URL (#1093541)
 - downgrade license tag to GPLv2+ in line with rpm (redhat-rpm-config is GPL+)
diff --git a/macros.ghc-srpm b/macros.ghc-srpm
index 6ca954f..5e054dc 100644
--- a/macros.ghc-srpm
+++ b/macros.ghc-srpm
@@ -1,8 +1,9 @@
 # Macros needed for building srpms of Haskell packages
 
-# ghci is currently only supported on the following archs
-%ghc_arches_with_ghci %{ix86} x86_64 ppc sparcv9 armv7hl armv5tel
+# from ghc-7.8 ghci is supported on all arch's
+# old archs: armv5tel ppc sparcv9
+%ghc_arches_with_ghci %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x
 
 # ghc_arches is not used in current packages but still here for back compat
-# old archs: alpha sparcv9
-%ghc_arches %{ix86} x86_64 ppc ppc64 ppc64le armv7hl armv5tel aarch64 s390 s390x
+# old archs: alpha ppc sparcv9 armv5tel
+%ghc_arches %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x


More information about the scm-commits mailing list