[ghc-binary] BR ghc-Cabal-devel and use ghc_excluded_archs

Jens Petersen petersen at fedoraproject.org
Tue Jun 21 01:41:10 UTC 2011


commit 3e8e5f6d9e311b8c200ee1db39cbfe0fa15383c9
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Jun 21 10:40:56 2011 +0900

    BR ghc-Cabal-devel and use ghc_excluded_archs

 ghc-binary.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/ghc-binary.spec b/ghc-binary.spec
index 63e784b..a35935b 100644
--- a/ghc-binary.spec
+++ b/ghc-binary.spec
@@ -14,18 +14,19 @@ been observed, so this library should be suitable for high performance scenarios
 
 Name:           ghc-%{pkg_name}
 Version:        0.5.0.2
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-# fedora ghc archs:
-ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+# ghc_excluded_archs is defined in redhat-rpm-config
+ExcludeArch:    %{ghc_excluded_archs}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
+BuildRequires:  ghc-bytestring-prof
 
 %description
 %{common_description}
@@ -50,6 +51,9 @@ This package provides the shared library.
 
 
 %changelog
+* Tue Jun 21 2011 Jens Petersen <petersen at redhat.com> - 0.5.0.2-9
+- BR ghc-Cabal-devel and use ghc_excluded_archs
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.5.0.2-8
 - Enable build on sparcv9
 


More information about the scm-commits mailing list