>From c2669202237c7635e9690595ab0875c21e74c979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Mon, 11 Jan 2016 09:43:23 +0100 Subject: Specify all dependencies
--- perl-CGI-Compile.spec | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/perl-CGI-Compile.spec b/perl-CGI-Compile.spec index 325ba97..72ad34a 100644 --- a/perl-CGI-Compile.spec +++ b/perl-CGI-Compile.spec @@ -1,7 +1,7 @@ Name: perl-CGI-Compile Summary: Compile .cgi scripts to a code reference like ModPerl::Registry Version: 0.21 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL+ or Artistic Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Compile-%{version}.tar.gz @@ -9,15 +9,33 @@ URL: http://search.cpan.org/dist/CGI-Compile Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch -BuildRequires: perl(CGI) -BuildRequires: perl(CGI::Emulate::PSGI) +BuildRequires: perl +BuildRequires: perl(Module::Build::Tiny) >= 0.034 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: sed +# Run-time: +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Path) BuildRequires: perl(File::pushd) -BuildRequires: perl(Module::Build::Tiny) -BuildRequires: perl(Plack::Test) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +# Tests: +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(lib) BuildRequires: perl(Switch) BuildRequires: perl(Test::More) BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(Test::Requires) +# Optional tests: +BuildRequires: perl(CGI) +BuildRequires: perl(CGI::Emulate::PSGI) +BuildRequires: perl(HTTP::Request::Common) +BuildRequires: perl(Plack::Test) +# Test::Pod 1.41 not used %{?perl_default_filter} @@ -50,6 +68,9 @@ sed -i -e '1s,#!.*perl,#!%{__perl},' t/*.t %{_mandir}/man3/*.3* %changelog +* Mon Jan 11 2016 Petr Pisar <ppi...@redhat.com> - 0.21-2 +- Specify all dependencies + * Sat Jan 02 2016 Emmanuel Seyman <emman...@seyman.fr> - 0.21-1 - Update to 0.21 -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-CGI-Compile.git/commit/?h=master&id=c2669202237c7635e9690595ab0875c21e74c979 -- 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