Bug 13346 - rpm: package name not right for some packages
Summary: rpm: package name not right for some packages
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.8
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.8
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-05-13 08:34 UTC by Changqing Li
Modified: 2019-05-16 14:45 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Changqing Li 2019-05-13 08:34:35 UTC
For example: 

tmp/deploy/rpm/i586$ rpm -qp --qf "%{name}\n" libestr0-0.1.11-r0.i586.rpm
libestr0

tmp/deploy/rpm/i586$ rpm -qp --qf "%{name}\n" libsdl2-2.0-0-2.0.9-r0.i586.rpm
libsdl2-2.0-0


Expected Result are:
libestr

libsdl2
Comment 1 Changqing Li 2019-05-13 09:30:39 UTC
another example:

/tmp/deploy/rpm/i586$ rpm -qp --qf "%{name}\n"  liblzo2-staticdev-2.10-r0.i586.rpm
liblzo2-staticdev


expect results:
lzo-staticdev
Comment 2 Richard Purdie 2019-05-16 14:45:40 UTC
These are actually correct, these are the names OE uses for these packages. The numbers come from debian.bbclass which renames packages to include some version information.