[Bug 711472] New: perl-Data-Compare misses perl(Find::File::Rule) dependency

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

 



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

Summary: perl-Data-Compare misses perl(Find::File::Rule) dependency

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

           Summary: perl-Data-Compare misses perl(Find::File::Rule)
                    dependency
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-Data-Compare
        AssignedTo: tcallawa@xxxxxxxxxx
        ReportedBy: ppisar@xxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: tcallawa@xxxxxxxxxx, fedora-perl-devel-list@xxxxxxxxxx
    Classification: Fedora
      Story Points: ---


While using Data::Compare Perl module, I get following error:

Can't locate object method "file" via package "File::Find::Rule" (perhaps you
forgot to load "File::Find::Rule"?) at
/usr/share/perl5/vendor_perl/Data/Compare.pm line 37.

and indeed Compare.pm contains:

sub register_plugins {
    eval 'use File::Find::Rule';
    foreach my $file (
        File::Find::Rule
            ->file()
            ->name('*.pm')
            ->in(
            map { "$_/Data/Compare/Plugins" }
            grep { -d "$_/Data/Compare/Plugins" }
            @INC
[...]

but perl(File::Find::Rule) is not required by
perl-Data-Compare-1.21-7.fc16.noarch.rpm.

I propose to add perl(File::Find::Rule) to Requires set.

The same bug could present on older Fedoras too.

-- 
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.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux