diff --git a/ghc-rpm-macros.ghc b/ghc-rpm-macros.ghc index b043fc9..9ee61ce 100644 --- a/ghc-rpm-macros.ghc +++ b/ghc-rpm-macros.ghc @@ -199,3 +199,6 @@ This package contains the profiling library.\ %files -n %{ghc_pkg_name}-prof -f %{ghc_pkg_name}-prof.files\ %defattr(-,root,root,-)\ %{nil} + +# ghc_strip_shared +%ghc_strip_shared find $RPM_BUILD_ROOT%{ghcpkgbasedir} -name "*.so" | xargs strip diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 36b7c3c..14ac62c 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -1,5 +1,5 @@ Name: ghc-rpm-macros -Version: 0.5.7 +Version: 0.5.8 Release: 1%{?dist} Summary: Macros for building packages for GHC @@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jun 20 2010 Jens Petersen - 0.5.8-1 +- add ghc_strip_shared to strip shared libraries + * Sun Jun 20 2010 Jens Petersen - 0.5.7-1 - add comments over macros - drop unused cabal_makefile