commit 87f1f4dbdef81cebc7cdcb1f9823515156023cc8 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Nov 29 10:52:24 2012 +0100 Enable tests perl-Net-IP.spec | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) --- diff --git a/perl-Net-IP.spec b/perl-Net-IP.spec index 7295faa..f25e80e 100644 --- a/perl-Net-IP.spec +++ b/perl-Net-IP.spec @@ -12,7 +12,13 @@ Source: http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{version}.tar.g Patch0: perl-Net-IP-1.25-bz197425.patch BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Exporter) +BuildRequires: perl(Math::BigInt) +# Tests: +BuildRequires: perl(lib) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Not yet packaged: IP::Authority %description This is the Net::IP module for Perl, designed to allow easy @@ -22,7 +28,6 @@ it can calculate the number of IP addresses in a prefix or all the prefixes contained in a given range; and iptab, which prints out a handy IP "cheat sheet". - %prep %setup -q -n Net-IP-%{version} %patch0 -p1 @@ -36,13 +41,8 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' chmod -R u+w $RPM_BUILD_ROOT/* - %check -# These tests fail on ppc builders because of: -# http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114 -# Re-enable this when the upstream bug is resolved. -# make test - +make test %files %doc COPYING Changes README -- 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