diff --git a/rpm/tarantool.spec b/rpm/tarantool.spec
index 6d082584d299c0d80f82eaa118b91f66a1b44e3c..763b00dac7f6b82c8e6d0f7d22dac06655e0e793 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