From b9c14266a71a75031a8b1e342916c925b8cdc06d Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sat, 10 Jul 2021 15:04:07 +0200 Subject: [PATCH] rpm: remove macro invocation from comment line In RPM spec files, comment lines should not include macro invocations, because RPM can and will expand them, with unpredictable results. Fixes: https://tracker.ceph.com/issues/51622 Signed-off-by: Nathan Cutler --- ceph.spec.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 2c6d6253f2933..1bfa9fcb129b9 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -133,8 +133,9 @@ %global _smp_ncpus_max 1 %else # 3.0 GiB mem per job -# SUSE distros use %limit_build in the place of smp_limit_mem_per_job, please -# be sure to update it as well when changing this number. +# SUSE distros use limit_build in the place of smp_limit_mem_per_job, please +# be sure to update it (in the build section, below) as well when changing this +# number. %global _smp_ncpus_max %{smp_limit_mem_per_job 3000000} %endif %endif