]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rpm: remove macro invocation from comment line
authorNathan Cutler <ncutler@suse.com>
Sat, 10 Jul 2021 13:04:07 +0000 (15:04 +0200)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Jul 2021 13:04:07 +0000 (15:04 +0200)
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 <ncutler@suse.com>
ceph.spec.in

index 2c6d6253f2933ea4a8ecb8823498318db98ca110..1bfa9fcb129b9e51dc9a0d9eaf95b121bccc5df9 100644 (file)
 %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