fix bug 197425

epel9
jvdias 19 years ago
parent 36cd192575
commit a720b898de

@ -0,0 +1,11 @@
--- Net-IP-1.25/IP.pm.bz197425 2006-05-22 12:46:40.000000000 -0400
+++ Net-IP-1.25/IP.pm 2006-07-05 15:20:26.000000000 -0400
@@ -410,7 +410,7 @@
my $int = ip_bintoint($self->binip());
- if (!$int) {
+ if (ref($int) ne "Math::BigInt") {
$self->{error} = $ERROR;
$self->{errno} = $ERRNO;
return;

@ -1,6 +1,6 @@
Name: perl-Net-IP
Version: 1.25
Release: 1.fc6
Release: 2.fc6
Summary: Perl module for manipulation of IPv4 and IPv6 addresses
Group: Development/Libraries
@ -13,6 +13,8 @@ BuildArch: noarch
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Patch0: perl-Net-IP-1.25-bz197425.patch
%description
This is the Net::IP module for Perl, designed to allow easy
manipulation of IPv4 and IPv6 addresses. Two applications using the
@ -24,7 +26,7 @@ handy IP "cheat sheet".
%prep
%setup -q -n Net-IP-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -57,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jul 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-2
- fix bug 197925 - make intip handle zero-valued IP addresses
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.25-1
- upgrade to 1.25

Loading…
Cancel
Save