[alex] BR alex on ppc archs and apply bang pattern patch on ppc64
Jens Petersen
petersen at fedoraproject.org
Wed Jun 6 09:44:25 UTC 2012
commit da9603d45fe975b44ddf809b916654e64c55433e
Author: Jens Petersen <petersen at redhat.com>
Date: Wed Jun 6 18:44:20 2012 +0900
BR alex on ppc archs and apply bang pattern patch on ppc64
alex.spec | 11 +++++++++--
1 files 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 <petersen at 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 at redhat.com> - 3.0.1-2
- add fix-bang-pattern.diff patch from Debian to fix build on ppc
More information about the scm-commits
mailing list