[ghc-terminfo] use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2)

Jens Petersen petersen at fedoraproject.org
Thu Jun 23 02:01:15 UTC 2011


commit 33b08bb6217e770e52a51b4f0060a6da9a10b0cd
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jun 23 11:01:04 2011 +0900

    use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2)

 ghc-terminfo.spec |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/ghc-terminfo.spec b/ghc-terminfo.spec
index 7900030..37f7ea6 100644
--- a/ghc-terminfo.spec
+++ b/ghc-terminfo.spec
@@ -7,24 +7,21 @@
 # add any foreign library dependencies here:
 %global ghc_pkg_c_deps ncurses-devel
 
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
 Version:        0.3.1.3
-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
-BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
 %{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
+BuildRequires:  ghc-extensible-exceptions-prof
 
 %description
 %{common_description}
@@ -52,6 +49,9 @@ sed -i -e "s/extra-libraries: ncursesw/extra-libraries: tinfo/" -e "s!ld-options
 
 
 %changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 0.3.1.3-7
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.3.1.3-6
 - Enable build on sparcv9
 


More information about the scm-commits mailing list