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

Jens Petersen petersen at fedoraproject.org
Mon Jun 20 02:42:42 UTC 2011


commit 1378c4ce278f8acb9d71a191c0799fcd8c25c1de
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jun 20 11:42:29 2011 +0900

    BR ghc-Cabal-devel and use ghc_excluded_archs

 ghc-cgi.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/ghc-cgi.spec b/ghc-cgi.spec
index 8094a3e..c6055e8 100644
--- a/ghc-cgi.spec
+++ b/ghc-cgi.spec
@@ -5,18 +5,18 @@
 %global common_description A Haskell library for ghc for writing CGI programs.
 
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2010.2.0.0
+# part of haskell-platform-2011.2.0.1
 Version:        3001.1.7.4
-Release:        7%{?dist}
+Release:        8%{?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-mtl-prof, ghc-network-prof, ghc-parsec-prof, ghc-xhtml-prof
@@ -41,6 +41,9 @@ BuildRequires:  ghc-mtl-prof, ghc-network-prof, ghc-parsec-prof, ghc-xhtml-prof
 
 
 %changelog
+* Mon Jun 20 2011 Jens Petersen <petersen at redhat.com> - 3001.1.7.4-8
+- BR ghc-Cabal-devel and use ghc_excluded_archs
+
 * Fri May 27 2011 Jens Petersen <petersen at redhat.com> - 3001.1.7.4-7
 - update to cabal2spec-0.23
 


More information about the scm-commits mailing list