Index: branches/fc15-dev/server/fedora/specs/scripts-static-cat.spec
===================================================================
--- branches/fc15-dev/server/fedora/specs/scripts-static-cat.spec	(revision 1831)
+++ branches/fc15-dev/server/fedora/specs/scripts-static-cat.spec	(revision 1839)
@@ -1,5 +1,8 @@
-# For Haskell Packaging Guidelines see:
-# - https://fedoraproject.org/wiki/Packaging:Haskell
-# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+# link with shared libs
+# andersk: Disabled for 3x faster startup speed.
+#%%bcond_without dynamic
+
+# ghc does not emit debug information
+%global debug_package %{nil}
 
 Name:           scripts-static-cat
@@ -10,11 +13,10 @@
 Group:          Applications/System
 License:        GPL
-URL:            http://scripts.mit.edu
+URL:            http://scripts.mit.edu/
 Source0:        %{name}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # fedora ghc archs:
-ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires:  ghc-devel
-# macros for building haskell packages
+ExclusiveArch:  %{ix86} x86_64 ppc alpha
+BuildRequires:  ghc
 BuildRequires:  ghc-rpm-macros >= 0.7.0
 BuildRequires:  ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel
@@ -33,5 +35,10 @@
 
 %install
+rm -rf $RPM_BUILD_ROOT
 %ghc_bin_install
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 
@@ -42,7 +49,4 @@
 
 %changelog
-* Sat Apr 30 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0
-- regenerated packaging for Fedora automatically generated by cabal2spec-0.22.5
-
 * Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0-0
 - initial packaging for Fedora automatically generated by cabal2spec-0.22.1
