update to cabal2spec-0.23: add ppc64

This commit is contained in:
Jens Petersen 2011-05-27 17:49:57 +09:00
parent 7eb6d29200
commit 45b8a77d28

View File

@ -4,12 +4,10 @@
%global common_description A Haskell network library. %global common_description A Haskell network library.
%global ghc_pkg_deps ghc-parsec-devel
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
# part of haskell-platform-2011.1.0.0 # part of haskell-platform-2011.2.0.0
Version: 2.3.0.2 Version: 2.3.0.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: %{common_summary} Summary: %{common_summary}
Group: System Environment/Libraries Group: System Environment/Libraries
@ -17,17 +15,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-parsec-prof
%description %description
%{common_description} %{common_description}
%if %{with shared}
This package provides the shared library.
%endif
%prep %prep
@ -46,6 +41,9 @@ This package provides the shared library.
%changelog %changelog
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-3
- update to cabal2spec-0.23: add ppc64
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.3.0.2-2 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.3.0.2-2
- Enable build on sparcv9 - Enable build on sparcv9