Description of problem: python-pyasn1 package was updated yesterday[1]. The update changed package names to: python2-pyasn1-0.1.9-3.fc24.noarch.rpm python2-pyasn1-modules-0.1.9-3.fc24.noarch.rpm python3-pyasn1-0.1.9-3.fc24.noarch.rpm python3-pyasn1-modules-0.1.9-3.fc24.noarch.rpm [1] http://koji.fedoraproject.org/koji/buildinfo?buildID=708994 Following dependencies of python ldap needs to be updated: Requires: python-pyasn1, python-pyasn1-modules Version-Release number of selected component (if applicable): python-ldap-2.4.17-2.fc23.x86_64
The py2 package should have: %{?python_provide:%python_provide python2-%{srcname}} and the py3 one should have %{?python_provide:%python_provide python3-%{srcname}} This will make one of those (the py2 currently) provide python-%{srcname}. Same for %{srcname}-modules. Python packaging guidelines: https://fedoraproject.org/wiki/Packaging:Python
Rob, please fix python-pyasn1 package to conform to Python packaging guidelines. The alternative is to fix all other packages which is a lot more work. Thank you!
Right, I rather think python-pyasn1-modules is having wrong provides: http://koji.fedoraproject.org/koji/rpminfo?rpmID=7157964 The macro is there, there is just a typo. Moving to python-pyasn1.
Created attachment 1111795 [details] Spec patch fixing the provides This one worked in my scratch build.
Thanks Martin. Should be fixed now. $ rpm -qp --provides /home/rcrit/redhat/fedoragit/python-pyasn1/results_python-pyasn1/0.1.9/4.fc24/python2-pyasn1-0.1.9-4.fc24.noarch.rpm python-pyasn1 = 0.1.9-4.fc24 python-pyasn1(x86-64) = 0.1.9-4.fc24 python2-pyasn1 = 0.1.9-4.fc24 $ rpm -qp --provides /home/rcrit/redhat/fedoragit/python-pyasn1/results_python-pyasn1/0.1.9/4.fc24/python2-pyasn1-modules-0.1.9-4.fc24.noarch.rpm python-pyasn1-modules = 0.1.9-4.fc24 python-pyasn1-modules(x86-64) = 0.1.9-4.fc24 python2-pyasn1-modules = 0.1.9-4.fc24