[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 08:53:40 UTC 2025
@pmatilai commented on this pull request.
> +
+```
+%__foo_requires /some/script %{NAME} %{VERSION}
+```
+
+In addition to the globally defined macros, the following macros are exported to
+generators on a sub-package basis (Added: 4.15.0):
+
+```
+%{NAME}
+%{EPOCH}
+%{VERSION}
+%{RELEASE}
+```
+
+Note that the *OrderWithRequires* tag will only appear in RPM >= 4.17.0.
This little cowboy is a long long way from home :smile:
The remark belongs to a section where different generators types are introduced, and should instead be in the form of "Added: 4.17.0" instead of this strange future expression.
And, that makes me think that we should have an explicit list of the supported generator (dependency) types. It's currently a bit hard to decipher. That's perhaps another point for using _NAME_DEPTYPE_foo in the SYNOPSIS.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#pullrequestreview-3251253867
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3251253867 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250922/ecfabd46/attachment.htm>
More information about the Rpm-maint
mailing list