开发者

RPM : How to get Requires(post) list

开发者 https://www.devze.com 2023-04-08 14:42 出处:网络
Have generated rpm package with the spec file, where used Requires(post) to specify the required tools for the post installation section.

Have generated rpm package with the spec file, where used Requires(post) to specify the required tools for the post installation section.

So how to get the list of Requires(post) tools list from a rpm package ? rpm -qp --whatrequires .rpm - does not list any tool开发者_StackOverflow社区s


You are mixing --requires and --whatrequires. The first one will list packages required by package specified, whereas the second one will tell you which packages require given package (or other provided metadata/files).

You should use --requires

0

精彩评论

暂无评论...
验证码 换一张
取 消