rpms/perl-Net-IP/EL-4 perl-Net-IP-1.25-bz197425.patch, NONE, 1.1 perl-Net-IP.spec, 1.5, 1.6 sources, 1.5, 1.6

Remi Collet remi at fedoraproject.org
Tue Jun 3 04:23:51 UTC 2008


Author: remi

Update of /cvs/extras/rpms/perl-Net-IP/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16586

Modified Files:
	perl-Net-IP.spec sources 
Added Files:
	perl-Net-IP-1.25-bz197425.patch 
Log Message:
initial EL4 import

perl-Net-IP-1.25-bz197425.patch:

--- NEW FILE perl-Net-IP-1.25-bz197425.patch ---
--- Net-IP-1.25/IP.pm.bz197425	2006-05-22 12:46:40.000000000 -0400
+++ Net-IP-1.25/IP.pm	2006-07-05 15:20:26.000000000 -0400
@@ -410,7 +410,7 @@
 
     my $int = ip_bintoint($self->binip());
 
-    if (!$int) {
+    if (ref($int) ne "Math::BigInt") {
         $self->{error} = $ERROR;
         $self->{errno} = $ERRNO;
         return;


Index: perl-Net-IP.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-IP/EL-4/perl-Net-IP.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Net-IP.spec	6 Jun 2005 18:51:14 -0000	1.5
+++ perl-Net-IP.spec	3 Jun 2008 04:23:00 -0000	1.6
@@ -1,20 +1,21 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
 Name:           perl-Net-IP
-Version:        1.23
-Release:        1
-Epoch:          0
+Version:        1.25
+# Must be <=2 (don't break EPEL4 -> RHEL5 update)
+Release:        1%{?dist}
 Summary:        Perl module for manipulation of IPv4 and IPv6 addresses
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+# Some ambiguity here, see http://rt.cpan.org/Ticket/Display.html?id=28689
+License:        MIT
 URL:            http://search.cpan.org/dist/Net-IP/
-Source:         http://www.cpan.org/modules/by-module/Net/Net-IP-%{version}.tar.gz
+Source:         ftp://cpan.org/pub/CPAN/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+Patch0:         perl-Net-IP-1.25-bz197425.patch
 
 %description
 This is the Net::IP module for Perl, designed to allow easy
@@ -27,7 +28,7 @@
 
 %prep
 %setup -q -n Net-IP-%{version}
-
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -38,12 +39,15 @@
 rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%check || :
-make test
+%check
+# These tests fail on ppc builders because of:
+# http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
+# Re-enable this when the upstream bug is resolved.
+# make test
 
 
 %clean
@@ -60,14 +64,59 @@
 
 
 %changelog
-* Mon Jun  6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.23-1
+* Tue Jun 03 2008 Remi Collet <Fedora at FamilleCollet.com> -1.25-1.el4
+- latest version from rawhide spec to EPEL4
+- keep evr < 1.25-2.fc6 (in RHEL 5.1)
+
+* Fri Feb  1 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.25-7
+- disable tests due to upstream bug 50114
+
+* Fri Feb  1 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.25-6
+- Work around http://rt.perl.org/rt3//Public/Bug/Display.html?id=50114
+
+* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.25-5
+- rebuild for new perl
+
+* Sun Aug 12 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.25-4
+- BuildRequire perl(ExtUtils::MakeMaker)
+- License: MIT
+
+* Sun Feb 04 2007 Robin Norwood <rnorwood at redhat.com> - 1.25-3
+- Resolves: bz#226271
+- Incorporate some fixes to the spec file from Ville:
+
+* Wed Jul 05 2006 Jason Vas Dias <jvdias at redhat.com> - 1.25-2
+- fix bug 197925 - make intip handle zero-valued IP addresses
+
+* Mon Jun 05 2006 Jason Vas Dias <jvdias at redhat.com> - 1.25-1
+- upgrade to 1.25
+
+* Fri Feb 03 2006 Jason Vas Dias <jvdias at redhat.com> - 1.24-2.2
+- rebuild for new perl-5.8.8
+
+* Fri Dec 16 2005 Jesse Keating <jkeating at redhat.com>
+- rebuilt for new gcc
+
+* Fri Dec 16 2005 Jesse Keating <jkeating at redhat.com>
+- rebuilt for new gcj
+
+* Mon Oct 31 2005 Warren Togami <wtogami at redhat.com> - 1.24-2
+- import into FC5 because perl-Net-DNS needs it
+
+* Wed Oct 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.24-1
+- 1.24.
+
+* Mon Jun  6 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.23-3
 - 1.23, patches applied upstream.
 - Improve description.
 
-* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.22-1
+* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.22-2
 - 1.22, include test case for rt.cpan.org #7528 patch.
 - Patch to mute stdout noise from ip_reverse().
 
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-2
+- rebuilt
+
 * Thu Dec  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.21-1
 - Update to 1.21.
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-IP/EL-4/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	6 Jun 2005 18:51:14 -0000	1.5
+++ sources	3 Jun 2008 04:23:00 -0000	1.6
@@ -1 +1 @@
-8a879191792eaeb9b6f7816a271bde2a  Net-IP-1.23.tar.gz
+a49c0b02a9b793ff60191cdafc0c202e  Net-IP-1.25.tar.gz




More information about the Fedora-perl-devel-list mailing list