revert to f14 branch

This commit is contained in:
Jens Petersen 2010-11-12 14:54:54 +10:00
commit f6c05059d7
1 changed files with 10 additions and 1 deletions

View File

@ -9,6 +9,12 @@
# obsolete old gtk2hs packages
%global ghc_pkg_obsoletes ghc-gconf-devel < 0.11, ghc-gstreamer-devel < 0.11, ghc-svgcairo-devel < 0.11
%bcond_without shared
%bcond_without hscolour
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.11.2
Release: 3%{?dist}
@ -24,14 +30,17 @@ ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
# 0.8.2 or later for obsoletes
BuildRequires: ghc-rpm-macros >= 0.8.2
%if %{with hscolour}
BuildRequires: hscolour
%endif
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
BuildRequires: gtk2hs-buildtools
%description
%{common_description}
%if %{with shared}
This package provides the shared library.
%endif
%{?ghc_lib_package}