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

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


commit 4144635d244e67b1f9a93cd518d168c954ffed9d
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jun 20 11:05:01 2011 +0900

    BR ghc-Cabal-devel and use ghc_excluded_archs

 ghc-GLUT.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/ghc-GLUT.spec b/ghc-GLUT.spec
index 3c67894..f206d8a 100644
--- a/ghc-GLUT.spec
+++ b/ghc-GLUT.spec
@@ -8,18 +8,18 @@ This is a set of bindings to the C %{pkg_name} library.
 %global ghc_pkg_c_deps freeglut-devel
 
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.0
+# part of haskell-platform-2011.2.0.1
 Version:        2.1.2.1
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://www.haskell.org/haskellwiki/Opengl
 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-OpenGL-prof
@@ -47,6 +47,9 @@ Patch1:         ghc-GLUT-extralibs.patch
 
 
 %changelog
+* Mon Jun 20 2011 Jens Petersen <petersen at redhat.com> - 2.1.2.1-11
+- BR ghc-Cabal-devel and use ghc_excluded_archs
+
 * Fri May 27 2011 Jens Petersen <petersen at redhat.com> - 2.1.2.1-10
 - update to cabal2spec-0.23: add ppc64
 


More information about the scm-commits mailing list