Description of problem:
When trying to install a package depending on python-polib on a system that has newer version installed (python2-polib 1.0.7-2) DNF does not recognize the package and creates conflict.
Actual results:
Error: installed package python2-polib-1.0.7-2.fc23.noarch obsoletes python-polib < 1.0.7-2.fc23 provided by python-polib-1.0.3-6.fc23.noarch
(try to add '--allowerasing' to command line to replace conflicting packages)
Expected results:
dnf doesn't try to erase the newer package
Additional info:
$ rpm -q --provides python2-polib
python-polib = 1.0.7-3.fc24
python2-polib = 1.0.7-3.fc24
So this is either a problem in dnf or something wrong with the %python_provide macro.