projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the errors for DeriveGeneric consistent with other deriving errors.
[ghc-hetmet.git]
/
ghc.spec.in
diff --git
a/ghc.spec.in
b/ghc.spec.in
index
331fdd4
..
2a70043
100644
(file)
--- a/
ghc.spec.in
+++ b/
ghc.spec.in
@@
-1,3
+1,6
@@
+# WARNING: ghc.spec is automatically generated from ghc.spec.in by
+# ./configure. Make sure you are editing ghc.spec.in, not ghc.spec.
+#
# RPM spec file for GHC -*-rpm-spec-*-
#
# Copyright [1998..2007] The GHC Team
# RPM spec file for GHC -*-rpm-spec-*-
#
# Copyright [1998..2007] The GHC Team
@@
-82,8
+85,14
@@
needed.
%setup -b1
%build
%setup -b1
%build
-test -f configure || sh boot
+test -f configure || perl boot
./configure --prefix=%{_prefix} --mandir=%{_mandir}
./configure --prefix=%{_prefix} --mandir=%{_mandir}
+
+# Don't install these tools, we'll use update-alternatives below.
+touch mk/build.mk
+echo "NO_INSTALL_RUNHASKELL=YES" >>mk/build.mk
+echo "NO_INSTALL_HSC2HS=YES" >>mk/build.mk
+
make %{?jobs:-j%jobs}
make html
# Alas, we don't pass make options/arguments down to "libraries", so let's redo make here...
make %{?jobs:-j%jobs}
make html
# Alas, we don't pass make options/arguments down to "libraries", so let's redo make here...
@@
-168,7
+177,6
@@
fi
%{_prefix}/bin/ghci
%{_prefix}/bin/ghci-%{version}
%{_prefix}/bin/ghcprof
%{_prefix}/bin/ghci
%{_prefix}/bin/ghci-%{version}
%{_prefix}/bin/ghcprof
-%{_prefix}/bin/hasktags
%{_prefix}/bin/hp2ps
%{_prefix}/bin/hpc
%{_prefix}/bin/hsc2hs-ghc
%{_prefix}/bin/hp2ps
%{_prefix}/bin/hpc
%{_prefix}/bin/hsc2hs-ghc