From 551cb3f8b5a1fe840946b16e90129310bf61e4a6 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 2 Jan 2015 15:57:01 -0700 Subject: [PATCH] ceph-deploy.spec: quote RPM macros in comments Prior to this commit, RPM would expand the macros that were present in the comment. Use a double percent sign to quote the macros so that RPM will not expand them. This fixes the following rpmlint warnings: ceph-deploy.spec:60: W: macro-in-comment %setup ceph-deploy.spec:60: W: macro-in-comment %{name} 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-deploy.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-deploy.spec b/ceph-deploy.spec index c8e0a07..9bf7f36 100644 --- a/ceph-deploy.spec +++ b/ceph-deploy.spec @@ -57,7 +57,7 @@ Requires: python >= %{pyver} An easy to use admin tool for deploy ceph storage clusters. %prep -#%setup -q -n %{name} +#%%setup -q -n %%{name} %setup -q %build -- 2.47.3