public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] rawhide: Add rpmlint.toml filtering for false positives and known issues in CI
Date: Mon, 23 Nov 2026 07:52:11 GMT	[thread overview]
Message-ID: <179542033124.1.14401203925392218166.rpms-rpm-de6255b57414@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : rawhide
Commit : de6255b5741457113454ef1ce0891e08a8a0c044
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2026-11-19T17:03:59+02:00
Stats  : +65/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/de6255b5741457113454ef1ce0891e08a8a0c044?branch=rawhide

Log:
Add rpmlint.toml filtering for false positives and known issues in CI

---
diff --git a/rpmlint.toml b/rpmlint.toml
new file mode 100644
index 0000000..6f5ab78
--- /dev/null
+++ b/rpmlint.toml
@@ -0,0 +1,65 @@
+Filters = [
+    # FALSE POSITIVES / rpmlint bugs
+
+    # We damn well shouldn't own /var/log/
+    'logrotate-log-dir-not-packaged',
+
+    # rpmlint assumes logrotate file must match the package name when it
+    # should expect *project* name instead (ours is in rpm-cron subpackage)
+    'incoherent-logrotate-file',
+
+    # rpm doesn't call setuid(), it only provides a Lua API to do so,
+    # call order is up to the user. The matter is also context dependent.
+    'missing-call-to-setgroups-before-setuid',
+
+    # rpm-apidocs is an docs only package to avoid huge docs in other packages
+    'package-with-huge-docs',
+
+    # The software uses hidden files for locks, this isn't rpmlints business
+    'hidden-file-or-dir /usr/lib/sysimage/rpm/',
+
+    # These aren't spelling errors
+    'spelling-error .*\b(init|ionice|scriptlet|systemd)',
+
+    # cron.daily are scripts, not configuration
+    'non-conffile-in-etc /etc/cron.daily/rpm',
+
+    # It's not a dangling link when dependencies are met
+    'dangling-relative-symlink /usr/lib/rpm/find-debuginfo.sh',
+
+    # We can't very well claim to provide python 2 modules when we dont, etc.
+    'obsolete-not-provided (python2-rpm|fapolicyd-dnf-plugin)',
+
+    # INTENTIONAL EXCEPTIONS
+    # Some folks insist the rpmdb should live in /usr/lib instead of /var.
+    'non-etc-or-var-file-marked-as-conffile /usr/lib/sysimage/rpm/',
+
+    # Necessary evil while the rpmdb migration to /usr/lib/sysimage is there
+    'dangerous-command-in-%pre ln',
+
+    # RPM is a recursive acronym, this is unavoidable
+    'name-repeated-in-summary',
+
+    # rpm-cron doesn't need
+    'rpm-cron.noarch: W: no-documentation',
+
+    # Empty only if %systemd_postun rpmdb-rebuild.service expands thus
+    'rpm.*: W: empty-%postun',
+
+    # KNOWN ISSUES
+
+    # Ideally these would go to some rpm-common type subpackage
+    'files-duplicate /usr/lib/rpm/platform',
+
+    # https://github.com/rpm-software-management/rpm/issues/1849
+    'rpm-plugin-fsverity.*: W: no-documentation',
+
+    # https://github.com/rpm-software-management/rpm/issues/4398
+    'python-egg-info-distutils-style',
+
+    # https://github.com/rpm-software-management/rpm/issues/4399
+    'no-manual-page-for-binary (rpmquery|rpmverify)',
+
+    # https://github.com/rpm-software-management/rpm/issues/4400
+    'dbus-policy-missing-allow /usr/share/dbus-1/system.d/org.rpm.conf',
+]

                 reply	other threads:[~2026-11-23  7:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542033124.1.14401203925392218166.rpms-rpm-de6255b57414@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox