rpms/ghc-HTTP/devel ghc-HTTP.spec,1.7,1.8

Jens Petersen petersen at fedoraproject.org
Sat Apr 25 12:14:54 UTC 2009


Author: petersen

Update of /cvs/pkgs/rpms/ghc-HTTP/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2475

Modified Files:
	ghc-HTTP.spec 
Log Message:
compile Setup on ppc to workaround runghc failure


Index: ghc-HTTP.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-HTTP/devel/ghc-HTTP.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ghc-HTTP.spec	24 Apr 2009 13:33:28 -0000	1.7
+++ ghc-HTTP.spec	25 Apr 2009 12:14:23 -0000	1.8
@@ -6,6 +6,11 @@
 # ghc does not emit debug information
 %global debug_package %{nil}
 
+%ifarch ppc
+# hack around mysterious runghc fail
+%global cabal ./cabal
+%endif
+
 Name:           ghc-%{pkg_name}
 Version:        4000.0.6
 Release:        1%{?dist}
@@ -76,6 +81,9 @@
 
 
 %build
+%ifarch ppc
+ghc --make Setup -o cabal
+%endif
 %cabal_configure --ghc %{?with_prof:-p}
 %cabal build
 %if %{with doc}
@@ -137,9 +145,10 @@
 
 
 %changelog
-* Fri Apr 24 2009 Jens Petersen <petersen at redhat.com> - 4000.0.6-1
+* Sat Apr 25 2009 Jens Petersen <petersen at redhat.com> - 4000.0.6-1
 - update to 4000.0.6
 - sync with cabal2spec-0.14
+- compile Setup on ppc to workaround runghc failure
 
 * Fri Feb 27 2009 Jens Petersen <petersen at redhat.com> - 4000.0.4-3
 - update url




More information about the fedora-extras-commits mailing list