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(a)freenet.de
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: lxtnow(a)gmail.com, perl-devel(a)lists.fedoraproject.org,
rc040203(a)freenet.de, tcallawa(a)redhat.com,
tremble(a)tremble.org.uk
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}...
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.