rpms/ghc-X11-xft/F-12 ghc-X11-xft.spec,1.2,1.3

Jens Petersen petersen at fedoraproject.org
Thu Dec 10 09:28:26 UTC 2009


Author: petersen

Update of /cvs/extras/rpms/ghc-X11-xft/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6470

Modified Files:
	ghc-X11-xft.spec 
Log Message:
add ppc cabal workaround hack


Index: ghc-X11-xft.spec
===================================================================
RCS file: /cvs/extras/rpms/ghc-X11-xft/F-12/ghc-X11-xft.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- ghc-X11-xft.spec	10 Dec 2009 04:31:03 -0000	1.2
+++ ghc-X11-xft.spec	10 Dec 2009 09:28:25 -0000	1.3
@@ -8,7 +8,7 @@
 
 Name:           ghc-%{pkg_name}
 Version:        0.3
-Release:        4%{?dist}
+Release:        4%{?dist}.1
 Summary:        Haskell bindings to the Xft library
 
 Group:          Development/Libraries
@@ -90,6 +90,12 @@ built for ghc-%{ghc_version}.
 
 
 %build
+%ifarch ppc
+# hack around mysterious runghc fail
+%global cabal ./cabal
+ghc --make Setup -o cabal
+%endif
+
 %cabal_configure --ghc %{?with_prof:-p}
 %cabal build
 %if %{with doc}
@@ -151,6 +157,9 @@ fi
 
 
 %changelog
+* Thu Dec 10 2009 Jens Petersen <petersen at redhat.com> - 0.3-4.1
+- add ppc cabal workaround hack
+
 * Mon Nov 16 2009 Jens Petersen <petersen at redhat.com> - 0.3-4
 - rebuild for ghc-X11-1.4.6.1
 - use %%ghc_pkg_ver for lib dep requires




More information about the scm-commits mailing list