mysql/mysql.rpmlintrc
Michal Schorm 960da07587 [1/3] Code adjustments for RHEL 9.6 - fixup to versioned package layout
In Fedora, package 'mysql8.0' is versioned and it is currently set
as the distribution default. That means it produces un-versioned RPMs
and provides the versioned names, as well as community-mysql names.

In RHEL 10, package 'mysql8.4' is versioned, but it is NOT the
distribution default. That means it produces versioned RPMs and it
does not provide unversioned names.

Here, in RHEL 9 module, the package is named the old unversioned name
'mysql'. We does not want it to produce the provides of the versioned
names, nor conflicts with community-mysql, so small fixup is needed.
2025-01-15 17:28:25 +01:00

38 lines
1.2 KiB
Plaintext

# THIS FILE SERVES FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON
# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors
# (same file in python3 package served as a great example)
# Spelling errors
addFilter(r'spelling-error .* en_US (cnf|mysqld|subpackage) ')
# Debug symlinks
addFilter(r'dangling-relative-symlink /usr/lib/.build-id')
# Testsuite
# Some expected tests results are zero-length files
addFilter(r'(zero-length|pem-certificate|hidden-file-or-dir) /usr/share/mysql-test/*')
# Chroot function
# False positive; checked by upstream
addFilter(r'missing-call-to-chdir-with-chroot')
# Missing documentation
# I don't think that's on the upstream priority list
addFilter(r'no-documentation')
addFilter(r'no-manual-page-for-binary')
# Cluster is gone
addFilter("W: obsolete-not-provided mysql-cluster")
addFilter("W: obsolete-not-provided mysql-bench")
addFilter("W: obsolete-not-provided community-mysql-bench")
# Config file without noreplace flag
# Don't replace logs that may contain old entries
addFilter(r'conffile-without-noreplace-flag /var/log/mariadb/mariadb.log')
# Seems pretty standard to me ...
addFilter(r'non-standard-dir-perm /var/log/mysql 750')