File project.diff of Package perl-NetAddr-IP

--- perl-NetAddr-IP.changes.orig
+++ perl-NetAddr-IP.changes
@@ -1,4 +1,28 @@
 -------------------------------------------------------------------
+Sat May 30 22:57:20 CEST 2009 - lars@linux-schulserver.de
+
+- update to 4.026
+  + inherit method "new_from_aton" from NetAddr::IP::Lite add 
+    related documentation
+  + updated Lite/t/v4-wnew.t so that non-existent domains are 
+    "really" not there
+  + add test in inet_aton to detect overange IP dot quad values
+    missed by some broken Socket implementations
+  + In Lite.pm v1.10, add new no octal method for improperly 
+    formatted ipV4 addresses
+  + added minus (-) overloading to allow the subtraction of two 
+    NetAddr::IP objects to get the difference between the 
+    object->{addr}'s as a numeric value
+  + added what is hopefully thread safe operation via 
+    serialization. Must be invoked by "--with-threads"
+  + Extended the capability of 'splitref' to allow splitting of
+    objects into multiple pieces with differing CIDR masks.
+    Returned object list can be split from bottom to top
+    or from top to bottom depending on which method is called
+        split, rsplit, splitref, rsplitref
+- rpmlint fixes  
+
+-------------------------------------------------------------------
 Tue Jan 30 10:53:27 CET 2007 - ms@suse.de
 
 - update to version 4.00.4
--- perl-NetAddr-IP.spec.orig
+++ perl-NetAddr-IP.spec
@@ -11,16 +11,18 @@
 # norootforbuild
 
 Name:           perl-NetAddr-IP
+Summary:        NetAddr::IP - Manages IP addresses and subnets
+Version:        4.026
+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
-Version:        4.004
-Release:        1
-Summary:        NetAddr::IP - Manages IP addresses and subnets
-URL:            http://search.cpan.org/~luismunoz/NetAddr-IP-4.004
-Source:         NetAddr-IP-%{version}.tar.gz
-Patch:          NetAddr-IP-%{version}.dif
+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
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -38,23 +40,26 @@ Authors:
 
 %prep
 %setup -n NetAddr-IP-%{version}
-%patch
+%patch1
+%patch2
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL 
-make
+CFLAGS="%optflags" perl Makefile.PL 
+make %{?jobs:-j%jobs}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%check
+make test
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
+%perl_make_install
 %perl_process_packlist
 
+%clean
+rm -rf %{buildroot}
+
 %files
 %defattr(-,root,root)
-%doc README
+%doc Changes MANIFEST README TODO docs/rfc1884.txt
 %dir %{perl_vendorarch}/NetAddr
 %dir %{perl_vendorarch}/auto/NetAddr
 %dir %{perl_vendorarch}/auto/NetAddr/IP
openSUSE Build Service is sponsored by