update to cabal2spec-0.23: add ppc64

epel9
Jens Petersen 14 years ago
parent 314b57e5f2
commit c79a033f5d

@ -15,13 +15,10 @@ observe the distribution of test data, and define test data generators.
# Haskell library dependencies: # Haskell library dependencies:
%global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel %global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
# break of haskell-platform-2010.2.0.0 # part of haskell-platform-2011.2.0.0
Version: 2.4.0.1 Version: 2.4.0.1
Release: 5%{?dist} Release: 6%{?dist}
Summary: %{common_summary} Summary: %{common_summary}
Group: System Environment/Libraries Group: System Environment/Libraries
@ -29,17 +26,14 @@ License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name} URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
# fedora ghc archs: # fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
BuildRequires: ghc, ghc-doc, ghc-prof BuildRequires: ghc-prof
BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: ghc-rpm-macros
BuildRequires: hscolour 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-ghc-prof, ghc-mtl-prof
%description %description
%{common_description} %{common_description}
%if %{with shared}
This package provides the shared library.
%endif
%prep %prep
@ -58,6 +52,9 @@ This package provides the shared library.
%changelog %changelog
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.4.0.1-6
- update to cabal2spec-0.23: add ppc64
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.4.0.1-5 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.4.0.1-5
- Enable build on sparcv9 - Enable build on sparcv9

Loading…
Cancel
Save