Bug 1585589 - RPM returns wrong version in changelog
Summary: RPM returns wrong version in changelog
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-04 07:32 UTC by Lubomír Sedlář
Modified: 2018-06-05 06:03 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-05 06:03:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lubomír Sedlář 2018-06-04 07:32:16 UTC
Description of problem:
Getting changelog from source RPM sometimes returns something else than what is in spec file.

Version-Release number of selected component (if applicable):
rpm-4.14.1-1.fc27.x86_64

How reproducible:
On this particular SRPM always.

Steps to Reproduce:
1. Download SRPM from https://koji.fedoraproject.org/koji/buildinfo?buildID=1078095
2. Run rpm -qp Singular-4.1.0p3-9.fc29.src.rpm --changelogs | head -n1

Actual results:
* Tue May 01 2018 Jonathan Wakely <jwakely> - -9

Expected results:
* Tue May 01 2018 Jonathan Wakely <jwakely> - 4.1.0p3-9

Comment 1 Panu Matilainen 2018-06-05 06:03:18 UTC
Extract the spec from the src.rpm and you'll see that for that particular version, that's exactly what was in the spec. Which you can also see here:
https://src.fedoraproject.org/rpms/Singular/c/345216b6d220694fdca4a0bb219014aabdbee995?branch=master


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