Bug 1418298
Summary: | source_name attribute contains NVR | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lubomír Sedlář <lsedlar> | ||||||
Component: | dnf | Assignee: | rpm-software-management | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 26 | CC: | jmracek, mmraka, packaging-team-maint, rpm-software-management, vmukhame | ||||||
Target Milestone: | --- | Keywords: | Triaged | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-04-24 17:54:06 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 1246653 [details]
Test specfile
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. It was released in dnf-2.1.0 into rawhide |
Created attachment 1246651 [details] list info about packages in repo Description of problem: The source_name attribute on a dnf.package.Package class should contain name of SRPM (according to documentation), but sometimes there is full NVR. This happens for subpackages with different version than the source package Version-Release number of selected component (if applicable): How reproducible: Always. Steps to Reproduce: 1. build the attached specfile 2. createrepo_c on the results 3. run attached reproducer.py script Actual results: Name: dummy Version: 0.1.0 Source Name: None Source Name: None Name: dummy Version: 0.1.0 Source Name: dummy Source Name: dummy-0.1.0-1.fc25.src.rpm Name: foo Version: 0.2.0 Source Name: dummy-0.1.0-1.fc25 Source Name: dummy-0.1.0-1.fc25.src.rpm Expected results: The foo subpackage should have source name set to dummy. Additional info: