[gtk2hs-buildtools] cabal build generates .s not cabal config

Jens Petersen petersen at fedoraproject.org
Mon Sep 6 06:33:53 UTC 2010


commit bdaa98f55e4011b83589ffeaffbf7158499161a5
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Sep 6 16:33:55 2010 +1000

    cabal build generates .s not cabal config

 gtk2hs-buildtools.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk2hs-buildtools.spec b/gtk2hs-buildtools.spec
index 1e5967b..44f3492 100644
--- a/gtk2hs-buildtools.spec
+++ b/gtk2hs-buildtools.spec
@@ -40,8 +40,9 @@ the gtk2hs libraries themselves.
 
 %build
 #%%ghc_bin_build
-%cabal_configure --ghc -v3 --ghc-option=-keep-tmp-files || cat /tmp/ghc*/ghc*.s
-%cabal build -v3
+%cabal_configure --ghc -v3 --ghc-option=-keep-tmp-files
+%cabal build -v3 || cat /tmp/ghc*/ghc*.s
+exit 1
 %cabal haddock %{?with_hscolour:--hyperlink-source}
 
 


More information about the scm-commits mailing list