From c51ac073010198adc91bade21ed37690c13a988d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 20 Jun 2011 10:05:40 +0900 Subject: [PATCH] BR ghc-Cabal-devel and use ghc_excluded_archs --- alex.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/alex.spec b/alex.spec index d3a861b..c4d1e33 100644 --- a/alex.spec +++ b/alex.spec @@ -1,17 +1,17 @@ Name: alex -# part of haskell-platform-2011.1.0.0 +# part of haskell-platform-2011.1.0.1 Version: 2.3.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A lexer generator for Haskell Group: Development/Tools License: BSD URL: http://hackage.haskell.org/package/%{name} Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz -# fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 -BuildRequires: ghc-devel -BuildRequires: ghc-rpm-macros >= 0.7.0 +# ghc_excluded_archs is defined in redhat-rpm-config +ExcludeArch: %{ghc_excluded_archs} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros BuildRequires: autoconf docbook-style-xsl libxslt %description @@ -46,6 +46,10 @@ cd .. %changelog +* Mon Jun 20 2011 Jens Petersen - 2.3.5-4 +- BR ghc-Cabal-devel +- use ghc_excluded_archs + * Wed May 18 2011 Jens Petersen - 2.3.5-3 - add ppc64