From: Ken Dreyer Date: Wed, 17 Dec 2014 20:05:21 +0000 (-0700) Subject: ceph.spec.in: quote %files macro in comment X-Git-Tag: v0.91~48^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3197%2Fhead;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index c5a68c2af205f..d36652764c0df 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -761,7 +761,7 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1 %{_javadir}/libcephfs-test.jar %files libs-compat -# We need an empty %files list for ceph-libs-compat, to tell rpmbuild to actually +# We need an empty %%files list for ceph-libs-compat, to tell rpmbuild to actually # build this meta package. %changelog