[gtk2hs-buildtools] BR ghc-Cabal-devel and use ghc_excluded_archs

Jens Petersen petersen at fedoraproject.org
Tue Jun 21 02:12:40 UTC 2011


commit f8e62a645c99c028f468f582f96f400c42891cec
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Jun 21 11:12:29 2011 +0900

    BR ghc-Cabal-devel and use ghc_excluded_archs

 gtk2hs-buildtools.spec |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/gtk2hs-buildtools.spec b/gtk2hs-buildtools.spec
index b43c73b..dabc707 100644
--- a/gtk2hs-buildtools.spec
+++ b/gtk2hs-buildtools.spec
@@ -1,23 +1,17 @@
-# link with shared libs
-%bcond_without dynamic
-
-# ghc does not emit debug information
-%global debug_package %{nil}
-
 Name:           gtk2hs-buildtools
 Version:        0.12.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Haskell Gtk2Hs buildtools
 
 Group:          Development/Tools
 License:        GPLv2+
 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
-BuildRequires:  ghc, ghc-devel
-BuildRequires:  ghc-rpm-macros >= 0.7.0
+ExcludeArch:    %{ghc_excluded_archs}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  alex, happy
+BuildRequires:  ghc-containers-prof, ghc-process-prof, ghc-pretty-prof
 
 %description
 This package provides a set of helper programs necessary to build
@@ -53,6 +47,9 @@ the gtk2hs libraries themselves.
 
 
 %changelog
+* Tue Jun 21 2011 Jens Petersen <petersen at redhat.com> - 0.12.0-5
+- BR ghc-Cabal-devel and use ghc_excluded_archs
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.12.0-4
 - Enable build on sparcv9
 


More information about the scm-commits mailing list