From 5c1e9f55d3a144c93c9c18b031db3cdc320561ef Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Thu, 17 Aug 2017 09:19:38 -0600 Subject: [PATCH] rpm: rm macros in comments rpm expands all macros in a .spec file, even those in comments. Drop the percent signs so rpm will not expand these. This change silences rpmlint's warning about macros in comments. Signed-off-by: Ken Dreyer --- ceph.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 66babf6c21be4..caaab5945ae4d 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -67,7 +67,8 @@ Release: @RPM_RELEASE@%{?dist} Epoch: 2 %endif -# define %_epoch_prefix macro which will expand to the empty string if %epoch is undefined +# define _epoch_prefix macro which will expand to the empty string if epoch is +# undefined %global _epoch_prefix %{?epoch:%{epoch}:} Summary: User space components of the Ceph file system -- 2.39.5