Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
インストール後のセクションに必要なツールを指定するために Requires(post) を使用したスペック ファイルを含む rpm パッケージを生成しました。
では、rpm パッケージから Requires(post) tools リストのリストを取得するにはどうすればよいでしょうか? rpm -qp --whatrequires .rpm - ツールを一覧表示しません
と を混合--requiresして--whatrequiresいます。最初のものは、指定されたパッケージに必要なパッケージをリストしますが、2番目のものは、指定されたパッケージ (または他の提供されたメタデータ/ファイル) を必要とするパッケージを示します。
--requires
--whatrequires
--requiresを使用する必要があります