[ghc-MonadCatchIO-mtl] update for cabal2spec-0.23.2
Jens Petersen
petersen at fedoraproject.org
Fri Jun 24 09:14:19 UTC 2011
commit bc858cc4ae623b39eaef57cbcc83f13b73dcfc89
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Jun 24 18:14:05 2011 +0900
update for cabal2spec-0.23.2
ghc-MonadCatchIO-mtl.spec | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/ghc-MonadCatchIO-mtl.spec b/ghc-MonadCatchIO-mtl.spec
index 672b7bf..b969696 100644
--- a/ghc-MonadCatchIO-mtl.spec
+++ b/ghc-MonadCatchIO-mtl.spec
@@ -14,27 +14,20 @@
proper instances for most monad transformers in the 'mtl' \
library.
-# Haskell library dependencies (used for buildrequires and devel/prof subpkg requires)
-%global ghc_pkg_deps ghc-mtl-devel, ghc-base-devel, ghc-extensible-exceptions-devel
-
Name: ghc-%{pkg_name}
Version: 0.3.0.3
-Release: 2%{?dist}
+Release: 3%{?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, ghc-doc, ghc-prof
-# macros for building haskell packages
+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-extensible-exceptions-prof
%description
%{common_description}
@@ -54,6 +47,9 @@ BuildRequires: hscolour
%ghc_lib_package
%changelog
+* Fri Jun 24 2011 Jens Petersen <petersen at redhat.com> - 0.3.0.3-3
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
* Sun Jun 12 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject DOT org> - 0.3.0.3-2
- Updated to cabal2spec-0.22.7.
More information about the scm-commits
mailing list