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

Panu Matilainen notifications at github.com
Mon Sep 22 11:24:56 UTC 2025


@pmatilai commented on this pull request.



> +It may be handy to use an executable in the *%{buildroot}* or a source file with
+these generators. See *EXAMPLES* for a concrete example.
+
+Added: 4.20.0
+
+## Excludes
+
+Unwanted dependencies can be filtered out with the following set of macros:
+
+```
+%__requires_exclude
+%__requires_exclude_from
+%__provides_exclude
+%__provides_exclude_from
+```
+

As noted earlier, these exist for all dependency types. 

As a special case there's also %__global_DEPTYPE_exclude_from, which is not something folks should be using from the generators or specs, but maybe it should be mentioned from the POV that such a thing exists because it can and does affect the generator output, and so can be a bit baffling in the "why isn't my generator working for X".

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

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


More information about the Rpm-maint mailing list