>From 36cf6c0436c1dd96c1d9316a619198866eca6a8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 15 Dec 2015 09:43:28 +0100
Subject: Require make package

CPAN client executes make program when a distribution is driven by
ExtUtils::MakeMaker.
---
 perl-CPAN.spec | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/perl-CPAN.spec b/perl-CPAN.spec
index 5db8f04..2e07f20 100644
--- a/perl-CPAN.spec
+++ b/perl-CPAN.spec
@@ -1,6 +1,6 @@
 Name:           perl-CPAN
 Version:        2.05
-Release:        309%{?dist}
+Release:        310%{?dist}
 Summary:        Query, download and build perl modules from CPAN sites
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -11,6 +11,9 @@ Patch0:         
CPAN-2.05-Attemp-to-create-site-library-directories-on-first-t.p
 # Change configuration directory name
 Patch1:         
CPAN-2.05-Replace-configuration-direcotory-string-with-a-marke.patch
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -18,6 +21,7 @@ BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(File::Path)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(vars)
+BuildRequires:  sed
 # Optional:
 BuildRequires:  perl(File::Spec)
 %if !%{defined perl_bootstrap}
@@ -113,6 +117,7 @@ BuildRequires:  perl(Test::Pod::Coverage) >= 0.18
 BuildRequires:  perl(YAML) >= 0.60
 %endif
 
+Requires:       make
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Archive::Tar) >= 1.50
 Requires:       perl(CPAN::Meta::Requirements) >= 2.121
@@ -200,6 +205,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Dec 15 2015 Petr Pisar <ppi...@redhat.com> - 2.05-310
+- Require make package
+
 * Wed Jan 28 2015 Petr Pisar <ppi...@redhat.com> - 2.05-309
 - Allow changing the configuration directory name
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-CPAN.git/commit/?h=f22&id=36cf6c0436c1dd96c1d9316a619198866eca6a8a
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to