I've seen a few spec files with content like this:
%configure --disable-static --with-imagemagick --with-magickpp \
--without-libavcodec
CPPFLAGS='-DMagickLib=MagickCore -I/usr/include/ImageMagick'
There's no backslash before the CPPFLAGS variable, so it's useless.
Should rpmlimt warn about this?
It would have to allow indentation after %if or shell if/for/while
etc. so might be tricky to do for the whole spec file, but just doing
it for %configure would have been enough for the cases I've seen
recently.
Worth creating a BZ enhancement request for rpmlint?