RPM conditional Requires in spec file possible

前端 未结 2 578
旧巷少年郎
旧巷少年郎 2021-01-21 06:23

As the subject reads, I wonder whether it is possible in the RPM spec file to make required packages dependent on a condition?

For instance check in a shell statement if

2条回答
  •  时光取名叫无心
    2021-01-21 07:10

    No. You can hand modify the Requires line and turn off autodetection, and then handle what is optional as needed.

提交回复
热议问题