Fix incorrect ip address parsing

Resolves: #1961867
This commit is contained in:
Pavel Zhukov 2021-05-19 08:31:20 +02:00
parent 146dd093f3
commit aecaa3ff13
3 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
Net-CIDR-Lite-0.20.tar.gz
/Net-CIDR-Lite-0.21.tar.gz
/Net-CIDR-Lite-0.22.tar.gz

View File

@ -1,6 +1,6 @@
Name: perl-Net-CIDR-Lite
Version: 0.21
Release: 31%{?dist}
Version: 0.22
Release: 1%{?dist}
Summary: Perl extension for merging IPv4 or IPv6 CIDR addresses
License: GPL+ or Artistic
URL: https://metacpan.org/release/Net-CIDR-Lite
@ -25,12 +25,13 @@ BuildRequires: perl(Test::Pod::Coverage)
# Explicit Requirements
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Faster alternative to Net::CIDR when merging a large number of CIDR address
ranges. Works for IPv4 and IPv6 addresses.
%prep
%setup -q -n Net-CIDR-Lite-%{version}
%autosetup -p1 -n Net-CIDR-Lite-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@ -49,6 +50,9 @@ make test
%{_mandir}/man3/Net::CIDR::Lite.3*
%changelog
* Wed May 19 2021 Pavel Zhukov <pzhukov@redhat.com> - 0.22-1
- New version 0.22- fix for incorrect ip address handling
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.21-31
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937

View File

@ -1 +1 @@
12280b3754886b876918f03f53aee4f5 Net-CIDR-Lite-0.21.tar.gz
SHA512 (Net-CIDR-Lite-0.22.tar.gz) = 5d89c0b6d950e5cb4c7eb9639829d76a67373865f5582f61d3e384636b176ac08335a9210d05a53c54105fecfb8ec98ae115cba3d181aed3032370d50f3aec9f