From f10ca5aceccee2d43799a134621d1f799f6729b1 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 7 Feb 2014 10:06:40 +0700 Subject: [PATCH] Only apply reduce-opt patch on el6 ppc64 --- gambit-c.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gambit-c.spec b/gambit-c.spec index 52aef22..f13140e 100644 --- a/gambit-c.spec +++ b/gambit-c.spec @@ -87,11 +87,13 @@ Elisp source file for the Gambit-C editing mode for Emacs. %setup -q -n %{_dirname} %patch0 -p1 -b .modtime +%if 0%{?el6} %ifarch ppc64 %if ! %{with ppc64opt2} %patch1 -p1 -b .reduce-opt %endif -%endif +%endif # ppc64 +%endif # el6 touch -r doc/gambit-c.info-2{,.tstamp} iconv -f iso88591 -t utf8 doc/gambit-c.info-2 -o doc/gambit-c.info-2.utf8