rpms/ghc/devel ghc-6.8.3-libraries-config.patch, 1.2, 1.3 ghc.spec, 1.39, 1.40
Bryan O'Sullivan (bos)
fedora-extras-commits at redhat.com
Thu Jun 19 03:44:54 UTC 2008
Author: bos
Update of /cvs/extras/rpms/ghc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28349
Modified Files:
ghc-6.8.3-libraries-config.patch ghc.spec
Log Message:
More build fixes
ghc-6.8.3-libraries-config.patch:
Index: ghc-6.8.3-libraries-config.patch
===================================================================
RCS file: /cvs/extras/rpms/ghc/devel/ghc-6.8.3-libraries-config.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ghc-6.8.3-libraries-config.patch 19 Jun 2008 02:41:10 -0000 1.2
+++ ghc-6.8.3-libraries-config.patch 19 Jun 2008 03:43:53 -0000 1.3
@@ -9,3 +9,14 @@
--haddock-options="--use-contents=../index.html \
--use-index=../doc-index.html" \
$(FLAGGED_CONFIGURE_ARGS) \
+--- ghc-6.8.3/libraries/gen_contents_index~ 2008-06-18 20:40:39.000000000 -0700
++++ ghc-6.8.3/libraries/gen_contents_index 2008-06-18 20:40:50.000000000 -0700
+@@ -22,7 +22,7 @@
+ done
+
+ # Now create the combined contents and index pages
+-haddock --gen-index --gen-contents -o . \
++haddock-0.9 --gen-index --gen-contents -o . \
+ -t "Haskell Hierarchical Libraries" \
+ $HADDOCK_ARGS
+
Index: ghc.spec
===================================================================
RCS file: /cvs/extras/rpms/ghc/devel/ghc.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ghc.spec 19 Jun 2008 02:41:10 -0000 1.39
+++ ghc.spec 19 Jun 2008 03:43:53 -0000 1.40
@@ -16,7 +16,7 @@
Name: ghc
Version: 6.8.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Glasgow Haskell Compilation system
# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713
ExcludeArch: alpha ppc64
@@ -130,6 +130,12 @@
strip cgprof ghc-%{version} ghc-pkg.bin hsc2hs-bin unlit
popd
+pushd ${RPM_BUILD_ROOT}/%{_libdir}/%{name}-%{version}
+for i in ../../libexec/%{name}-%{version}/*; do
+ ln -s $i .
+done
+popd
+
%if %{build_doc}
make DESTDIR=${RPM_BUILD_ROOT} XMLDocWays="html" HADDOCK_DOCS=YES install-docs
if [ -d ${RPM_BUILD_ROOT}/%{_docdir}/%{name}/libraries ]; then
@@ -209,6 +215,10 @@
%changelog
+* Wed Jun 18 2008 Bryan O'Sullivan <bos at serpentine.com> - 6.8.3-3
+- Add symlinks from _libdir, where ghc looks, to _libexecdir
+- Patch libraries/gen_contents_index to use haddock-0.9
+
* Wed Jun 18 2008 Bryan O'Sullivan <bos at serpentine.com> - 6.8.3-2
- Remove unnecessary dependency on alex
More information about the fedora-extras-commits
mailing list