use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2)

This commit is contained in:
Jens Petersen 2011-06-22 18:07:27 +09:00
parent 2d2ebcaf04
commit 96d7ec02db
1 changed files with 6 additions and 7 deletions

View File

@ -8,21 +8,17 @@ implemented as FFI bindings to efficient code from zlib.
%global ghc_pkg_c_deps zlib-devel
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.0.0.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
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 ppc64
BuildRequires: ghc-prof
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
@ -47,6 +43,9 @@ BuildRequires: hscolour
%changelog
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 0.0.0.9-2
- BR ghc-Cabal-devel and use ghc_excluded_archs (cabal2spec-0.23.2)
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.0.0.9-1
- update to 0.0.9
- update to cabal2spec-0.23: add ppc64