8
0

Accepting request 38388 from devel:languages:perl

Copy from devel:languages:perl/perl-NetAddr-IP based on submit request 38388 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/38388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetAddr-IP?expand=0&rev=8
This commit is contained in:
OBS User autobuild
2010-04-20 23:56:44 +00:00
committed by Git OBS Bridge
parent 198b49987e
commit ed6e65b233
4 changed files with 42 additions and 34 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1465c0895a1c1b0765ba157610929220fee23cf501ae07078cfa591694397b43
size 114994

3
NetAddr-IP-4.027.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68d15aa22f4f2e45efc28dc2c48c94b84f171494555a7d43055ab915cc9863b1
size 115135

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Apr 20 23:21:17 UTC 2010 - chris@computersalat.de
- update to 4.027
* In NetAddr::IP::Util v1.31,
ferret out shell value for Makefile.PL when calling
./configure for systems where the 'x' bit gets lost
due to bug in Archive::Tar
- cleanup spec
* BuildReq perl
* sort TAGS
* updated Url, description
* removed Provides NetAddr
* macro usage
- added perl-macros
-------------------------------------------------------------------
Sat May 30 22:57:20 CEST 2009 - lars@linux-schulserver.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-NetAddr-IP (Version 4.026)
# spec file for package perl-NetAddr-IP (Version 4.027)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,22 +19,25 @@
Name: perl-NetAddr-IP
Summary: NetAddr::IP - Manages IP addresses and subnets
Version: 4.026
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Manages IPv4 and IPv6 addresses and subnets
Version: 4.027
Release: 1
Url: http://search.cpan.org/perldoc?NetAddr::IP
License: Artistic License ..
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
Provides: NetAddr
AutoReqProv: on
Source: NetAddr-IP-%{version}.tar.bz2
Patch1: NetAddr-IP-%{version}-no-return-in-nonvoid-function.patch
Patch2: NetAddr-IP-%{version}-sequence-point.patch
Url: http://search.cpan.org/dist/NetAddr-IP
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
Requires: perl = %{perl_version}
%description
This module is designed as a help for managing (ranges of) IP
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
@@ -47,38 +50,27 @@ Authors:
Luis E. Munoz <luismunoz@cpan.org>
%prep
%setup -n NetAddr-IP-%{version}
%setup -n %{cpan_name}-%{version}
%patch1
%patch2
%build
CFLAGS="%optflags" perl Makefile.PL
make %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?jobs:-j%jobs}
%check
make test
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%{__rm} -rf %{buildroot}
%files
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes MANIFEST README TODO docs/rfc1884.txt
%dir %{perl_vendorarch}/NetAddr
%dir %{perl_vendorarch}/auto/NetAddr
%dir %{perl_vendorarch}/auto/NetAddr/IP
%{perl_vendorarch}/NetAddr/IP.pm
%{perl_vendorarch}/NetAddr/IP
%{perl_vendorarch}/auto/NetAddr/IP/.packlist
%{perl_vendorarch}/auto/NetAddr/IP
%doc %{_mandir}/man?/NetAddr::IP.3pm.gz
%doc %{_mandir}/man?/NetAddr::IP::Lite.3pm.gz
%doc %{_mandir}/man?/NetAddr::IP::Util.3pm.gz
%doc %{_mandir}/man?/NetAddr::IP::UtilPP.3pm.gz
/var/adm/perl-modules/%{name}
%changelog