# The payload is a prebuilt Electron tree, so rpmlint's complaints about it are
# expected rather than fixable here.

# Chromium ships its own shared libraries next to the executable; they are not
# meant to be found by the linker anywhere else.
addFilter("shared-lib-without-dependency-information")
addFilter("library-without-ldconfig-postin")
addFilter("library-without-ldconfig-postun")
# Stripping breaks the ASAR integrity check the app verifies at startup.
addFilter("unstripped-binary-or-object")
addFilter("statically-linked-binary")
# Everything lives under /opt, which is where a self-contained app belongs.
addFilter("only-non-binary-in-usr-lib")
addFilter("filename-too-long-for-joliet")
# chrome-sandbox is setuid root by design: without it Electron refuses to
# start, and the alternative is --no-sandbox.
addFilter("setuid-binary.*chrome-sandbox")
addFilter("non-standard-executable-perm.*chrome-sandbox")
