rpms/haddock/devel haddock.spec,1.20,1.21

Jens Petersen petersen at fedoraproject.org
Sat Apr 25 12:24:32 UTC 2009


Author: petersen

Update of /cvs/pkgs/rpms/haddock/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3884

Modified Files:
	haddock.spec 
Log Message:
compile Setup on ppc to workaround runghc failure


Index: haddock.spec
===================================================================
RCS file: /cvs/pkgs/rpms/haddock/devel/haddock.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- haddock.spec	25 Apr 2009 09:26:01 -0000	1.20
+++ haddock.spec	25 Apr 2009 12:24:01 -0000	1.21
@@ -4,6 +4,11 @@
 # ghc does not emit debug information
 %global debug_package %{nil}
 
+%ifarch ppc
+# hack around mysterious runghc fail
+%global cabal ./cabal
+%endif
+
 Name:           haddock
 Version:        2.4.2
 Release:        1%{?dist}
@@ -79,6 +84,9 @@
 
 
 %build
+%ifarch ppc
+ghc --make Setup -o cabal
+%endif
 %cabal_configure --ghc %{?with_prof:-p}
 %cabal build
 %if %{with doc}
@@ -161,6 +169,7 @@
 * Sat Apr 25 2009 Jens Petersen <petersen at redhat.com> - 2.4.2-1
 - update to 2.4.2
 - sync with cabal2spec-0.15
+- compile Setup on ppc to workaround runghc failure
 
 * Mon Mar  9 2009 Jens Petersen <petersen at redhat.com> - 2.4.1-4
 - update to cabal2spec-0.12:




More information about the fedora-extras-commits mailing list