简体   繁体   中英

OR dependencies in RPM?

Can I produce 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM