# susemux-ndk is a cross-compilation data package, and the two rpmlint errors
# below are the two ways it does not look like a normal package:
#
#   devel-file-in-non-devel-package
#       The NDK's headers and static runtime archives are the payload, not a
#       -devel leftover. They are consumed by clang through -sysroot and
#       -resource-dir, never by a pkg-config or a link against the installed
#       system, so there is nothing for a -devel subpackage to hang off.
#
#   arch-independent-package-contains-binary-or-object
#       The package is noarch on purpose: the tree is data for the cross
#       compiler, shared verbatim by every build arch (the same reason
#       /usr/lib/llvm's target data lives in one package). The ".so" files are
#       Bionic link stubs and the ".a"/".o" files are target runtimes; none of
#       them is a host executable, and none is loaded by the machine that builds
#       an RPM with this package.
#
# Both checks assume an ordinary runtime or -devel package. Filtering them here
# keeps the rest of the rpmlint output meaningful (no url, bad license, env
# shebangs, duplicate files) instead of drowning it in four thousand copies of
# the same structural complaint.
addFilter("devel-file-in-non-devel-package")
addFilter("arch-independent-package-contains-binary-or-object")
