[packages/perl-Perl-Critic] - perl-B-Keywords and perl-List-MoreUtils are required for build not, for tests only

adamg adamg at pld-linux.org
Mon Nov 19 14:38:24 CET 2018


commit a6d891c375c0638b25a8322328deaefd0455b412
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Mon Nov 19 14:38:16 2018 +0100

    - perl-B-Keywords and perl-List-MoreUtils are required for build not, for tests only

 perl-Perl-Critic.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec
index 19c0033..f5facda 100644
--- a/perl-Perl-Critic.spec
+++ b/perl-Perl-Critic.spec
@@ -16,17 +16,17 @@ Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Perl/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	c5c698baa7fd373ea893ff39f29ed7b9
 URL:		http://search.cpan.org/dist/Perl-Critic/
+BuildRequires:	perl-B-Keywords >= 1.05
+BuildRequires:	perl-List-MoreUtils >= 0.19
 BuildRequires:	perl-Module-Build >= 0.4200
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires:	perl(Exporter) >= 5.63
-BuildRequires:	perl-B-Keywords >= 1.05
 BuildRequires:	perl-Config-Tiny >= 2
 BuildRequires:	perl-Email-Address >= 1.889
 BuildRequires:	perl-Exception-Class >= 1.23
 BuildRequires:	perl-IO-String
-BuildRequires:	perl-List-MoreUtils >= 0.19
 BuildRequires:	perl-Module-Pluggable >= 3.1
 BuildRequires:	perl-PPI >= 1.220
 BuildRequires:	perl-PPIx-Regexp >= 0.027
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Perl-Critic.git/commitdiff/a6d891c375c0638b25a8322328deaefd0455b412



More information about the pld-cvs-commit mailing list