Skip to content

Commit

Permalink
rpm: remove macro invocation from comment line
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
smithfarm committed Jul 10, 2021
1 parent e0577da commit b9c1426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9c1426

Please sign in to comment.