<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>10818</bug_id>
          
          <creation_ts>2007-02-10 14:25:36 +0300</creation_ts>
          <short_desc>rpmvercmp does not compare version with epoch properly</short_desc>
          <delta_ts>2007-02-12 11:40:57 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="viy">viy</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45238</commentid>
    <comment_count>0</comment_count>
    <who name="viy">viy</who>
    <bug_when>2007-02-10 14:25:36 +0300</bug_when>
    <thetext>rpmvercmp does not compare version with epoch properly:
[viy@hasher32 ~]$ rpm -q rpm
rpm-4.0.4-alt72
[viy@hasher32 ~]$ rpmvercmp  a2 a1
1
[viy@hasher32 ~]$ rpmvercmp  a2 0:a1
1
### should be -1
[viy@hasher32 ~]$ rpmvercmp  a2 3:a1
1
### should be 0
[viy@hasher32 ~]$ rpmvercmp  a2 0:a2
1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45239</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2007-02-10 14:29:32 +0300</bug_when>
    <thetext>use rpmevrcmp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45272</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2007-02-12 11:37:43 +0300</bug_when>
    <thetext>вопрос  отпал.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45278</commentid>
    <comment_count>3</comment_count>
    <who name="viy">viy</who>
    <bug_when>2007-02-12 11:40:57 +0300</bug_when>
    <thetext>bug is closed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>