Index: /branches/fc15-dev/server/fedora/specs/scripts-static-cat.spec
===================================================================
--- /branches/fc15-dev/server/fedora/specs/scripts-static-cat.spec	(revision 1844)
+++ /branches/fc15-dev/server/fedora/specs/scripts-static-cat.spec	(revision 1845)
@@ -1,8 +1,5 @@
-# link with shared libs
-# andersk: Disabled for 3x faster startup speed.
-#%%bcond_without dynamic
-
-# ghc does not emit debug information
-%global debug_package %{nil}
+# For Haskell Packaging Guidelines see:
+# - https://fedoraproject.org/wiki/Packaging:Haskell
+# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
 Name:           scripts-static-cat
@@ -15,8 +12,8 @@
 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
-BuildRequires:  ghc
+ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
+BuildRequires:  ghc-devel
+# macros for building haskell packages
 BuildRequires:  ghc-rpm-macros >= 0.7.0
 BuildRequires:  ghc-cgi-devel >= 3001.1.8, ghc-MonadCatchIO-mtl-devel, ghc-unix-handle-devel
@@ -35,10 +32,5 @@
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %ghc_bin_install
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 
@@ -49,4 +41,7 @@
 
 %changelog
+* Mon May  2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0-0
+- regenerated packaging with 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
