[Bug 1558427] New: Useless dependency on perl(Path::Iter) prevents from bootstrapping Perl packages

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

 



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

            Bug ID: 1558427
           Summary: Useless dependency on perl(Path::Iter) prevents from
                    bootstrapping Perl packages
           Product: Fedora
           Version: rawhide
         Component: perl-File-Copy-Recursive
          Assignee: rc040203@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: lxtnow@xxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    rc040203@xxxxxxxxxx, tcallawa@xxxxxxxxxx,
                    tremble@xxxxxxxxxxxxxx



Created attachment 1410289
  --> https://bugzilla.redhat.com/attachment.cgi?id=1410289&action=edit
The build cycle

File-Copy-Recursive-0.40 removed dependency on Path::Iter, but it's still
written in spec file. This unneeded dependency prevents from building Perl
packages from scratch because it creates a build-cycle. See the attached image.

Please remove `perl(Path::Iter)' build-requirement from
perl-File-Copy-Recursive.spec.

When I was investigating this issue, I found out that some used Perl modules
are not listed in the spec file. Please consider applying this patch:

diff --git a/perl-File-Copy-Recursive.spec b/perl-File-Copy-Recursive.spec
index 62bdec2..447e6a3 100644
--- a/perl-File-Copy-Recursive.spec
+++ b/perl-File-Copy-Recursive.spec
@@ -6,6 +6,7 @@ License:     GPL+ or Artistic
 URL:         http://search.cpan.org/dist/File-Copy-Recursive/
 Source0:    
http://www.cpan.org/modules/by-module/File/File-Copy-Recursive-%{version}.tar.gz
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+Requires:  perl(File::Glob)
 BuildArch: noarch

 BuildRequires:  %{__perl}
@@ -13,11 +14,17 @@ BuildRequires:  %{__make}

 BuildRequires:  perl-generators
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Glob)
 BuildRequires:    perl(File::Spec)
-BuildRequires:  perl(Path::Iter)
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Path::Tiny)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 BuildRequires:  perl(Test::Deep)
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::File)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[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