Build an rpm with debug symbols

This commit is contained in:
Daniel A. Wozniak 2023-09-04 15:26:43 -07:00 committed by Megan Wilhite
parent bf0b9b085e
commit a189dab40d

View file

@ -19,6 +19,9 @@
%define _SALT_NAME Salt
%define _SALT_HOME /opt/saltstack/salt
# Disable debugsource template
%define _debugsource_template %{nil}
# Disable python bytecompile for MANY reasons
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
@ -57,6 +60,10 @@ BuildRequires: libxcrypt-compat
%endif
%endif
# Build debuginfo package
%debug_package
%_no_recompute_build_ids 1
%description
Salt is a distributed remote execution system used to execute commands and
query data. It was developed in order to bring the best solutions found in