[Rpm-maint] [rpm-software-management/rpm] Add a man page for rpm sysusers integration (PR #4126)
Michal Domonkos
notifications at github.com
Thu Mar 12 12:40:36 UTC 2026
@dmnks commented on this pull request.
> + *sysusers.d*(5) files. Defaults to _/usr/lib/sysusers.d_.
+
+## Packagers
+
+*%add_sysusers* [*-b*] _LINE_
+ Interpret _LINE_ as if written in a *sysusers.d*(5) file and expand to a
+ (bare) dependency string as described in *ENCODING*. _LINE_ denotes the
+ individual fields passed as macro arguments.
+
+ When used with *-b*, expand to a *b*are dependency string. This form can
+ be used to implement *rpm-dependency-generators*(7) for *sysusers.d*(5)
+ files. RPM ships with such a generator (_sysusers.attr_) installed by
+ default.
+
+ When used without *-b*, expand to a dependency string and prefix it with
+ "Provides: " or "Requires: ". This form can be used in *rpm-spec*(5)
It should still mention Recommends, though, so I'll add that.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4126#discussion_r2924361414
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4126/review/3936274285 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260312/32fa0620/attachment-0001.htm>
More information about the Rpm-maint
mailing list