forked from pool/perl-NetAddr-IP
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:
committed by
Git OBS Bridge
parent
198b49987e
commit
ed6e65b233
@@ -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
3
NetAddr-IP-4.027.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:68d15aa22f4f2e45efc28dc2c48c94b84f171494555a7d43055ab915cc9863b1
|
||||||
|
size 115135
|
@@ -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
|
Sat May 30 22:57:20 CEST 2009 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,24 +19,27 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-NetAddr-IP
|
Name: perl-NetAddr-IP
|
||||||
Summary: NetAddr::IP - Manages IP addresses and subnets
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Version: 4.026
|
Summary: Manages IPv4 and IPv6 addresses and subnets
|
||||||
|
Version: 4.027
|
||||||
Release: 1
|
Release: 1
|
||||||
Url: http://search.cpan.org/perldoc?NetAddr::IP
|
|
||||||
License: Artistic License ..
|
License: Artistic License ..
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Requires: perl = %{perl_version}
|
Url: http://search.cpan.org/dist/NetAddr-IP
|
||||||
Provides: NetAddr
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
AutoReqProv: on
|
Patch1: %{cpan_name}-4.026-no-return-in-nonvoid-function.patch
|
||||||
Source: NetAddr-IP-%{version}.tar.bz2
|
Patch2: %{cpan_name}-4.026-sequence-point.patch
|
||||||
Patch1: NetAddr-IP-%{version}-no-return-in-nonvoid-function.patch
|
|
||||||
Patch2: NetAddr-IP-%{version}-sequence-point.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
%description
|
%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
|
addresses. It includes efficient implementations for most common tasks
|
||||||
done to subnets or ranges of IP addresses, namely verifying if an
|
done to subnets or ranges of IP addresses, namely verifying if an
|
||||||
address is within a subnet, comparing, looping, splitting subnets into
|
address is within a subnet, comparing, looping, splitting subnets into
|
||||||
longer prefixes, compacting addresses to the shortest prefixes, etc.
|
longer prefixes, compacting addresses to the shortest prefixes, etc.
|
||||||
|
|
||||||
@@ -47,38 +50,27 @@ Authors:
|
|||||||
Luis E. Munoz <luismunoz@cpan.org>
|
Luis E. Munoz <luismunoz@cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n NetAddr-IP-%{version}
|
%setup -n %{cpan_name}-%{version}
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%optflags" perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
make %{?jobs:-j%jobs}
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Changes MANIFEST README TODO docs/rfc1884.txt
|
%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
|
%changelog
|
||||||
|
Reference in New Issue
Block a user