[ghc-parsec] update to cabal2spec-0.23: add ppc64

Jens Petersen petersen at fedoraproject.org
Fri May 27 09:05:05 UTC 2011


commit ce2f6d4fe1d5317faee21d1c9f0d0b787c9db7cb
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri May 27 18:04:51 2011 +0900

    update to cabal2spec-0.23: add ppc64

 ghc-parsec.spec |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/ghc-parsec.spec b/ghc-parsec.spec
index 19c7f6b..3d9889c 100644
--- a/ghc-parsec.spec
+++ b/ghc-parsec.spec
@@ -8,12 +8,10 @@ good error messages, and is also fast. It is defined as a monad transformer\
 that can be stacked on arbitrary monads, and it is also parametric\
 in the input stream type.
 
-%global ghc_pkg_deps ghc-mtl-devel, ghc-syb-devel
-
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2011.1.0.0
+# part of haskell-platform-2011.2.0.0
 Version:        3.1.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -21,11 +19,11 @@ 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:  %{ix86} x86_64 ppc alpha sparcv9 ppc64
+BuildRequires:  ghc-prof
+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-syb-prof
 
 %description
 %{common_description}
@@ -47,6 +45,9 @@ BuildRequires:  hscolour
 
 
 %changelog
+* Fri May 27 2011 Jens Petersen <petersen at redhat.com> - 3.1.1-3
+- update to cabal2spec-0.23: add ppc64
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 3.1.1-2
 - Enable build on sparcv9
 


More information about the scm-commits mailing list