开发者

OR dependencies in RPM?

开发者 https://www.devze.com 2023-01-30 07:49 出处:网络
Can I produce开发者_JAVA百科 an RPM package where several dependencies are listed in a choose-one-from-those manner? Reason why I\'m asking, my app needs a scalable Mincho-style Japanese font, and it

Can I produce开发者_JAVA百科 an RPM package where several dependencies are listed in a choose-one-from-those manner? Reason why I'm asking, my app needs a scalable Mincho-style Japanese font, and it looks like different flavors of RPM-based Linux provide different ones, with no common denominator. I don't want to create different RPMs for different distros.


That is what virtual provides are for. For example, the sendmail package has a "Provides: smtp-daemon", as does the postfix package. The cron package in turn only needs a "Requires: smtp-daemon". And that's how OR is implemented.

0

精彩评论

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