diff options
author | Elan Ruusamäe | 2015-02-28 17:34:10 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2015-02-28 17:34:10 (GMT) |
commit | b50f79d5826fae032b54ed77f775ad1fcb1201ef (patch) | |
tree | 7458cc144b7a2c4f99df86d6cc4fd6fbb4ddb8cf | |
parent | 37390be7d3ae7521741604b1f76fb19bae833c74 (diff) | |
download | perl-CGI-b50f79d5826fae032b54ed77f775ad1fcb1201ef.zip perl-CGI-b50f79d5826fae032b54ed77f775ad1fcb1201ef.tar.gz |
update test BR, use _noautoreq_perl
-rw-r--r-- | perl-CGI.spec | 11 |
1 files 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 |