671fa6
# rpmlint overrides file.
671fa6
# This file filters out MinGW warnings.
671fa6
# See: http://fedoraproject.org/wiki/MinGW/Rpmlint
671fa6
671fa6
# Unconditionally remove devel-file-in-non-devel rpmlint warning.
671fa6
addFilter ("^mingw32-.*devel-file-in-non-devel")
0c1e1f
addFilter ("^mingw64-.*devel-file-in-non-devel")
671fa6
0c1e1f
# /usr/x86_64-pc-mingw32 is permitted by MinGW packaging guidelines.
0c1e1f
addFilter ("^mingw32-.*non-standard-dir-in-usr i686-w64-mingw32")
0c1e1f
addFilter ("^mingw64-.*non-standard-dir-in-usr x86_64-w64-mingw32")
671fa6
671fa6
# Permit *.la files (error is a bit odd, but it's what rpmlint prints).
671fa6
addFilter ("^mingw32-.*script-without-shebang.*\.la$")
0c1e1f
addFilter ("^mingw64-.*script-without-shebang.*\.la$")
671fa6
671fa6
# GCC and libtool create executable archive files.  It's not clear
671fa6
# why, but we permit this for now.
671fa6
addFilter ("^mingw32-.*spurious-executable-perm.*\.dll\.a$")
0c1e1f
addFilter ("^mingw64-.*spurious-executable-perm.*\.dll\.a$")
671fa6
0c1e1f
# *.a and *.dll.a files are permitted arch-independent objects.
0c1e1f
addFilter ("^mingw32-.*arch-independent-package-contains-binary-or-object.*\.a$")
0c1e1f
addFilter ("^mingw64-.*arch-independent-package-contains-binary-or-object.*\.a$")