From 6cdc8d05a35ac73991a0b9f18281e5b441fec50b Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 25 Oct 2018 09:57:00 -0700 Subject: [PATCH] Comment why we're disabling debuginfo on old rpmbuild --- rust.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rust.spec b/rust.spec index 55dc640..0c1508d 100644 --- a/rust.spec +++ b/rust.spec @@ -481,6 +481,7 @@ export LIBSSH2_SYS_USE_PKG_CONFIG=1 # full debuginfo is exhausting memory; just do libstd for now # https://github.com/rust-lang/rust/issues/45854 %if (0%{?fedora} && 0%{?fedora} < 27) || (0%{?rhel} && 0%{?rhel} <= 7) +# Older rpmbuild didn't work with partial debuginfo coverage. %global debug_package %{nil} %define enable_debuginfo --disable-debuginfo --disable-debuginfo-only-std --disable-debuginfo-tools --disable-debuginfo-lines %else