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

Jens Petersen petersen at fedoraproject.org
Fri Jun 24 09:49:01 UTC 2011


commit 0241288f912121e58c51bc838c4f046dcc168aca
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Jun 24 18:48:47 2011 +0900

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

 ghc-chalmers-lava2000.spec |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/ghc-chalmers-lava2000.spec b/ghc-chalmers-lava2000.spec
index 59b911b..0c0d5b5 100644
--- a/ghc-chalmers-lava2000.spec
+++ b/ghc-chalmers-lava2000.spec
@@ -4,12 +4,9 @@
 
 %global common_description A Hardware description library for Haskell.
 
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
 Version:        1.1.1
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -20,18 +17,15 @@ Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio
 Source1:        README.fedora
 Patch0:         ghc-chalmers-lava2000-remove-verification-modules.patch
 
-# fedora ghc archs:
-ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
-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
+BuildRequires:  ghc-haskell98-prof
 Patch1:         chalmers-lava2000-1.1.1-ghc7.patch
 
 %description
 %{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
 
 
 %prep
@@ -60,6 +54,9 @@ echo "%doc tutorial.ps.gz" >> %{name}-doc.files
 
 
 %changelog
+* Fri Jun 24 2011 Jens Petersen <petersen at redhat.com> - 1.1.1-12
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 1.1.1-11
 - Enable build on sparcv9
 


More information about the scm-commits mailing list