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

Jens Petersen petersen at fedoraproject.org
Wed Jun 22 09:07:39 UTC 2011


commit 96d7ec02db225be80c333bcc433426043dbb452a
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Jun 22 18:07:27 2011 +0900

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

 ghc-digest.spec |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/ghc-digest.spec b/ghc-digest.spec
index 654963d..e86e5b0 100644
--- a/ghc-digest.spec
+++ b/ghc-digest.spec
@@ -8,21 +8,17 @@ implemented as FFI bindings to efficient code from zlib.
 
 %global ghc_pkg_c_deps zlib-devel
 
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
 Version:        0.0.0.9
-Release:        1%{?dist}
+Release:        2%{?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
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
 %{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
@@ -47,6 +43,9 @@ BuildRequires:  hscolour
 
 
 %changelog
+* Wed Jun 22 2011 Jens Petersen <petersen at redhat.com> - 0.0.0.9-2
+- BR ghc-Cabal-devel and use ghc_excluded_archs (cabal2spec-0.23.2)
+
 * Sat May 28 2011 Jens Petersen <petersen at redhat.com> - 0.0.0.9-1
 - update to 0.0.9
 - update to cabal2spec-0.23: add ppc64


More information about the scm-commits mailing list