[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Bug 456357] New: rpm: perl.prov fails to detect $VERSION correctly on multiple assignments



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/show_bug.cgi?id=456357

           Summary: rpm: perl.prov fails to detect $VERSION correctly on
                    multiple assignments
           Product: Fedora
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: rpm
        AssignedTo: pmatilai redhat com
        ReportedBy: cweyl alumni drew edu
         QAContact: extras-qa fedoraproject org
                CC: fedora-perl-devel-
                    list redhat com,jnovy redhat com,pauln truemesh com


Description of problem:
When $VERSION is set twice inside the same package, the latest definition prevails.

Version-Release number of selected component (if applicable):
rpm-4.4.2.3-2.fc9.x86_64

How reproducible:
Package DateTime-Format-DBI :)  (see bug 455788)

Lines 10 and 11 of lib/DateTime/Format/DBI.pm are:
$VERSION = '0.031';
$VERSION = $VERSION + 0.0;

Note that perl.prov finds the version as "0.0".

  
Actual results:
====> provides for perl-DateTime-Format-DBI-0.031-1.fc9.noarch.rpm
perl(DateTime::Format::DBI) = 0.0
perl-DateTime-Format-DBI = 0.031-1.fc9


Expected results:
====> provides for perl-DateTime-Format-DBI-0.031-1.fc9.noarch.rpm
perl(DateTime::Format::DBI) = 0.031
perl-DateTime-Format-DBI = 0.031-1.fc9

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]