From 3c743d54e90fd574fb3e996b838f0cf46a164440 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk <roman@tsisyk.com> Date: Fri, 3 Feb 2017 19:03:01 +0300 Subject: [PATCH] RPM: don't strip debug symbols from binaries Totally disable /usr/lib/rpm/brp-strip-* scripts on all versions of rpmbuild. Fixes #1901 --- rpm/tarantool.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rpm/tarantool.spec b/rpm/tarantool.spec index 6d082584d2..763b00dac7 100644 --- a/rpm/tarantool.spec +++ b/rpm/tarantool.spec @@ -43,7 +43,10 @@ BuildRequires: zlib-devel # in runtime. Tarantool uses the debug symbols to display fiber's stack # traces in fiber.info(). # -%global debug_package %%{nil} +%global _enable_debug_package 0 +%global debug_package %{nil} +%global __os_install_post /usr/lib/rpm/brp-compress %{nil} +%global __strip /bin/true # -fPIE break backtraces # https://github.com/tarantool/tarantool/issues/1262 %undefine _hardened_build -- GitLab