[perl-Perl4-CoreLibs] Do not build-require File::Find, Socket, and warnings::register
Petr Pisar
ppisar at fedoraproject.org
Fri Feb 20 16:13:10 UTC 2015
commit c6bffdb8cd2f780e87eec6f090624d531e07dafc
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Feb 20 17:10:00 2015 +0100
Do not build-require File::Find, Socket, and warnings::register
perl-Perl4-CoreLibs.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/perl-Perl4-CoreLibs.spec b/perl-Perl4-CoreLibs.spec
index 5efac38..dc8b2c9 100644
--- a/perl-Perl4-CoreLibs.spec
+++ b/perl-Perl4-CoreLibs.spec
@@ -12,14 +12,14 @@ BuildRequires: perl(Module::Build) >= 0.26
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
-BuildRequires: perl(File::Find)
+# File::Find not used at tests
BuildRequires: perl(IPC::Open2)
BuildRequires: perl(IPC::Open3)
# Prefer Socket over socket.ph
-BuildRequires: perl(Socket)
+# Socket not used at tests
BuildRequires: perl(Text::ParseWords) >= 3.25
BuildRequires: perl(Time::Local)
-BuildRequires: perl(warnings::register)
+# warnings::register not used at tests
# Tests:
BuildRequires: perl(Config)
BuildRequires: perl(IO::Handle)
@@ -99,3 +99,5 @@ perl Build.PL installdirs=vendor
%changelog
* Thu Feb 19 2015 Petr Pisar <ppisar at redhat.com> 0.003-1
- Specfile autogenerated by cpanspec 1.78.
+- Do not build-require File::Find, Socket, and warnings::register which are
+ not exercised by tests
More information about the perl-devel
mailing list