[ghc-split] BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.2)

Jens Petersen petersen at fedoraproject.org
Fri Jun 24 10:26:01 UTC 2011


commit 088b5e517e18ed51a1501dfd90ba49fddcef23b2
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Jun 24 19:25:49 2011 +0900

    BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.2)

 ghc-split.spec |   22 +++++++++-------------
 1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/ghc-split.spec b/ghc-split.spec
index 9b58f4c..ccbd17f 100644
--- a/ghc-split.spec
+++ b/ghc-split.spec
@@ -4,30 +4,23 @@
 
 %global common_description Combinator library and utility functions for splitting lists.
 
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
 Version:        0.1.3
-Release:        4%{?dist}
+Release:        5%{?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
+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-base-prof
 
 %description
 %{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
 
 
 %prep
@@ -44,10 +37,13 @@ mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
 install -m 644 -p README %{buildroot}%{_docdir}/%{name}-%{version}/README
 
 
-%{?ghc_lib_package}
+%ghc_lib_package
 
 
 %changelog
+* Fri Jun 24 2011 Jens Petersen <petersen at redhat.com> - 0.1.3-5
+- 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> - 0.1.3-4
 - Enable build on sparcv9
 


More information about the scm-commits mailing list