[highlighting-kate/el6] skip building the ghci .o file for ppc64

Jens Petersen petersen at fedoraproject.org
Tue Jun 26 01:09:42 UTC 2012


commit c19ed501ef41bdf1bfd8ee88286dd4bcb970e376
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Jun 26 10:09:37 2012 +0900

    skip building the ghci .o file for ppc64

 highlighting-kate.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/highlighting-kate.spec b/highlighting-kate.spec
index 0aa4c5e..74a7a80 100644
--- a/highlighting-kate.spec
+++ b/highlighting-kate.spec
@@ -13,7 +13,7 @@ any syntax supported by Kate can be added.
 
 Name:           %{pkg_name}
 Version:        0.5.1
-Release:        1%{?dist}
+Release:        1.1%{?dist}
 Summary:        Sourcecode syntax highlighting library
 
 Group:          Applications/Publishing
@@ -45,6 +45,9 @@ The package provides the Highlighting commandline program.
 
 %build
 %define cabal_configure_options -f executable
+%ifarch ppc64
+%define cabal_configure_options --disable-library-for-ghci
+%endif
 %ghc_lib_build
 
 
@@ -77,6 +80,9 @@ The package provides the Highlighting commandline program.
 
 
 %changelog
+* Tue Jun 26 2012 Jens Petersen <petersen at redhat.com> - 0.5.1-1.1
+- skip building the ghci .o file for ppc64
+
 * Sun Jun 10 2012 Jens Petersen <petersen at redhat.com> - 0.5.1-1
 - update to 0.5.1
 


More information about the scm-commits mailing list