From 35b4465a661dbe2835ad85046de9120ebdc7d1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sun, 21 Oct 2018 10:28:22 +0300 Subject: Move binary and library stripping to __os_install_post in rpm-setup if __debug_package isn't defined --- NEWS | 2 ++ spec-helper.macros.in | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8e528d5..c0b0d10 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ + * move binary and library stripping to __os_install_post in rpm-setup if __debug_package isn't defined + 2018-09-22 Jani Välimaa 0.31.21 * check .desktop files only in /usr/share/applications diff --git a/spec-helper.macros.in b/spec-helper.macros.in index a224cfa..db8ed2e 100644 --- a/spec-helper.macros.in +++ b/spec-helper.macros.in @@ -14,6 +14,5 @@ %{?!dont_fix_eol: [ -n "$DONT_FIX_EOL" ] || %_spec_helper_dir/fix_eol} \ %{?!dont_check_desktop_files: [ -n "$DONT_CHECK_DESKTOP_FILES" ] || %_spec_helper_dir/check_desktop_files} \ %{?!dont_check_elf_files: [ -n "$DONT_CHECK_ELF_FILES" ] || %_spec_helper_dir/check_elf_files} \ - %{?!__debug_package: [ -n "%{?dont_strip:1}%{?!dont_strip:$DONT_STRIP}" ] || export DISABLE_DEBUG=1 && %__debug_install_post} \ %nil -- cgit v1.2.1