replace ghc_strip_shared with ghc_strip_dynlinked
This commit is contained in:
parent
eaf24211e8
commit
07f858eab5
@ -200,5 +200,5 @@ This package contains the profiling library.\
|
||||
%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
|
||||
|
@ -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@redhat.com> - 0.5.9-1
|
||||
- replace ghc_strip_shared with ghc_strip_dynlinked
|
||||
|
||||
* Sun Jun 20 2010 Jens Petersen <petersen@redhat.com> - 0.5.8-1
|
||||
- add ghc_strip_shared to strip shared libraries
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user