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 <kdreyer@redhat.com>
An easy to use admin tool for deploy ceph storage clusters.
%prep
-#%setup -q -n %{name}
+#%%setup -q -n %%{name}
%setup -q
%build