BR alex on ppc archs and apply bang pattern patch on ppc64
This commit is contained in:
parent
328d974755
commit
da9603d45f
1 changed files with 9 additions and 2 deletions
11
alex.spec
11
alex.spec
|
|
@ -1,7 +1,7 @@
|
|||
Name: alex
|
||||
# part of haskell-platform
|
||||
Version: 3.0.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A lexer generator for Haskell
|
||||
|
||||
Group: Development/Tools
|
||||
|
|
@ -14,6 +14,9 @@ BuildRequires: ghc-rpm-macros
|
|||
BuildRequires: autoconf docbook-style-xsl libxslt
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
Patch1: alex-ghc74-fix-bang-pattern.patch
|
||||
%ifarch ppc ppc64
|
||||
BuildRequires: alex
|
||||
%endif
|
||||
|
||||
%description
|
||||
Alex is a tool for generating lexical analysers in Haskell, given a
|
||||
|
|
@ -23,7 +26,7 @@ expressions. It is similar to the tool lex or flex for C/C++.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%ifarch ppc
|
||||
%ifarch ppc ppc64
|
||||
%patch1 -p1 -b .orig
|
||||
%endif
|
||||
|
||||
|
|
@ -49,6 +52,10 @@ cd ..
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 6 2012 Jens Petersen <petersen@redhat.com> - 3.0.1-3
|
||||
- BR alex on ppc archs!
|
||||
- also apply bang pattern patch on ppc64
|
||||
|
||||
* Wed Jun 6 2012 Jens Petersen <petersen@redhat.com> - 3.0.1-2
|
||||
- add fix-bang-pattern.diff patch from Debian to fix build on ppc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue