skip huge type-level docs from haddock re-indexing (#649228)
This commit is contained in:
parent
9ce1080bad
commit
a7486154e6
12
ghc-gen_contents_index-type-level.patch
Normal file
12
ghc-gen_contents_index-type-level.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u ghc-6.12.3/libraries/gen_contents_index\~ ghc-6.12.3/libraries/gen_contents_index
|
||||||
|
--- ghc-6.12.3/libraries/gen_contents_index~ 2010-09-14 13:03:12.000000000 +1000
|
||||||
|
+++ ghc-6.12.3/libraries/gen_contents_index 2010-11-04 16:41:32.000000000 +1000
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
*)
|
||||||
|
HADDOCK=/usr/bin/haddock
|
||||||
|
# We don't want the GHC API to swamp the index
|
||||||
|
- HADDOCK_FILES=`ls -1 */*.haddock | grep -v '/ghc\.haddock' | sort`
|
||||||
|
+ HADDOCK_FILES=`ls -1 */*.haddock | grep -v '/ghc\.haddock' | grep -v '/type-level\.haddock' | sort`
|
||||||
|
for HADDOCK_FILE in $HADDOCK_FILES
|
||||||
|
do
|
||||||
|
NAME_VERSION=`echo "$HADDOCK_FILE" | sed 's#/.*##'`
|
8
ghc.spec
8
ghc.spec
@ -26,7 +26,7 @@
|
|||||||
Name: ghc
|
Name: ghc
|
||||||
# part of haskell-platform-2010.2.0.0
|
# part of haskell-platform-2010.2.0.0
|
||||||
Version: 6.12.3
|
Version: 6.12.3
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Glasgow Haskell Compilation system
|
Summary: Glasgow Haskell Compilation system
|
||||||
# fedora ghc has only been bootstrapped on the following archs:
|
# fedora ghc has only been bootstrapped on the following archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
||||||
@ -68,6 +68,7 @@ BuildRequires: hscolour
|
|||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
%endif
|
%endif
|
||||||
Patch1: ghc-6.12.1-gen_contents_index-haddock-path.patch
|
Patch1: ghc-6.12.1-gen_contents_index-haddock-path.patch
|
||||||
|
Patch2: ghc-gen_contents_index-type-level.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GHC is a state-of-the-art programming suite for Haskell, a purely
|
GHC is a state-of-the-art programming suite for Haskell, a purely
|
||||||
@ -110,6 +111,8 @@ They should be installed when GHC's profiling subsystem is needed.
|
|||||||
%setup -q -n %{name}-%{version} %{?with_extralibs:-b1} %{?with_testsuite:-b2}
|
%setup -q -n %{name}-%{version} %{?with_extralibs:-b1} %{?with_testsuite:-b2}
|
||||||
# absolute haddock path (was for html/libraries -> libraries)
|
# absolute haddock path (was for html/libraries -> libraries)
|
||||||
%patch1 -p1 -b .orig
|
%patch1 -p1 -b .orig
|
||||||
|
# type-level too big so skip it in gen_contents_index
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
# make sure we don't use these
|
# make sure we don't use these
|
||||||
rm -r ghc-tarballs/{mingw,perl}
|
rm -r ghc-tarballs/{mingw,perl}
|
||||||
@ -279,6 +282,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 4 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-7
|
||||||
|
- skip huge type-level docs from haddock re-indexing (#649228)
|
||||||
|
|
||||||
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-6
|
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-6
|
||||||
- move gtk2hs obsoletes to ghc-glib and ghc-gtk
|
- move gtk2hs obsoletes to ghc-glib and ghc-gtk
|
||||||
- drop happy buildrequires
|
- drop happy buildrequires
|
||||||
|
Loading…
Reference in New Issue
Block a user