# rpmlintrc for the media-preservation redumper package (personal OBS home:
# project). redumper ships a permissions.d profile that grants cap_sys_rawio
# to /usr/bin/redumper so vendor SCSI passthrough (Plextor read method D8,
# Kreon commands, ...) works without sudo — the exact 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: the cap lands (getcap) and the profile
# parses (permctl).
setBadness("permissions-file-unauthorized", 0)
