BR alex on ppc archs and apply bang pattern patch on ppc64

epel9
Jens Petersen 13 years ago
parent 328d974755
commit da9603d45f

@ -1,7 +1,7 @@
Name: alex Name: alex
# part of haskell-platform # part of haskell-platform
Version: 3.0.1 Version: 3.0.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: A lexer generator for Haskell Summary: A lexer generator for Haskell
Group: Development/Tools Group: Development/Tools
@ -14,6 +14,9 @@ BuildRequires: ghc-rpm-macros
BuildRequires: autoconf docbook-style-xsl libxslt BuildRequires: autoconf docbook-style-xsl libxslt
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
Patch1: alex-ghc74-fix-bang-pattern.patch Patch1: alex-ghc74-fix-bang-pattern.patch
%ifarch ppc ppc64
BuildRequires: alex
%endif
%description %description
Alex is a tool for generating lexical analysers in Haskell, given a 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 %prep
%setup -q %setup -q
%ifarch ppc %ifarch ppc ppc64
%patch1 -p1 -b .orig %patch1 -p1 -b .orig
%endif %endif
@ -49,6 +52,10 @@ cd ..
%changelog %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 * 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 - add fix-bang-pattern.diff patch from Debian to fix build on ppc

Loading…
Cancel
Save