Enable tests

epel9
Petr Písař 12 years ago
parent db5b448659
commit 87f1f4dbde

@ -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 Patch0: perl-Net-IP-1.25-bz197425.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) 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)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Not yet packaged: IP::Authority
%description %description
This is the Net::IP module for Perl, designed to allow easy 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 prefixes contained in a given range; and iptab, which prints out a
handy IP "cheat sheet". handy IP "cheat sheet".
%prep %prep
%setup -q -n Net-IP-%{version} %setup -q -n Net-IP-%{version}
%patch0 -p1 %patch0 -p1
@ -36,13 +41,8 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w $RPM_BUILD_ROOT/* chmod -R u+w $RPM_BUILD_ROOT/*
%check %check
# These tests fail on ppc builders because of: make test
# http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
# Re-enable this when the upstream bug is resolved.
# make test
%files %files
%doc COPYING Changes README %doc COPYING Changes README

Loading…
Cancel
Save