From 968ba9d80160dd98bcba8fe52d1b341e22c47abc Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 25 Jun 2010 15:36:05 +0000 Subject: [PATCH] strip shared library (cabal2spec-0.21.4) --- ghc-uniplate.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ghc-uniplate.spec b/ghc-uniplate.spec index cb36c8d..b21d227 100644 --- a/ghc-uniplate.spec +++ b/ghc-uniplate.spec @@ -15,17 +15,17 @@ Haskell. Name: ghc-%{pkg_name} Version: 1.5.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://community.haskell.org/~ndm/uniplate/ 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 %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -49,10 +49,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 @@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jun 26 2010 Jens Petersen - 1.5.1-3 +- strip shared library (cabal2spec-0.21.4) + * Mon Feb 15 2010 Conrad Meyer - 1.5.1-1 - Update to 1.5.1