aboutsummaryrefslogtreecommitdiffstats
path: root/spec-helper.macros.in
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-05-07 11:43:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-05-07 11:43:36 +0000
commit5a8741f75efb301880630d1a9221669efcae4999 (patch)
tree616879f80ca5bf6232b6ca4cdd77b10fe286ad86 /spec-helper.macros.in
parent88884d287a233a3d26bf860b1b8d6b2723ef640e (diff)
downloadspec-helper-5a8741f75efb301880630d1a9221669efcae4999.tar
spec-helper-5a8741f75efb301880630d1a9221669efcae4999.tar.gz
spec-helper-5a8741f75efb301880630d1a9221669efcae4999.tar.bz2
spec-helper-5a8741f75efb301880630d1a9221669efcae4999.tar.xz
spec-helper-5a8741f75efb301880630d1a9221669efcae4999.zip
* replace strip_files with strip_and_check_elf_files which checks for
overlinking (cf http://wiki.mandriva.com/en/Overlinking) and "missing linking" (need checking if there are too many false positives) nb: strip_and_check_elf_files is done last in %__spec_helper_post so that the warning is easier to see in rpmbuild logs
Diffstat (limited to 'spec-helper.macros.in')
-rw-r--r--spec-helper.macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec-helper.macros.in b/spec-helper.macros.in
index 198951a..5e7cf86 100644
--- a/spec-helper.macros.in
+++ b/spec-helper.macros.in
@@ -5,7 +5,6 @@
%__spec_helper_post \
%{?!dont_clean_files: [ -n "$DONT_CLEANUP" ] || %_spec_helper_dir/clean_files} \
%{?!dont_compress: [ -n "$DONT_COMPRESS" ] || %_spec_helper_dir/compress_files %{?_extension}%{?!_extension:.gz}} \
- %{?!dont_strip: [ -n "$DONT_STRIP" ] || %_spec_helper_dir/strip_files} \
%{?!dont_relink: [ -n "$DONT_RELINK" ] || %_spec_helper_dir/relink_symlinks} \
%{?!dont_cleanup_perl: [ -n "$DONT_CLEAN_PERL" ] || %_spec_helper_dir/clean_perl} \
%{?!dont_symlinks_libs: [ -n "$DONT_SYMLINK_LIBS" ] || %_spec_helper_dir/lib_symlinks} \
@@ -15,5 +14,6 @@
%{?!dont_fix_pamd: [ -n "$DONT_FIX_PAMD_CONFIGS" ] || %_spec_helper_dir/fix_pamd} \
%{?!dont_remove_info_dir: [ -n "$DONT_REMOVE_INFO_DIR" ] || %_spec_helper_dir/remove_info_dir} \
%{?!dont_fix_eol: [ -n "$DONT_FIX_EOL" ] || %_spec_helper_dir/fix_eol} \
+ %{?dont_strip: DONT_STRIP=1} %_spec_helper_dir/strip_and_check_elf_files \
%nil