From 69fa5329ce55e53c82ac90aef94bf44cdbf19325 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Wed, 17 Dec 2014 13:05:21 -0700 Subject: [PATCH] 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 --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5