aboutsummaryrefslogtreecommitdiffstats
path: root/spec-helper.macros.in
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-08-26 14:54:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-08-26 14:54:43 +0000
commita26fbdc7316cd5bf79c845e560a7a77f6a0e6e13 (patch)
tree4c756da652b7670436361e854c09f5d914c6c1a1 /spec-helper.macros.in
parentf5bd66b50721bcafae55053ba5e8e59a74732012 (diff)
downloadspec-helper-a26fbdc7316cd5bf79c845e560a7a77f6a0e6e13.tar
spec-helper-a26fbdc7316cd5bf79c845e560a7a77f6a0e6e13.tar.gz
spec-helper-a26fbdc7316cd5bf79c845e560a7a77f6a0e6e13.tar.bz2
spec-helper-a26fbdc7316cd5bf79c845e560a7a77f6a0e6e13.tar.xz
spec-helper-a26fbdc7316cd5bf79c845e560a7a77f6a0e6e13.zip
handle DONT_STRIP even if not exported,
useful for: DONT_STRIP=1; %{?__spec_helper_post}
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 5e7cf86..519a7ce 100644
--- a/spec-helper.macros.in
+++ b/spec-helper.macros.in
@@ -14,6 +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 \
+ DONT_STRIP=%{?dont_strip:1}%{?!dont_strip:"$DONT_STRIP"} %_spec_helper_dir/strip_and_check_elf_files \
%nil