aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2018-10-21 10:28:22 +0300
committerJani Välimaa <wally@mageia.org>2018-10-21 10:28:22 +0300
commit35b4465a661dbe2835ad85046de9120ebdc7d1db (patch)
tree0b9f7ec1d76b10a020c57bd6b8e481e3bfe2743a
parentbaa28d0cc813e644ca987318b2f96c4ae60eeb4d (diff)
downloadspec-helper-35b4465a661dbe2835ad85046de9120ebdc7d1db.tar
spec-helper-35b4465a661dbe2835ad85046de9120ebdc7d1db.tar.gz
spec-helper-35b4465a661dbe2835ad85046de9120ebdc7d1db.tar.bz2
spec-helper-35b4465a661dbe2835ad85046de9120ebdc7d1db.tar.xz
spec-helper-35b4465a661dbe2835ad85046de9120ebdc7d1db.zip
Move binary and library stripping to __os_install_post in rpm-setup if __debug_package isn't defined
-rw-r--r--NEWS2
-rw-r--r--spec-helper.macros.in1
2 files changed, 2 insertions, 1 deletions
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 <wally@mageia.org> 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