diff --git a/ghc-utf8-string.spec b/ghc-utf8-string.spec index 6a3d4bd..c789fda 100644 --- a/ghc-utf8-string.spec +++ b/ghc-utf8-string.spec @@ -13,18 +13,18 @@ UTF8 without truncation. Name: ghc-%{pkg_name} Version: 0.3.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha -BuildRequires: ghc, ghc-rpm-macros >= 0.5.1 -BuildRequires: ghc-doc -BuildRequires: ghc-prof +BuildRequires: ghc, ghc-doc, ghc-prof +BuildRequires: ghc-rpm-macros >= 0.6.0 %description %{common_description} @@ -47,10 +47,12 @@ This package provides the shared library. %install +rm -rf $RPM_BUILD_ROOT %cabal_install %cabal_pkg_conf %ghc_gen_filelists +%ghc_strip_dynlinked %clean @@ -58,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 23 2010 Jens Petersen - 0.3.6-4 +- use ghc_strip_dynlinked (ghc-rpm-macros-0.6.0) + * Tue Apr 27 2010 Jens Petersen - 0.3.6-3 - ghc-6.12.2 doesn't provide utf8-string again - condition ghc_lib_package