[pandoc/el6] skip building the ghci .o file for ppc64

Jens Petersen petersen at fedoraproject.org
Tue Jun 26 08:41:04 UTC 2012


commit c121b1ac79de47f11f1b43da045eead046659d6d
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Jun 26 17:40:54 2012 +0900

    skip building the ghci .o file for ppc64

 pandoc.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/pandoc.spec b/pandoc.spec
index 181c1e6..c98a462 100644
--- a/pandoc.spec
+++ b/pandoc.spec
@@ -14,7 +14,7 @@ MediaWiki, groff man pages, EPUB, and S5 and Slidy HTML slide shows.
 
 Name:           %{pkg_name}
 Version:        1.9.4.1
-Release:        1%{?dist}
+Release:        1.1%{?dist}
 Summary:        Markup conversion tool for markdown
 
 Group:          Applications/Publishing
@@ -60,6 +60,9 @@ Patch1:         pandoc-default.latex-no-luatex.patch
 
 
 %build
+%ifarch ppc64
+%define cabal_configure_options --disable-library-for-ghci
+%endif
 %ghc_lib_build
 
 
@@ -93,6 +96,9 @@ rm %{buildroot}%{_datadir}/%{name}-%{version}/{BUGS,COPYRIGHT,INSTALL,README,cha
 
 
 %changelog
+* Tue Jun 26 2012 Jens Petersen <petersen at redhat.com> - 1.9.4.1-1.1
+- skip building the ghci .o file for ppc64
+
 * Sun Jun 10 2012 Jens Petersen <petersen at redhat.com> - 1.9.4.1-1
 - update to 1.9.4.1
 


More information about the scm-commits mailing list