Description of problem: Some of python rpms (I've found python-dns so far) don't provide python3dist() as the result mock build is failed. Version-Release number of selected component (if applicable): python3-rpm-generators-5-1.fc28.noarch How reproducible: 100% Steps to Reproduce: 1. Build python-dns 2. Check provides Actual results: $ rpm -qpR python3-dns-1.15.0-8.fc28.noarch.rpm python(abi) = 3.6 python3-crypto rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 $ rpm -qpP python3-falcon-1.4.1-2.fc28.x86_64.rpm python3-falcon = 1.4.1-2.fc28 python3-falcon(x86-64) = 1.4.1-2.fc28 python3.6dist(falcon) = 1.4.1 python3dist(falcon) = 1.4.1 Expected results: python3dist(dns) = 1.15.0 Additional info:
Actually, python3-dnf provides python3dist(dnspython): $ rpm -qp --provides ./python3-dns-1.15.0-8.fc28.noarch.rpm python3-dns = 1.15.0-8.fc28 python3.6dist(dnspython) = 1.15.0 python3dist(dnspython) = 1.15.0 Your reproducer show requires. Also, it's not python3dist(dns) because the Python package is called dnspython, not dns. The Fedora package maintainer here probably went a bit creative when naming it python-dnf (12 years ago).