# rpmlintrc for the media-preservation discimagecreator package (personal OBS
# home: project). DIC ships one permissions.d profile that grants cap_sys_rawio
# to both /usr/libexec/discimagecreator/DiscImageCreator.out and DVDAuth.out so
# vendor SCSI passthrough works without sudo — the same capability the
# Fedora/COPR (%caps) and Ubuntu/PPA lanes already ship.
#
# openSUSE's rpmlint flags any non-whitelisted permissions.d profile with
# `permissions-file-unauthorized` (Badness 10). That code is a BlockedFilter in
# opensuse.toml: it cannot, by design, be silenced with addFilter (that would
# defeat the security review). Submitting to openSUSE Factory would instead
# require the profile to be reviewed and whitelisted in the central
# `permissions` package. For this personal repo the capability is intentional
# and packager-reviewed, so drop its badness to 0 to keep the rpmlint score
# clean. Verified in a Leap 16.0 chroot: both caps land (getcap) and the profile
# parses (permctl); the meson source build completes hermetically.
setBadness("permissions-file-unauthorized", 0)
