[ghc-haskeline] update to cabal2spec-0.23.2: specify all deps

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


commit 6c15d3d985b40817f61856b4da92c3dfae08096f
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jun 23 11:15:24 2011 +0900

    update to cabal2spec-0.23.2: specify all deps

 ghc-haskeline.spec |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/ghc-haskeline.spec b/ghc-haskeline.spec
index 4055930..b27f1b7 100644
--- a/ghc-haskeline.spec
+++ b/ghc-haskeline.spec
@@ -8,23 +8,20 @@ Haskell it is (hopefully) more easily used in other Haskell programs.\
 \
 Haskeline runs both on POSIX-compatible systems and on Windows.
 
-%global ghc_pkg_deps ghc-mtl-devel ghc-utf8-string-devel, ghc-terminfo-devel
-
 Name:           ghc-%{pkg_name}
 Version:        0.6.4.0
-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, 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_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires:  ghc-bytestring-prof, ghc-containers-prof, ghc-directory-prof, ghc-extensible-exceptions, ghc-mtl-prof, unix ghc-utf8-string-prof, ghc-terminfo-prof
 
 %description
 %{common_description}
@@ -46,6 +43,9 @@ BuildRequires:  hscolour
 
 
 %changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 0.6.4.0-2
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
 * Fri May  6 2011 Jens Petersen <petersen at redhat.com> - 0.6.4.0-1
 - update to 0.6.4.0
 - update to cabal2spec-0.22.6


More information about the scm-commits mailing list