disable debuginfo for non-fedora

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
(cherry picked from commit ea6dbbb1b70376830e7f07a18b011bc79e0c5748)
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2021-04-21 16:55:29 -04:00
parent e4b509bd5e
commit e3f32e17b0

View File

@ -2,7 +2,11 @@
%global with_bundled 1 %global with_bundled 1
%global with_check 0 %global with_check 0
%global with_unit_test 0 %global with_unit_test 0
%if 0%{?fedora}
%global with_debug 1 %global with_debug 1
%else
%global with_debug 0
%endif
%if 0%{?with_debug} %if 0%{?with_debug}
%global _find_debuginfo_dwz_opts %{nil} %global _find_debuginfo_dwz_opts %{nil}