https://bugzilla.redhat.com/show_bug.cgi?id=1510565 --- Comment #6 from Pavel Zhukov <pzhukov@xxxxxxxxxx> --- (In reply to Miroslav Lichvar from comment #5) > (In reply to Pavel Zhukov from comment #4) > > What about: > > https://fedoraproject.org/wiki/Packaging:WeakDependencies#Real_life_example ? > > > > Both chrony and ntp should provide some "service" and ntpstat should depend > > on this "service" and suggest chrony as preferred provider. > > What if a third package was added to fedora, which provided this service? > ntpstat can get the data from ntpd (using ntpq) and chronyd (using chronyc), > but that's all. Well it's theoretical question which applies for mysql example as well. There're few options: 1) Add support of the service to ntpstat 2) Add "Conflicts:" to either the service or ntpstat spec. In any case As far as ntpstat suggests chrony It's safe. In other words user has to explicitly install ntpstat and "the service". Well It may happen that ntp/chrony will change the API :) and will not be longer compatible with ntpstat etc. > > If old ntp is installed, I think an upgrade should result in both new ntp > and ntpstat installed. Something like Enhances: ntpstat in ntp.spec? > If chrony is not installed, the upgrade should not > install chrony. Should be ok. > If neither chrony or ntp is installed, it would be nice if > installing ntpstat installed chrony as it is currently preferred over ntp, > but it probably does not really matter. Suggests: solves this -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx