-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Thu, 2017-04-06 at 12:04 +0000, Vascom wrote: > As maintainer you should make your choice between this two variants. Not for runtime requires. I have good example from DNF: Since some version of DNF it can disable "makecache service" if you are connected through "metered" connection. Way how it finds out is via dbus accessing NetworkManager objects. Which turns out that if NM is not installed, installing python-dbus is useless. So, we have Recommends: (python-dbus if NetworkManager) > > For example: if some program can be compiled with Qt4 or Qt5 and you > add > BR: (Qt4 or Qt5) then this program will compiled with old version of > Qt. 1. Don't mix BuildRequires and Requires 2. Don't use qt4 vs qt5 as example, it is very bad one P.S. is top-posting + HTML standard nowadays in this mailing list? > > чт, 6 апр. 2017 г. в 14:44, Richard W.M. Jones <rjones@xxxxxxxxxx>: > > > I have a package which needs GNU Privacy Guard (GPG) at > > runtime. It > > can either run gpg (v1) or gpg2, as it uses a subset of the > > features > > supported by both, and the program searches for both binaries. > > > > The natural way to express this as an RPM dependency would be: > > > > Requires: (gnupg or gnupg2) > > > > Unfortunately this is forbidden by the packaging rules: > > > > > > https://fedoraproject.org/wiki/Packaging:Guidelines#Rich.2FBoolean_ > > dependencies > > > > (BTW the link in that section is wrong - it should go to: > > http://rpm.org/user_doc/boolean_dependencies.html ) > > > > This admonition was added in: > > > > > > https://fedoraproject.org/w/index.php?title=Packaging:Guidelines&di > > ff=prev&oldid=441810 > > > > What's not explained is why, except that it "causes issues with the > > package updates process". It seems as if the or-rule above would > > be > > simple enough, so what's the exact problem? > > > > Rich. > > > > -- > > Richard Jones, Virtualization Group, Red Hat > > http://people.redhat.com/~rjones > > Read my programming and virtualization blog: http://rwmj.wordpress. > > com > > virt-df lists disk usage of guests without needing to install any > > software inside the virtual machine. Supports Linux and Windows. > > http://people.redhat.com/~rjones/virt-df/ > > _______________________________________________ > > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > > > > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx - -- - -Igor Gnatenko -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAljmM+QACgkQaVcUvRu8 X0xp9w/+Oc3PIQNJ9FOvf25EVVwzRhze9zvjw0fAdQ13YRz/5dC5B34swd7ZpHgJ +9vwJCqGg1+g56JElYe/haRPAqG1/bL85Rl6QUInwJs6yoXbIFCkKRQZReX8HYiy oILmcszZ2b3D/59vUuxaIbTTykQYnAd3joeJCdD82+ZWPs8OlePkFnxm8gZOhByw 8FbWH6+T1VGzCNuyjIcjP0KdhbqTI/ELJVj6C79QEezpMtRVvvilsIEQdi3euUZ1 8lv+U3MlZMBwUosd/1eC8sUdG/Qb1457ieO9ontCG+jtorLvCj9m6nV7ZUGkgR+x kuDcrC7RQMpVpMdeQqljHnuSloEsecY4fvvPF1v4wdVHto/ihDezQE080zfnT3AH eTX1ixxAWCPuqDQxe/gYVOLswCQOSwG207lxfbvz5YhP1hSLHWmBY/+iIo/1jgeO 7VcDJzr1+K4HwuCMsCA5sp2yV2VK7UfHmzjZO5i+GIR59g7p9mjwCbZR5ddSypkL Pj10xrBGjbAX1dMOGQ+jKrrGP5uYgA8QyGo6blwJ+5rUsq/uCDdRHyQb9+YTk6Uw 7i78NihnkffJ7KagA163J+wPMUv7JJqAHVaANm5zdBYPiNFDpWJOYxzrtnaZ0POn a+etsdAy8sjAx4hpNvaF7sQbr46Xz6jwE2HlLxYtIl10UoEgWik= =tVuf -----END PGP SIGNATURE----- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx