From a26fbdc7316cd5bf79c845e560a7a77f6a0e6e13 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Aug 2008 14:54:43 +0000 Subject: handle DONT_STRIP even if not exported, useful for: DONT_STRIP=1; %{?__spec_helper_post} --- spec-helper.macros.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec-helper.macros.in') 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 -- cgit v1.2.1