Blob Blame Raw
# rpmlint overrides file.
# This file filters out MinGW warnings.
# See: http://fedoraproject.org/wiki/MinGW/Rpmlint

# Unconditionally remove devel-file-in-non-devel rpmlint warning.
addFilter ("^mingw32-.*devel-file-in-non-devel")
addFilter ("^mingw64-.*devel-file-in-non-devel")

# /usr/x86_64-pc-mingw32 is permitted by MinGW packaging guidelines.
addFilter ("^mingw32-.*non-standard-dir-in-usr i686-w64-mingw32")
addFilter ("^mingw64-.*non-standard-dir-in-usr x86_64-w64-mingw32")

# Permit *.la files (error is a bit odd, but it's what rpmlint prints).
addFilter ("^mingw32-.*script-without-shebang.*\.la$")
addFilter ("^mingw64-.*script-without-shebang.*\.la$")

# GCC and libtool create executable archive files.  It's not clear
# why, but we permit this for now.
addFilter ("^mingw32-.*spurious-executable-perm.*\.dll\.a$")
addFilter ("^mingw64-.*spurious-executable-perm.*\.dll\.a$")

# *.a and *.dll.a files are permitted arch-independent objects.
addFilter ("^mingw32-.*arch-independent-package-contains-binary-or-object.*\.a$")
addFilter ("^mingw64-.*arch-independent-package-contains-binary-or-object.*\.a$")