Removed some trailing spaces
[ghc-hetmet.git] / ghc.spec.in
index 8ac49d7..edd20f5 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright [1998..2004] The GHC Team
 #
-# Thanks to Zoltan Vorosbaranyi <vbzoli@vbzo.li> for suggestions in 
+# Thanks to Zoltan Vorosbaranyi <vbzoli@vbzo.li> for suggestions in
 # earlier versions and Pixel <pixel@mandrakesoft.com> for coding tips.
 #
 # This file is subject to the same free software license as GHC.
@@ -17,7 +17,8 @@ Release:        %{release}
 License:        BSD-like
 Group:          Development/Languages/Haskell
 URL:            http://haskell.org/ghc/
-Source:         http://haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
+Source0:        http://haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
+Source1:        http://haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2
 Packager:       Sven Panne <sven.panne@aedion.de>
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Prefix:         %{_prefix}
@@ -78,7 +79,7 @@ Profiling libraries for Glorious Glasgow Haskell Compilation System
 needed.
 
 %prep
-%setup
+%setup -b1
 
 %build
 test -f configure || autoreconf
@@ -87,7 +88,7 @@ make
 make html
 make -C docs/ext-core ps
 make -C docs/storage-mgt ps
+
 %install
 make prefix=${RPM_BUILD_ROOT}%{prefix} install
 make datadir=`pwd` install-docs
@@ -98,7 +99,7 @@ make datadir=`pwd` install-docs
 # * generating file lists in a BUILD_ROOT spec is a bit tricky: the file list
 #   has to contain complete paths, _but_ without the BUILD_ROOT, we also do
 #   _not_ want have directory names in the list; furthermore, we have to make
-#   sure that any leading / is removed from %{prefix}/lib, as find has to 
+#   sure that any leading / is removed from %{prefix}/lib, as find has to
 #   interpret the argument as a relative path; however, we have to include the
 #   leading / again in the final file list (otherwise, rpm complains)
 # * isn't there an easier way to do all this?
@@ -127,7 +128,6 @@ rm -rf ${RPM_BUILD_ROOT}
 %doc docs/users_guide/users_guide
 %doc html/*
 %doc libraries/Cabal/doc/Cabal
-%{prefix}/bin/cabal-setup
 %{prefix}/bin/ghc
 %{prefix}/bin/ghc-%{version}
 %{prefix}/bin/ghc-pkg