make ghc_strip_dynlinked conditional on no debug_package
This commit is contained in:
parent
07f858eab5
commit
4e07127a2c
@ -201,4 +201,7 @@ This package contains the profiling library.\
|
|||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
# ghc_strip_dynlinked
|
# ghc_strip_dynlinked
|
||||||
%ghc_strip_dynlinked find $RPM_BUILD_ROOT -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -print | xargs strip
|
%ghc_strip_dynlinked\
|
||||||
|
%if 0%{!?__debug_package:1}\
|
||||||
|
find $RPM_BUILD_ROOT -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -print | xargs strip\
|
||||||
|
%endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 0.5.9
|
Version: 0.6.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Macros for building packages for GHC
|
Summary: Macros for building packages for GHC
|
||||||
|
|
||||||
@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.6.0-1
|
||||||
|
- make ghc_strip_dynlinked conditional on no debug_package
|
||||||
|
|
||||||
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.5.9-1
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.5.9-1
|
||||||
- replace ghc_strip_shared with ghc_strip_dynlinked
|
- replace ghc_strip_shared with ghc_strip_dynlinked
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user