[ghc-mtl] BR ghc-Cabal-devel instead of ghc-prof; use ghc_excluded_archs

Jens Petersen petersen at fedoraproject.org
Sun Jun 19 11:20:30 UTC 2011


commit b85330ec38c1531377d12a600498ebd4c21087b1
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Jun 19 20:20:15 2011 +0900

    BR ghc-Cabal-devel instead of ghc-prof; use ghc_excluded_archs

 ghc-mtl.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/ghc-mtl.spec b/ghc-mtl.spec
index 46e318b..ef72d5f 100644
--- a/ghc-mtl.spec
+++ b/ghc-mtl.spec
@@ -5,18 +5,18 @@
 %global common_description A monad transformer library for Haskell: part of haskell-platform.
 
 Name:           ghc-%{pkg_name}
-# haskell-platform-2011.2.0.0
+# haskell-platform-2011.2.0.1
 Version:        2.0.1.0
-Release:        6%{?dist}
+Release:        7%{?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 ppc64
-BuildRequires:  ghc-prof
+# 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-transformers-prof
@@ -41,6 +41,10 @@ BuildRequires:  ghc-transformers-prof
 
 
 %changelog
+* Sun Jun 19 2011 Jens Petersen <petersen at redhat.com> - 2.0.1.0-7
+- BR ghc-Cabal-devel instead of ghc-prof
+- use ghc_excluded_archs
+
 * Fri May 27 2011 Jens Petersen <petersen at redhat.com> - 2.0.1.0-6
 - update to cabal2spec-0.23
 


More information about the scm-commits mailing list