Only apply reduce-opt patch on el6 ppc64

This commit is contained in:
Michel Alexandre Salim 2014-02-07 10:06:40 +07:00
parent 4a2dc07eb6
commit f10ca5acec
1 changed files with 3 additions and 1 deletions

View File

@ -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