From: Ken Dreyer Date: Thu, 17 Aug 2017 15:19:38 +0000 (-0600) Subject: rpm: rm macros in comments X-Git-Tag: v12.2.2~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19173%2Fhead;p=ceph.git 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 (cherry picked from commit 5c1e9f55d3a144c93c9c18b031db3cdc320561ef) --- diff --git a/ceph.spec.in b/ceph.spec.in index 4ff8ccd74f96..cc0830e60ff5 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