[ghc-regex-posix] update to cabal2spec-0.23: add ppc64

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


commit e4ac1e7495a8ccc8198d1ccbc6f024daf936a893
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri May 27 18:14:15 2011 +0900

    update to cabal2spec-0.23: add ppc64

 ghc-regex-posix.spec |   23 +++++++++--------------
 1 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/ghc-regex-posix.spec b/ghc-regex-posix.spec
index 62d0503..468bf1f 100644
--- a/ghc-regex-posix.spec
+++ b/ghc-regex-posix.spec
@@ -4,15 +4,10 @@
 
 %global common_description The posix regex backend for regex-base.
 
-%global ghc_pkg_deps ghc-regex-base-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2011.1.0.0
+# part of haskell-platform-2011.2.0.0
 Version:        0.94.4
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -20,17 +15,14 @@ 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-regex-base-prof
 
 %description
 %{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
 
 
 %prep
@@ -49,6 +41,9 @@ This package provides the shared library.
 
 
 %changelog
+* Fri May 27 2011 Jens Petersen <petersen at redhat.com> - 0.94.4-5
+- update to cabal2spec-0.23: add ppc64
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.94.4-4
 - Enable build on sparcv9
 


More information about the scm-commits mailing list