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

Jens Petersen petersen at fedoraproject.org
Thu Jun 23 09:25:08 UTC 2011


commit 376c101d363f44b47a99ad4a996c55825eea7a81
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jun 23 18:24:56 2011 +0900

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

 ghc-enumerator.spec |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/ghc-enumerator.spec b/ghc-enumerator.spec
index 5248c4a..939102a 100644
--- a/ghc-enumerator.spec
+++ b/ghc-enumerator.spec
@@ -8,24 +8,20 @@
 
 %global common_description %{common_summary}.
 
-%global ghc_pkg_deps ghc-text-devel, ghc-transformers-devel
-
 Name:           ghc-%{pkg_name}
 Version:        0.4.10
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        MIT
 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, ghc-doc, ghc-prof
-# macros for building haskell packages
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
-%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires:  ghc-text-prof, ghc-transformers-prof
 
 %description
 %{common_description}
@@ -51,6 +47,9 @@ install -p readme.txt %{buildroot}%{_docdir}/%{name}-%{version}/readme.txt
 
 
 %changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 0.4.10-3
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
 * Wed May 11 2011 Ben Boeckel <mathstuf at gmail.com> - 0.4.10-2
 - Add missing ppc64 ExclusiveArch
 


More information about the scm-commits mailing list