rpms/cpphs/devel cpphs.spec,1.14,1.15

Jens Petersen petersen at fedoraproject.org
Fri Jun 25 15:13:42 UTC 2010


Author: petersen

Update of /cvs/extras/rpms/cpphs/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4942

Modified Files:
	cpphs.spec 
Log Message:
strip dynlinked files (cabal2spec-0.21.4)


Index: cpphs.spec
===================================================================
RCS file: /cvs/extras/rpms/cpphs/devel/cpphs.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- cpphs.spec	24 Apr 2010 08:52:33 -0000	1.14
+++ cpphs.spec	25 Jun 2010 15:13:42 -0000	1.15
@@ -1,6 +1,6 @@
 %global pkg_name cpphs
 
-%global common_summary Haskell library for %{pkg_name}
+%global common_summary Haskell %{pkg_name} library
 
 %global common_description Cpphs is a re-implementation of the C pre-processor that is both more\
 compatible with Haskell, and itself written in Haskell so that it can be\
@@ -18,17 +18,17 @@ an option to turn off macro-expansion.
 
 Name:           %{pkg_name}
 Version:        1.11
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        C pre-processor for Haskell
 Group:          Development/Languages
 License:        GPL+ and LGPLv2+
 URL:            http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{name}
 Source0:        http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{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}
@@ -54,16 +54,21 @@ BuildRequires:  ghc-prof
 
 
 %install
+rm -rf $RPM_BUILD_ROOT
 %cabal_install
 %cabal_pkg_conf
 
 %ghc_gen_filelists
+%ghc_strip_dynlinked
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Sat Jun 26 2010 Jens Petersen <petersen at redhat.com> - 1.11-3
+- strip dynlinked files (cabal2spec-0.21.4)
+
 * Sat Apr 24 2010 Jens Petersen <petersen at redhat.com> - 1.11-2
 - rebuild for ghc-6.12.2
 



More information about the scm-commits mailing list