[ghc-text/f15] backport packaging changes from f16: use ghc_arches; BR Cabal and bytestring

Jens Petersen petersen at fedoraproject.org
Mon Jan 16 08:52:19 UTC 2012


commit e2ca41f34589936bf0b587a4e43afeaf052dc10d
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jan 16 17:52:04 2012 +0900

    backport packaging changes from f16: use ghc_arches; BR Cabal and bytestring

 ghc-text.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/ghc-text.spec b/ghc-text.spec
index 6b9066a..e4f7b2f 100644
--- a/ghc-text.spec
+++ b/ghc-text.spec
@@ -7,19 +7,18 @@
 Name:           ghc-%{pkg_name}
 # part of haskell-platform-2011.1.0.0
 Version:        0.11.0.5
-Release:        3%{?dist}
+Release:        4%{?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
-BuildRequires:  ghc-deepseq-prof
+BuildRequires:  ghc-bytestring-prof, ghc-deepseq-prof
 
 %description
 %{common_description}
@@ -49,6 +48,10 @@ echo %doc README.markdown >> %{name}-devel.files
 
 
 %changelog
+* Mon Jan 16 2012 Jens Petersen <petersen at redhat.com> - 0.11.0.5-4
+- use ghc_arches
+- BR ghc-Cabal-devel and depends
+
 * Fri May 27 2011 Jens Petersen <petersen at redhat.com> - 0.11.0.5-3
 - update to cabal2spec-0.23: add ppc64
 


More information about the scm-commits mailing list