Current guidelines https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Rich.2FBoolean_dependencies state rich dependencies are not allowed in Requires, yet dnf uses them:
# rpm -q --requires dnf-2.6.3-12.fc28 (python3-dbus if NetworkManager) [...]
I could not find any ticket allowing dnf to use it.
Hence my question is whether rich dependencies are allowed for Requires and the guide lines are out-dated or I missed something.
-- Petr
On 09/26/2017 12:44 AM, Petr Pisar wrote:
Current guidelines https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Rich.2FBoolean_dependencies state rich dependencies are not allowed in Requires, yet dnf uses them:
# rpm -q --requires dnf-2.6.3-12.fc28 (python3-dbus if NetworkManager) [...]
I could not find any ticket allowing dnf to use it.
Hence my question is whether rich dependencies are allowed for Requires and the guide lines are out-dated or I missed something.
The guidelines are correct and in force.
I asked Igor asked releng if he could add some to test rawhide releng tooling. So, we did so, and things look pretty good there. Unfortunately, we know for sure that bodhi's use of mash will break, so we could never push updates for them.
There is work ongoing to move bodhi to use pungi. If/when that work lands we can test that path out and if it looks good, remove the prohibition on it and start using them.
In the mean time since our testing is over, Igor has removed that in rawhide today.
Sorry for any confusion...
kevin
packaging@lists.fedoraproject.org