- ghc-rpm-macros-0.8.1 for doc obsoletes
- part of haskell-platform-2010.2.0.0 - add hscolour
This commit is contained in:
parent
c5eefde965
commit
8902f23801
@ -7,14 +7,15 @@
|
||||
%global ghc_pkg_deps ghc-network-devel ghc-mtl-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: 4000.0.9
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?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_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
||||
|
||||
%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 4000.0.9-5
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 4000.0.9-5
|
||||
- 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> - 4000.0.9-4
|
||||
- sync cabal2spec-0.22
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user