spurious-executable-perm

arch-independent-package-contains-binary-or-object

non-standard-dir-in-usr i686-pc-mingw32

This breaks the FHS, but is permitted by the MinGW guidelines.
These directories in /usr are ugly, but are commonly
used by cross-compilation tools.
The FHS project upstream is dead, so we can't get the directory added
to the standard. It is thought to be very complex to remove the need
for this directory from gcc and binutils.

file-not-in-%lang

This is a real error. You can use %find_lang with MinGW packages, although the exact usage isn't that obvious. Use it like this:

Name: mingw32-foo
%install
%find_lang foo
%files -f foo.lang

wrong-script-end-of-line-encoding

This can be a real error, or can be ignored depending on the context.

For example, it occurs with batch files (*.bat). If they are intended to be copied directly over to a Windows machine, then it is OK that the end-of-line encoding matches what Windows requires.

For ordinary text files that are meant to be read by Fedora developers, the usual Unix end-of-line encoding should be used. Apply dos2unix to those files.

config files in /usr

[XXX What's the exact rpmlint error?]

Configuration files that occur in %{_mingw32_sysconfdir} (which is /usr/...) should be marked as %config, and rpmlint is wrong to complain about them.

debuginfo-without-sources

MinGW debuginfo packages only contain the debug symbols and not the sources, so this rpmlint error is epxected, see [1].