update to cabal2spec-0.23: add ppc64
This commit is contained in:
parent
5e5646bca7
commit
d3525eea4d
@ -5,15 +5,12 @@
|
||||
%global common_description A module layer over regex-posix to replace Text.Regex.
|
||||
|
||||
# Haskell library dependencies:
|
||||
%global ghc_pkg_deps ghc-regex-posix-devel
|
||||
|
||||
# debuginfo is not useful for ghc
|
||||
%global debug_package %{nil}
|
||||
%global ghc_pkg_deps
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2010.2.0.0
|
||||
# part of haskell-platform-2011.2.0.0
|
||||
Version: 0.93.1
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -21,17 +18,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-posix-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
%if %{with shared}
|
||||
This package provides the shared library.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
|
Loading…
Reference in New Issue
Block a user