]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: rm macros in comments 19173/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 17 Aug 2017 15:19:38 +0000 (09:19 -0600)
committerNathan Cutler <ncutler@suse.com>
Mon, 27 Nov 2017 13:08:23 +0000 (14:08 +0100)
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 <kdreyer@redhat.com>
(cherry picked from commit 5c1e9f55d3a144c93c9c18b031db3cdc320561ef)

ceph.spec.in

index 4ff8ccd74f965a745db2c95729075aebabb82952..cc0830e60ff51d60e6771385c2006cad9093525a 100644 (file)
@@ -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