Accepting request 149346 from devel:languages:haskell

- enable color and links in html documentation
- disable debug packages (ghc does not produce useful
  debug information)

OBS-URL: https://build.opensuse.org/request/show/149346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2013-01-24 08:56:21 +00:00 committed by Git OBS Bridge
commit f79ddfdb79
2 changed files with 20 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 11 16:52:35 UTC 2013 - peter.trommler@ohm-hochschule.de
- enable color and links in documentation
-------------------------------------------------------------------
Mon Dec 3 09:33:59 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,11 +19,9 @@
# To bootstrap a new version of ghc, uncomment the following:
#%%global ghc_bootstrapping 1
#%%{?ghc_bootstrap}
%global without_hscolour 1
#%%global without_hscolour 1
#%%global without_manual 1
#%%global debug_package %{nil}
Name: ghc
Version: 7.4.2
Release: 0
@ -57,18 +55,18 @@ BuildRequires: ghc-old-time-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
%if %{undefined without_hscolour}
# array
# base
# containers
# deepseq
# directory
# filepath
# haskell98
# old-locale
# old-time
# process
# time
# unix
BuildRequires: ghc-array
BuildRequires: ghc-base
BuildRequires: ghc-containers
BuildRequires: ghc-deepseq
BuildRequires: ghc-directory
BuildRequires: ghc-filepath
BuildRequires: ghc-haskell98
BuildRequires: ghc-old-locale
BuildRequires: ghc-old-time
BuildRequires: ghc-process
BuildRequires: ghc-time
BuildRequires: ghc-unix
%endif
%endif
BuildRequires: autoconf
@ -236,6 +234,7 @@ export CFLAGS="${CFLAGS:-%optflags}"
make %{?_smp_mflags}
%install
%ghc_suse_disable_debug_packages
%makeinstall
for i in %{ghc_packages_list}; do