[ghc-utf8-string] BR ghc-Cabal-devel and use ghc_excluded_archs

Jens Petersen petersen at fedoraproject.org
Mon Jun 20 06:16:27 UTC 2011


commit 54ded396a35d7367ab8604b581654ab37bd3c566
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jun 20 15:16:14 2011 +0900

    BR ghc-Cabal-devel and use ghc_excluded_archs

 ghc-utf8-string.spec |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/ghc-utf8-string.spec b/ghc-utf8-string.spec
index b36d269..4de88de 100644
--- a/ghc-utf8-string.spec
+++ b/ghc-utf8-string.spec
@@ -6,29 +6,23 @@
 for encoding UTF8 strings to Word8 lists and back, and for reading and writing\
 UTF8 without truncation. 
 
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
 Version:        0.3.6
-Release:        9%{?dist}
+Release:        10%{?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
-BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+# ghc_excluded_archs is defined in redhat-rpm-config
+ExcludeArch:    %{ghc_excluded_archs}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
 
 %description
 %{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
 
 
 %prep
@@ -47,6 +41,9 @@ This package provides the shared library.
 
 
 %changelog
+* Mon Jun 20 2011 Jens Petersen <petersen at redhat.com> - 0.3.6-10
+- BR ghc-Cabal-devel and use ghc_excluded_archs
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.3.6-9
 - Enable build on sparcv9
 


More information about the scm-commits mailing list