开发者

OR dependencies in RPM?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜