- ghc-rpm-macros-0.8.1 for doc obsoletes

- part of haskell-platform-2010.2.0.0
- add hscolour
This commit is contained in:
Jens Petersen 2010-07-31 23:56:27 +10:00
parent f86197d769
commit 88d87799fc
1 changed files with 15 additions and 6 deletions

View File

@ -7,14 +7,15 @@
%global ghc_pkg_c_deps mesa-libGL-devel, mesa-libGLU-devel
%bcond_without shared
%bcond_without hscolour
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.1.0.0
# part of haskell-platform-2010.2.0.0
Version: 2.2.3.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@ -25,7 +26,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.7.0
BuildRequires: ghc-rpm-macros >= 0.8.1
%if %{with hscolour}
BuildRequires: hscolour
%endif
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
%description
@ -35,9 +39,6 @@ This package provides the shared library.
%endif
%{?ghc_lib_package}
%prep
%setup -q -n %{pkg_name}-%{version}
@ -55,7 +56,15 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%ghc_lib_package -o 2.2.3.0-4
%changelog
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 2.2.3.0-4
- ghc-rpm-macros-0.8.1 for doc obsoletes
- part of haskell-platform-2010.2.0.0
- add hscolour
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 2.2.3.0-3
- sync cabal2spec-0.22