<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13346</bug_id>
          
          <creation_ts>2019-05-13 08:34:35 +0000</creation_ts>
          <short_desc>rpm: package name not right for some packages</short_desc>
          <delta_ts>2019-05-16 14:45:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Changqing Li">changqing.li</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83792</commentid>
    <comment_count>0</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2019-05-13 08:34:35 +0000</bug_when>
    <thetext>For example: 

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

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


Expected Result are:
libestr

libsdl2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83793</commentid>
    <comment_count>1</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2019-05-13 09:30:39 +0000</bug_when>
    <thetext>another example:

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


expect results:
lzo-staticdev</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83824</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-05-16 14:45:40 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>