Name: perl-Net-CIDR Version: 0.20 Release: 1%{?dist} Summary: Manipulate IPv4/IPv6 netblocks in CIDR notation License: GPL+ or Artistic URL: https://metacpan.org/release/Net-CIDR Source0: https://cpan.metacpan.org/modules/by-module/Net/Net-CIDR-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(Exporter) # Test Suite # (no additional dependencies) # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description The Net::CIDR package contains functions that manipulate lists of IP netblocks expressed in CIDR notation. The Net::CIDR functions handle both IPv4 and IPv6 addresses. %prep %setup -q -n Net-CIDR-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check make test %files %if 0%{?_licensedir:1} %license COPYING %else %doc COPYING %endif %doc ChangeLog README %{perl_vendorlib}/Net/ %{_mandir}/man3/Net::CIDR.3* %changelog * Wed Apr 17 2019 Paul Howarth - 0.20-1 - Update to 0.20 - _ipcmp: Handle comparison of mixed IPv4 and IPv6-specified addresses, allowing cidrlookup() to look up IPv6-mapped IPv4 addresses in IPv4 address ranges, and vice versa * Tue Jun 12 2018 Paul Howarth - 0.19-1 - Update to 0.19 - Fix cidrvalidate() checking of IPv6 addresses with a 0 word - Move test.pl to t/ - Update documentation to use only reserved IP addresses * Fri May 6 2016 Paul Howarth - 0.18-1 - Update to 0.18 - Leading 0s in IPv6 addresses are ok - Simplify find command using -delete * Mon Nov 17 2014 Paul Howarth - 0.17-6 - Use %%license where possible - Classify buildreqs by usage * Wed Aug 27 2014 Jitka Plesnikova - 0.17-5 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.17-2 - Perl 5.18 rebuild * Sun Jun 09 2013 Emmanuel Seyman - 0.17-1 - Update to 0.17 - Add perl default filter - Remove no-longer-used macros * Thu Feb 14 2013 Fedora Release Engineering - 0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 07 2012 Petr Pisar - 0.15-2 - Perl 5.16 rebuild * Sun Apr 22 2012 Nicolas Chauvet - 0.15-1 - Update to 0.15 * Fri Jan 13 2012 Fedora Release Engineering - 0.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jun 15 2011 Marcela Mašláňová - 0.14-4 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 0.14-2 - Rebuild to fix problems with vendorarch/lib (#661697) * Thu Jul 01 2010 Nicolas Chauvet - 0.14-1 - Update to 0.14 * Tue May 04 2010 Marcela Maslanova - 0.13-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.13-3 - rebuild against perl 5.10.1 * Mon Nov 9 2009 Nicolas Chauvet - 0.13-2 - Fix License tag - Remove Net-CIDR.spec from %%doc - List files more explicitely * Fri Sep 25 2009 Nicolas Chauvet - 0.13-1 - Specfile autogenerated by cpanspec 1.78.