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 Mon Dec 3 09:33:59 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

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