Should rpmlint warn about misleading indentation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux