[ghc-attoparsec] update for cabal2spec-0.23.2

Jens Petersen petersen at fedoraproject.org
Fri Jun 24 09:32:50 UTC 2011


commit c1f4c94e8b86ce1631c84ec04e2cfcb68698b9ce
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Jun 24 18:32:33 2011 +0900

    update for cabal2spec-0.23.2

 ghc-attoparsec.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/ghc-attoparsec.spec b/ghc-attoparsec.spec
index f25c5b2..18c2a7e 100644
--- a/ghc-attoparsec.spec
+++ b/ghc-attoparsec.spec
@@ -14,20 +14,18 @@ text/binary file formats.
 
 Name:           ghc-%{pkg_name}
 Version:        0.8.6.1
-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
-# 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-bytestring-prof, ghc-deepseq-prof
 
 %description
 %{common_description}
@@ -51,6 +49,9 @@ BuildRequires:  hscolour
 
 
 %changelog
+* Fri Jun 24 2011 Jens Petersen <petersen at redhat.com> - 0.8.6.1-2
+- 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.8.6.1-1
 - Update to 0.8.6.1
 - Update to cabal2spec-0.22.7


More information about the scm-commits mailing list