[ghc-libmpd] use BR ghc-Cabal-devel and update deps (cabal2spec-0.23.2)

Jens Petersen petersen at fedoraproject.org
Thu Jun 23 03:03:07 UTC 2011


commit 9611d1f07acd0ff8155cd98b8f17112d3b6d3432
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jun 23 12:02:55 2011 +0900

    use BR ghc-Cabal-devel and update deps (cabal2spec-0.23.2)

 ghc-libmpd.spec |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/ghc-libmpd.spec b/ghc-libmpd.spec
index 5289e96..115c496 100644
--- a/ghc-libmpd.spec
+++ b/ghc-libmpd.spec
@@ -4,26 +4,20 @@
 
 %global common_description A client library for MPD, the Music Player Daemon.
 
-%global ghc_pkg_deps ghc-mtl-devel, ghc-network-devel, ghc-utf8-string-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
 Version:        0.5.0
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        LGPLv2
 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-mtl-prof, ghc-network-prof, ghc-utf8-string-prof
 Patch1:         libmpd-0.5.0-ghc7.patch
 
 %description
@@ -53,6 +47,9 @@ install -p README.md %{buildroot}/%{_docdir}/%{name}-%{version}/README.md
 
 
 %changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 0.5.0-9
+- 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.5.0-8
 - Enable build on sparcv9
 


More information about the scm-commits mailing list