diff --git a/_service b/_service
index 76828d7..96813c1 100644
--- a/_service
+++ b/_service
@@ -1,3 +1,3 @@
-
-
\ No newline at end of file
+
+
diff --git a/_service:download_files:xml-1.3.12.tar.gz b/_service:download_files:xml-1.3.12.tar.gz
deleted file mode 100644
index c33a20b..0000000
--- a/_service:download_files:xml-1.3.12.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:51410e12facc989bad32133a58d3ffc624a2ce8e1b1b4cfc49c27fa0ecb7b8d2
-size 11921
diff --git a/ghc-xml.changes b/ghc-xml.changes
index 8c1c95a..ea145de 100644
--- a/ghc-xml.changes
+++ b/ghc-xml.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Wed May 15 13:51:42 UTC 2013 - peter.trommler@ohm-hochschule.de
+
+- update to 1.3.13 from upstream
+- added functionality
+* support for extracting characters with a custom function
+
-------------------------------------------------------------------
Thu Jun 7 17:27:37 UTC 2012 - peter.trommler@ohm-hochschule.de
diff --git a/ghc-xml.spec b/ghc-xml.spec
index 47f17f1..0d75487 100644
--- a/ghc-xml.spec
+++ b/ghc-xml.spec
@@ -1,8 +1,7 @@
#
-# spec file for ghc-xml
+# spec file for package ghc-xml
#
-
-# Copyright (c) 2012 Herbert Graeber
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,60 +15,62 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# cabal2spec-0.25
-# https://fedoraproject.org/wiki/Packaging:Haskell
-# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name xml
-%global common_summary Haskell simple XML library
-
-%global common_description A simple XML library for Haskell.
-
-Name: ghc-%{pkg_name}
-Version: 1.3.12
-Release: 1
-Summary: %{common_summary}
-
-Group: System/Libraries
+Name: ghc-xml
+Version: 1.3.13
+Release: 0
+Summary: A simple XML library
License: BSD-3-Clause
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# BEGIN cabal2spec
-URL: http://hackage.haskell.org/package/%{pkg_name}
+Group: System/Libraries
+
+Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-text-devel
-# END cabal2spec
+# End cabal-rpm deps
%description
-%{common_description}
+A simple Haskell library for XML processing.
+
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Group: Development/Libraries/Other
+Requires: ghc-compiler
+Requires(post): ghc-compiler
+Requires(postun): ghc-compiler
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A simple Haskell library for XML processing.
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
+%post devel
+%ghc_pkg_recache
-# devel subpackage
-%ghc_devel_package
+%postun devel
+%ghc_pkg_recache
-%ghc_devel_description
-
-
-%ghc_devel_post_postun
-
-
-%ghc_files LICENSE
+%files -f %{name}.files
+%defattr(-,root,root)
+%doc LICENSE
+%files devel -f %{name}-devel.files
%changelog
diff --git a/xml-1.3.13.tar.gz b/xml-1.3.13.tar.gz
new file mode 100644
index 0000000..626e44f
--- /dev/null
+++ b/xml-1.3.13.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c33607cef8a48d878b0e617e115135fc6f025fe43dcb65c2c7afb8285415b813
+size 12082