rpms/ghc-rpm-macros/devel ghc-rpm-macros.ghc, 1.20, 1.21 ghc-rpm-macros.spec, 1.23, 1.24

Jens Petersen petersen at fedoraproject.org
Wed Jun 23 10:05:25 UTC 2010


Author: petersen

Update of /cvs/pkgs/rpms/ghc-rpm-macros/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25178

Modified Files:
	ghc-rpm-macros.ghc ghc-rpm-macros.spec 
Log Message:
replace ghc_strip_shared with ghc_strip_dynlinked


Index: ghc-rpm-macros.ghc
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-rpm-macros/devel/ghc-rpm-macros.ghc,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- ghc-rpm-macros.ghc	20 Jun 2010 12:44:49 -0000	1.20
+++ ghc-rpm-macros.ghc	23 Jun 2010 10:05:24 -0000	1.21
@@ -200,5 +200,5 @@ This package contains the profiling libr
 %defattr(-,root,root,-)\
 %{nil}
 
-# ghc_strip_shared
-%ghc_strip_shared find $RPM_BUILD_ROOT%{ghcpkgbasedir} -name "*.so" | xargs strip
+# ghc_strip_dynlinked
+%ghc_strip_dynlinked find $RPM_BUILD_ROOT -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -print | xargs strip


Index: ghc-rpm-macros.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-rpm-macros/devel/ghc-rpm-macros.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- ghc-rpm-macros.spec	20 Jun 2010 12:44:49 -0000	1.23
+++ ghc-rpm-macros.spec	23 Jun 2010 10:05:24 -0000	1.24
@@ -1,5 +1,5 @@
 Name:		ghc-rpm-macros
-Version:	0.5.8
+Version:	0.5.9
 Release:	1%{?dist}
 Summary:	Macros for building packages for GHC
 
@@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jun 23 2010 Jens Petersen <petersen at redhat.com> - 0.5.9-1
+- replace ghc_strip_shared with ghc_strip_dynlinked
+
 * Sun Jun 20 2010 Jens Petersen <petersen at redhat.com> - 0.5.8-1
 - add ghc_strip_shared to strip shared libraries
 



More information about the scm-commits mailing list