commit 860b75ae89c0ddf000ad0348359ab696025331aa Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Jun 19 11:13:46 2012 +0200 Specify all dependencies perl-Makefile-DOM.spec | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) --- diff --git a/perl-Makefile-DOM.spec b/perl-Makefile-DOM.spec index 66b0e45..4ed26f3 100644 --- a/perl-Makefile-DOM.spec +++ b/perl-Makefile-DOM.spec @@ -7,16 +7,26 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/Makefile-DOM/ Source0: http://www.cpan.org/authors/id/A/AG/AGENT/Makefile-DOM-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(lib) +# Run-time +BuildRequires: perl(base) +BuildRequires: perl(Carp) BuildRequires: perl(Clone) >= 0.18 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Exporter) BuildRequires: perl(List::MoreUtils) >= 0.21 BuildRequires: perl(Params::Util) >= 0.22 -BuildRequires: perl(CPAN) -BuildRequires: perl(ExtUtils::Embed) -BuildRequires: perl(Test::Harness) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Text::Balanced) +# Tests +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IPC::Run3) +BuildRequires: perl(Spiffy) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(Test::Base) +BuildRequires: perl(Test::Base::Filter) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Simple) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -35,6 +45,9 @@ HTML source. # Optional POD tests do not pass because of poor documentation (CPAN RT #77897) rm -r t/pod-coverage.t sed -i -e '/^t\/pod-coverage.t$/d' MANIFEST +# Remove bundled modules +rm -rf inc +sed -i -e '/^inc$/d' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -58,6 +71,7 @@ make test * Tue Jun 19 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.006-3 - Perl 5.16 rebuild - Do not run POD tests +- Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.006-2 - 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