8
0

Updating link to change in openSUSE:Factory/perl-NetAddr-IP revision 11.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetAddr-IP?expand=0&rev=3ca85f194d684eb91b28cccfe830f1e5
This commit is contained in:
OBS User buildservice-autocommit
2010-08-09 22:27:37 +00:00
committed by Git OBS Bridge
parent b8a8475e3d
commit 0c79e2aad1
6 changed files with 49 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-NetAddr-IP (Version 4.027)
# spec file for package perl-NetAddr-IP (Version 4.030)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,46 +17,45 @@
# norootforbuild
%bcond_with pod
Name: perl-NetAddr-IP
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
%define cpan_name NetAddr-IP
Summary: Manages IPv4 and IPv6 addresses and subnets
Version: 4.027
Version: 4.030
Release: 1
License: Artistic License ..
License: CHECK(GPL+ or Artistic)
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/NetAddr-IP
Url: http://search.cpan.org/dist/NetAddr-IP/
#Source: http://www.cpan.org/modules/by-module/NetAddr/NetAddr-IP-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
Patch1: %{cpan_name}-4.026-no-return-in-nonvoid-function.patch
Patch2: %{cpan_name}-4.026-sequence-point.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if %{with pod}
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Pod::Coverage)
%endif
Requires: perl = %{perl_version}
%description
This distribution is designed as a help for managing (ranges of) IP
addresses. It includes efficient implementations for most common tasks
done to subnets or ranges of IP addresses, namely verifying if an
address is within a subnet, comparing, looping, splitting subnets into
longer prefixes, compacting addresses to the shortest prefixes, etc.
This module provides an object-oriented abstraction on top of IP addresses
or IP subnets, that allows for easy manipulations. Version 4.xx of
NetAdder::IP will will work older versions of Perl and does not use
Math::BigInt as in previous versions.
Authors:
--------
Luis E. Munoz <luismunoz@cpan.org>
%prep
%setup -n %{cpan_name}-%{version}
%patch1
%patch2
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
%check
%{__make} test
@@ -67,10 +66,10 @@ Authors:
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes MANIFEST README TODO docs/rfc1884.txt
%defattr(-,root,root,-)
%doc Changes README TODO docs/rfc1884.txt
%changelog