update for cabal2spec-0.23.2

This commit is contained in:
Jens Petersen 2011-06-24 19:18:57 +09:00
parent 843c0139dc
commit 5b844e9d72

View File

@ -5,31 +5,23 @@
%global common_description Ranges and some functions allowing things like fast \
membership lookup on ranges with holes in them and so on.
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.2.3
Release: 2%{?dist}
Release: 3%{?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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.7.3
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
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-containers-prof
%description
%{common_description}
%if %{with shared}
This package provides the shared library.
%endif
%prep
@ -44,10 +36,13 @@ This package provides the shared library.
%ghc_lib_install
%{?ghc_lib_package}
%ghc_lib_package
%changelog
* Fri Jun 24 2011 Jens Petersen <petersen@redhat.com> - 0.2.3-3
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.2.3-2
- Enable build on sparcv9