# Source0-md5: be8c5ef52a0824babdc89d60c1e9b600
URL: http://hackage.haskell.org/package/utf8-string/
BuildRequires: ghc >= 6.12.3
+BuildRequires: rpmbuild(macros) >= 1.608
%requires_releq ghc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define ghcdir ghc-%(/usr/bin/ghc --numeric-version)
-
%description
-A UTF8 layer for IO and Strings. The utf8-string package
-provides operations for encoding UTF8 strings to Word8 lists
-and back, and for reading and writing UTF8 without truncation.
+A UTF8 layer for IO and Strings. The utf8-string package provides
+operations for encoding UTF8 strings to Word8 lists and back, and for
+reading and writing UTF8 without truncation.
%prep
%setup -q -n %{pkgname}-%{version}