Update to 4.077

- New upstream release 4.077
  - Added method is_local() to Lite.pm
  - Fix Util/Makefile.PL to work around bug in Android's sh
  - Add method full6m()
  - Fix Util/Makefile.PL issue with clang compiler (CPAN RT#86831)
- Classify buildreqs by usage
- Use %license where possible
This commit is contained in:
Paul Howarth 2015-08-14 15:33:10 +01:00
parent d52c118da2
commit 1ee1947d66
2 changed files with 48 additions and 16 deletions

View File

@ -1,6 +1,6 @@
Name: perl-NetAddr-IP
Version: 4.075
Release: 5%{?dist}
Version: 4.077
Release: 1%{?dist}
Summary: Manages IPv4 and IPv6 addresses and subnets
# Lite/Util/Util.xs is GPLv2+
# Other files are (GPLv2+ or Artistic clarified)
@ -8,21 +8,38 @@ License: GPLv2+ and (GPLv2+ or Artistic clarified)
Group: Development/Libraries
URL: http://search.cpan.org/dist/NetAddr-IP/
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-%{version}.tar.gz
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Pod::Text)
# Module Runtime
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(Pod::Text)
BuildRequires: perl(Test::More)
BuildRequires: perl(overload)
BuildRequires: perl(Socket)
BuildRequires: perl(Socket6)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Storable)
BuildRequires: perl(Test::More)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Math::BigInt)
Requires: perl(Socket6)
# Don't "provide" private Perl libs or redundant unversioned provides
%global __provides_exclude ^(perl\\(NetAddr::IP(::(InetBase|Util(PP)?))?\\)$|Util\\.so)
@ -35,7 +52,7 @@ or IP subnets, that allows for easy manipulations.
%setup -q -n NetAddr-IP-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
CC=gcc perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
@ -48,16 +65,31 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
make test
%files
%doc About-NetAddr-IP.txt Artistic Changes Copying TODO docs/rfc1884.txt
%if 0%{?_licensedir:1}
%license Artistic Copying
%else
%doc Artistic Copying
%endif
%doc About-NetAddr-IP.txt Changes TODO docs/rfc1884.txt
%{perl_vendorarch}/auto/NetAddr/
%{perl_vendorarch}/NetAddr/
%{_mandir}/man3/NetAddr::IP.3pm*
%{_mandir}/man3/NetAddr::IP::InetBase.3pm*
%{_mandir}/man3/NetAddr::IP::Lite.3pm*
%{_mandir}/man3/NetAddr::IP::Util.3pm*
%{_mandir}/man3/NetAddr::IP::UtilPP.3pm*
%{_mandir}/man3/NetAddr::IP.3*
%{_mandir}/man3/NetAddr::IP::InetBase.3*
%{_mandir}/man3/NetAddr::IP::Lite.3*
%{_mandir}/man3/NetAddr::IP::Util.3*
%{_mandir}/man3/NetAddr::IP::UtilPP.3*
%changelog
* Fri Aug 14 2015 Paul Howarth <paul@city-fan.org> - 4.077-1
- Update to 4.077
- Added method is_local() to Lite.pm
- Fix Util/Makefile.PL to work around bug in Android's sh
- Add method full6m()
- Fix Util/Makefile.PL issue with clang compiler (CPAN RT#86831)
- Classify buildreqs by usage
- Use %%license where possible
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.075-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
b72b91ebd228b096fd3b0acc87df877e NetAddr-IP-4.075.tar.gz
db52dcb07cb2c4fcd72e37a1930f6590 NetAddr-IP-4.077.tar.gz