]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: quote %files macro in comment 3197/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 17 Dec 2014 20:05:21 +0000 (13:05 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 17 Dec 2014 20:06:58 +0000 (13:06 -0700)
commit69fa5329ce55e53c82ac90aef94bf44cdbf19325
treeb40cd5b5f190791d35778c0d3d9dbb1096ee5b78
parent38768da1b692cc2ab27f23d36cd38c16bdfed507
ceph.spec.in: quote %files macro in comment

Prior to this commit, RPM would expand the %files macro that was present
in the comment.

Use a double percent sign to quote the macro so that RPM will not expand
it.

This fixes an rpmlint warning, "W: macro-in-comment %files"

More information from rpmlint's "-I" (help) command:

  $ rpmlint -I macro-in-comment
  macro-in-comment:
  There is a unescaped macro after a shell style comment in the
  specfile.  Macros are expanded everywhere, so check if it can cause a
  problem in this case and escape the macro with another leading % if
  appropriate.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
ceph.spec.in