[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)

Michal Domonkos notifications at github.com
Mon Sep 22 07:39:52 UTC 2025


@dmnks commented on this pull request.



> +*%\_\_provides_exclude* _REGEX_++
+*%\_\_provides_exclude_from* _REGEX_
+
+# DESCRIPTION
+
+RPM uses a pluggable interface coupled with a file classifier to add dependency
+information to packages at build time. This system relies on specialized, domain
+specific executables, called _generators_, that do the heavy-lifting of figuring
+out the dependencies from the files present in the buildroot. It complements the
+manual tags, such as *Requires* or *Provides*, in *rpm-spec*(5) files.
+
+Generators are paired with logical labels, called _file attributes_, assigned to
+the packaged files by the file classifier. This ensures that every file is only
+processed by the applicable generator(s), as opposed to all generators, which
+simplifies their implementation and significantly improves the overall build
+performance.

That's a good point. I felt the need to explain the *why* of file attributes since they technically aren't needed (they are just an optimization technique) and one might wonder what a file classifier has to do with all this. But then, you're also right - man pages aren't supposed to be text books, they're just that, manuals. Dry and to the point. So yep, will drop that.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#discussion_r2366994007
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3957/review/3250988699 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250922/6a7b9a75/attachment.htm>


More information about the Rpm-maint mailing list