From da9603d45fe975b44ddf809b916654e64c55433e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 6 Jun 2012 18:44:20 +0900 Subject: [PATCH] BR alex on ppc archs and apply bang pattern patch on ppc64 --- alex.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/alex.spec b/alex.spec index 44bdc09..40df728 100644 --- a/alex.spec +++ b/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 - 3.0.1-3 +- BR alex on ppc archs! +- also apply bang pattern patch on ppc64 + * Wed Jun 6 2012 Jens Petersen - 3.0.1-2 - add fix-bang-pattern.diff patch from Debian to fix build on ppc