Fixed uninitialised FunBind fun_tick field
[ghc-hetmet.git] / ghc.spec.in
index 87dc6e9..8508c44 100644 (file)
@@ -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,15 +79,15 @@ Profiling libraries for Glorious Glasgow Haskell Compilation System
 needed.
 
 %prep
-%setup
+%setup -b1
 
 %build
 test -f configure || autoreconf
 ./configure --prefix=%{prefix}
 make
 make html
-make -C ghc/docs/ext-core ps
-make -C ghc/docs/storage-mgt ps
+make -C docs/ext-core ps
+make -C docs/storage-mgt ps
  
 %install
 make prefix=${RPM_BUILD_ROOT}%{prefix} install
@@ -116,16 +117,15 @@ rm -rf ${RPM_BUILD_ROOT}
 %files -f rpm-noprof-lib-files
 %defattr(-,root,root)
 %doc docs/docbook-cheat-sheet/docbook-cheat-sheet
-%doc ghc/ANNOUNCE
-%doc ghc/LICENSE
-%doc ghc/README
-%doc ghc/docs/building/building
-%doc ghc/docs/ext-core/core.ps
-%doc ghc/docs/storage-mgt/ldv.ps
-%doc ghc/docs/storage-mgt/rp.ps
-%doc ghc/docs/storage-mgt/sm.ps
-%doc ghc/docs/users_guide/users_guide
-%doc hslibs/doc/hslibs
+%doc ANNOUNCE
+%doc LICENSE
+%doc README
+%doc docs/building/building
+%doc docs/ext-core/core.ps
+%doc docs/storage-mgt/ldv.ps
+%doc docs/storage-mgt/rp.ps
+%doc docs/storage-mgt/sm.ps
+%doc docs/users_guide/users_guide
 %doc html/*
 %doc libraries/Cabal/doc/Cabal
 %{prefix}/bin/ghc
@@ -140,7 +140,6 @@ rm -rf ${RPM_BUILD_ROOT}
 %{prefix}/bin/hsc2hs
 %{prefix}/bin/runghc
 %{prefix}/bin/runhaskell
-%{prefix}/bin/stat2resid
 
 %files prof -f rpm-prof-lib-files
 %defattr(-,root,root)