diff --git a/.gitignore b/.gitignore
index d3c5e05..53005a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /xml-1.3.7.tar.gz
+/xml-1.3.8.tar.gz
diff --git a/ghc-xml.spec b/ghc-xml.spec
index 0f562e3..3a62d3f 100644
--- a/ghc-xml.spec
+++ b/ghc-xml.spec
@@ -4,12 +4,9 @@
 
 %global common_description A simple XML library.
 
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
-Version:        1.3.7
-Release:        3%{?dist}
+Version:        1.3.8
+Release:        1%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -17,17 +14,14 @@ License:        BSD
 URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 # fedora ghc archs:
-ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9 ppc64
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
-%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires:  ghc-base-prof, ghc-bytestring-prof
 
 %description
 %{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
 
 
 %prep
@@ -42,10 +36,14 @@ This package provides the shared library.
 %ghc_lib_install
 
 
-%{?ghc_lib_package}
+%ghc_lib_package
 
 
 %changelog
+* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 1.3.8-1
+- update to 1.3.8
+- update to cabal2spec-0.23: add ppc64
+
 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.3.7-3
 - Enable build on sparcv9
 
diff --git a/sources b/sources
index c96b293..5ac39dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fc2d7e1a321b4393dd444b16ab6ba669  xml-1.3.7.tar.gz
+0f7879e679bbeed5750a571d72c6d795  xml-1.3.8.tar.gz