Bug 1583052 - Autogenerated provides are not populated
Summary: Autogenerated provides are not populated
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-rpm-generators
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Orsava
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-28 07:43 UTC by Pavel Zhukov
Modified: 2018-05-28 08:08 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-28 08:08:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Zhukov 2018-05-28 07:43:33 UTC
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:

Comment 1 Miro Hrončok 2018-05-28 08:08:10 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.