From: Nathan Cutler Date: Sat, 10 Jul 2021 13:04:07 +0000 (+0200) Subject: rpm: remove macro invocation from comment line X-Git-Tag: v17.1.0~1443^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b9c14266a71a75031a8b1e342916c925b8cdc06d;p=ceph-ci.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 2c6d6253f29..1bfa9fcb129 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