[packages/perl-CGI] update test BR, use _noautoreq_perl

glen glen at pld-linux.org
Sat Feb 28 18:34:16 CET 2015


commit b50f79d5826fae032b54ed77f775ad1fcb1201ef
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Feb 28 19:34:10 2015 +0200

    update test BR, use _noautoreq_perl

 perl-CGI.spec | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/perl-CGI.spec b/perl-CGI.spec
index 84d9d47..6a2b705 100644
--- a/perl-CGI.spec
+++ b/perl-CGI.spec
@@ -1,9 +1,9 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	CGI
+%include	/usr/lib/rpm/macros.perl
 Summary:	CGI Perl module - simple CGI interface class
 Summary(pl.UTF-8):	Moduł Perla CGI - prosta klasa interfejsu do CGI
 Name:		perl-CGI
@@ -19,16 +19,21 @@ URL:		http://search.cpan.org/dist/CGI.pm/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.3-0.20030610.20.2
 BuildRequires:	sed >= 4.0
+BuildRequires:    rpmbuild(macros) >= 1.654
 %if %{with tests}
 BuildRequires:	perl(File::Spec) >= 0.82
 BuildRequires:	perl-Encode
 BuildRequires:	perl-FCGI >= 0.67
+BuildRequires:	perl-HTML-Parser
+BuildRequires:	perl-Test-Deep
+BuildRequires:	perl-Test-NoWarnings
 BuildRequires:	perl-Test-Simple >= 0.98
+BuildRequires:	perl-Test-Warn
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	perl(FCGI)
+%define		_noautoreq_perl	FCGI
 
 %description
 CGI is an easy-to-use Perl5 library for writing World Wide Web CGI
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-CGI.git/commitdiff/b50f79d5826fae032b54ed77f775ad1fcb1201ef



More information about the pld-cvs-commit mailing list