add hscolour and doc obsolete (cabal2spec-0.22.2)
This commit is contained in:
parent
be2b7d83b1
commit
ee99bd8db9
@ -14,14 +14,15 @@ full zlib feature set.
|
|||||||
%global ghc_pkg_c_deps zlib-devel
|
%global ghc_pkg_c_deps zlib-devel
|
||||||
|
|
||||||
%bcond_without shared
|
%bcond_without shared
|
||||||
|
%bcond_without hscolour
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
# debuginfo is not useful for ghc
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
# part of haskell-platform-2010.1.0.0
|
# part of haskell-platform-2010.2.0.0
|
||||||
Version: 0.5.2.0
|
Version: 0.5.2.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -32,7 +33,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
# fedora ghc archs:
|
# fedora ghc archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
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}}
|
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -42,9 +46,6 @@ This package provides the shared library.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
@ -62,7 +63,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%ghc_lib_package -o 0.5.2.0-4
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 0.5.2.0-4
|
||||||
|
- add hscolour and doc obsolete (cabal2spec-0.22.2)
|
||||||
|
- part of haskell-platform-2010.2.0.0
|
||||||
|
|
||||||
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.5.2.0-3
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.5.2.0-3
|
||||||
- sync cabal2spec-0.22
|
- sync cabal2spec-0.22
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user