[perl-CGI] Specify all dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit d18af6b473a59e9c0f8795ddaf3a3b0d890ea4c8
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Jun 1 10:04:08 2012 +0200

    Specify all dependencies

 perl-CGI.spec |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/perl-CGI.spec b/perl-CGI.spec
index 87b92fb..c8dcbc6 100644
--- a/perl-CGI.spec
+++ b/perl-CGI.spec
@@ -8,14 +8,26 @@ Source0:        http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI.pm-%{ve
 URL:            http://search.cpan.org/dist/CGI
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-requires:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(File::Spec) >= 0.82
 BuildRequires:  perl(FCGI) >= 0.67
-# Test
+# Apache modules are optional
+# Tests:
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More) >= 0.80
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(File::Spec) >= 0.82
+Requires:       perl(FCGI) >= 0.67
 Obsoletes:      %{name}-tests <= 3.49
 
 %{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((FCGI|File::Spec)\\)$
 
 %description
 CGI.pm is a stable, complete and mature solution for processing and preparing
@@ -60,6 +72,7 @@ make test
 %changelog
 * Fri Jun 01 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.51-6
 - Clean spec file
+- Specify all dependencies
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 3.51-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux