[ghc-network] ghc-network has ancient config.guess and config.sub which doesn't support ppc64le. Update with the o

Karsten Hopp karsten at fedoraproject.org
Fri Jun 6 11:10:30 UTC 2014


commit baa0688de5cac2859696e7b46488a36fdba8ff82
Author: Karsten Hopp <karsten at redhat.com>
Date:   Fri Jun 6 13:10:41 2014 +0200

    ghc-network has ancient config.guess and config.sub which doesn't support ppc64le.
    Update with the ones included in rpm

 ghc-network.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ghc-network.spec b/ghc-network.spec
index 3f69f92..ba3afde 100644
--- a/ghc-network.spec
+++ b/ghc-network.spec
@@ -7,7 +7,7 @@
 Name:           ghc-%{pkg_name}
 # part of haskell-platform
 Version:        2.4.2.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Low-level networking interface
 
 License:        BSD
@@ -46,7 +46,8 @@ This package provides the Haskell %{pkg_name} library development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-
+# Use rpm's config.* to support new archs like ppc64le
+cp -f /usr/lib/rpm/config.{guess,sub} .
 
 %build
 %ghc_lib_build
@@ -79,6 +80,9 @@ This package provides the Haskell %{pkg_name} library development files.
 
 
 %changelog
+* Fri Jun 06 2014 Karsten Hopp <karsten at redhat.com> 2.4.2.2-2
+- Use rpm's config.* to support new archs like ppc64le
+
 * Wed Jun 04 2014 Jens Petersen <petersen at redhat.com> - 2.4.2.2-1
 - update to 2.4.2.2 with cabalrpm-0.8.11
 


More information about the scm-commits mailing list