Hello community, here is the log from the commit of package perl-Net-CIDR-Set for openSUSE:Factory checked in at 2015-04-15 16:26:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Net-CIDR-Set (Old) and /work/SRC/openSUSE:Factory/.perl-Net-CIDR-Set.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-CIDR-Set" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Net-CIDR-Set/perl-Net-CIDR-Set.changes 2012-06-12 21:59:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Net-CIDR-Set.new/perl-Net-CIDR-Set.changes 2015-04-15 16:26:22.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 14 20:36:07 UTC 2015 - co...@suse.com + +- updated to 0.13 + see /usr/share/doc/packages/perl-Net-CIDR-Set/Changes + +------------------------------------------------------------------- Old: ---- Net-CIDR-Set-0.11.tar.gz New: ---- Net-CIDR-Set-0.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Net-CIDR-Set.spec ++++++ --- /var/tmp/diff_new_pack.p08lZy/_old 2015-04-15 16:26:22.000000000 +0200 +++ /var/tmp/diff_new_pack.p08lZy/_new 2015-04-15 16:26:22.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Net-CIDR-Set # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Net-CIDR-Set +Version: 0.13 +Release: 0 %define cpan_name Net-CIDR-Set Summary: Manipulate sets of IP addresses -Version: 0.11 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Net-CIDR-Set/ -Source: http://www.cpan.org/authors/id/A/AN/ANDYA/Net-CIDR-Set-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/A/AN/ANDYA/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Build) >= 0.42 %{perl_requires} %description @@ -61,11 +62,8 @@ ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %doc Changes README %changelog ++++++ Net-CIDR-Set-0.11.tar.gz -> Net-CIDR-Set-0.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/Changes new/Net-CIDR-Set-0.13/Changes --- old/Net-CIDR-Set-0.11/Changes 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/Changes 2014-02-24 14:46:33.000000000 +0100 @@ -1,8 +1,14 @@ Revision history for Net-CIDR-Set -2009-01-29 0.10 - - Initial release - -2009-01-29 0.11 - - Remove broken cidrcalc +0.10 2009-01-29 + - Initial release +0.11 2009-01-29 + - Remove broken cidrcalc + +0.12 2009-05-29 + - Move to GitHub + +0.13 2014-02-24 + - Applied Brian Gottreu's fix for + https://rt.cpan.org/Public/Bug/Display.html?id=49632 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/MANIFEST new/Net-CIDR-Set-0.13/MANIFEST --- old/Net-CIDR-Set-0.11/MANIFEST 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/MANIFEST 2014-02-24 14:46:33.000000000 +0100 @@ -14,3 +14,4 @@ t/pod.t t/private.t META.yml +META.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/META.json new/Net-CIDR-Set-0.13/META.json --- old/Net-CIDR-Set-0.11/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/Net-CIDR-Set-0.13/META.json 2014-02-24 14:46:33.000000000 +0100 @@ -0,0 +1,55 @@ +{ + "abstract" : "Manipulate sets of IP addresses", + "author" : [ + "Andy Armstrong <andy.armstr...@messagesystems.com>" + ], + "dynamic_config" : 1, + "generated_by" : "Module::Build version 0.4205", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Net-CIDR-Set", + "prereqs" : { + "configure" : { + "requires" : { + "Module::Build" : "0.42" + } + }, + "runtime" : { + "requires" : { + "Test::More" : "0" + } + } + }, + "provides" : { + "Net::CIDR::Set" : { + "file" : "lib/Net/CIDR/Set.pm", + "version" : "0.13" + }, + "Net::CIDR::Set::IPv4" : { + "file" : "lib/Net/CIDR/Set/IPv4.pm", + "version" : "0.13" + }, + "Net::CIDR::Set::IPv6" : { + "file" : "lib/Net/CIDR/Set/IPv6.pm", + "version" : "0.13" + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-CIDR-Set" + }, + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "git://github.com/AndyA/Net--CIDR--Set.git (fetch)" + } + }, + "version" : "0.13" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/META.yml new/Net-CIDR-Set-0.13/META.yml --- old/Net-CIDR-Set-0.11/META.yml 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/META.yml 2014-02-24 14:46:33.000000000 +0100 @@ -1,25 +1,31 @@ --- -name: Net-CIDR-Set -version: 0.11 +abstract: 'Manipulate sets of IP addresses' author: - 'Andy Armstrong <andy.armstr...@messagesystems.com>' -abstract: Manipulate sets of IP addresses +build_requires: {} +configure_requires: + Module::Build: 0.42 +dynamic_config: 1 +generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 2.133380' license: perl -resources: - license: ~ -requires: - Test::More: 0 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: Net-CIDR-Set provides: Net::CIDR::Set: file: lib/Net/CIDR/Set.pm - version: 0.11 + version: 0.13 Net::CIDR::Set::IPv4: file: lib/Net/CIDR/Set/IPv4.pm - version: 0.11 + version: 0.13 Net::CIDR::Set::IPv6: file: lib/Net/CIDR/Set/IPv6.pm - version: 0.11 -generated_by: Module::Build version 0.31011 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.2.html - version: 1.2 + version: 0.13 +requires: + Test::More: 0 +resources: + bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-CIDR-Set + license: http://dev.perl.org/licenses/ + repository: 'git://github.com/AndyA/Net--CIDR--Set.git (fetch)' +version: 0.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/README new/Net-CIDR-Set-0.13/README --- old/Net-CIDR-Set-0.11/README 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/README 2014-02-24 14:46:33.000000000 +0100 @@ -1,4 +1,4 @@ -Net-CIDR-Set version 0.11 +Net-CIDR-Set version 0.13 INSTALLATION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/inc/MyBuilder.pm new/Net-CIDR-Set-0.13/inc/MyBuilder.pm --- old/Net-CIDR-Set-0.11/inc/MyBuilder.pm 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/inc/MyBuilder.pm 2014-02-24 14:46:33.000000000 +0100 @@ -1,8 +1,46 @@ package MyBuilder; -BEGIN { - require Module::Build; - @ISA = qw( Module::Build ); +use base qw( Module::Build ); + +sub create_build_script { + my ( $self, @args ) = @_; + $self->_auto_mm; + return $self->SUPER::create_build_script( @args ); +} + +sub _auto_mm { + my $self = shift; + my $mm = $self->meta_merge; + my @meta = qw( homepage bugtracker MailingList repository ); + for my $meta ( @meta ) { + next if exists $mm->{resources}{$meta}; + my $auto = "_auto_$meta"; + next unless $self->can( $auto ); + my $av = $self->$auto(); + $mm->{resources}{$meta} = $av if defined $av; + } + $self->meta_merge( $mm ); +} + +sub _auto_repository { + my $self = shift; + if ( -d '.svn' ) { + my $info = `svn info .`; + return $1 if $info =~ /^URL:\s+(.+)$/m; + } + elsif ( -d '.git' ) { + my $info = `git remote -v`; + return unless $info =~ /^origin\s+(.+)$/m; + my $url = $1; + # Special case: patch up github URLs + $url =~ s!^git\@github\.com:!git://github.com/!; + return $url; + } + return; +} + +sub _auto_bugtracker { + 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=' . shift->dist_name; } sub ACTION_testauthor { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/lib/Net/CIDR/Set/IPv4.pm new/Net-CIDR-Set-0.13/lib/Net/CIDR/Set/IPv4.pm --- old/Net-CIDR-Set-0.11/lib/Net/CIDR/Set/IPv4.pm 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/lib/Net/CIDR/Set/IPv4.pm 2014-02-24 14:46:33.000000000 +0100 @@ -10,11 +10,11 @@ =head1 VERSION -This document describes Net::CIDR::Set::IPv4 version 0.11 +This document describes Net::CIDR::Set::IPv4 version 0.13 =cut -our $VERSION = '0.11'; +our $VERSION = '0.13'; sub new { bless \my $x, shift } @@ -47,6 +47,7 @@ my ( $lo, $hi ) = @_; my $mask = ~( $lo ^ $hi ); my $bits = unpack 'B*', $mask; + return unless $hi eq ($lo | $hi); return unless $bits =~ /^(1*)0*$/; return length( $1 ) - 8; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/lib/Net/CIDR/Set/IPv6.pm new/Net-CIDR-Set-0.13/lib/Net/CIDR/Set/IPv6.pm --- old/Net-CIDR-Set-0.11/lib/Net/CIDR/Set/IPv6.pm 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/lib/Net/CIDR/Set/IPv6.pm 2014-02-24 14:46:33.000000000 +0100 @@ -10,11 +10,11 @@ =head1 VERSION -This document describes Net::CIDR::Set::IPv6 version 0.11 +This document describes Net::CIDR::Set::IPv6 version 0.13 =cut -our $VERSION = '0.11'; +our $VERSION = '0.13'; sub new { bless \my $x, shift } @@ -82,6 +82,7 @@ my ( $lo, $hi ) = @_; my $mask = ~( $lo ^ $hi ); my $bits = unpack 'B*', $mask; + return unless $hi eq ($lo | $hi); return unless $bits =~ /^(1*)0*$/; return length( $1 ) - 8; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Net-CIDR-Set-0.11/lib/Net/CIDR/Set.pm new/Net-CIDR-Set-0.13/lib/Net/CIDR/Set.pm --- old/Net-CIDR-Set-0.11/lib/Net/CIDR/Set.pm 2009-01-30 00:01:39.000000000 +0100 +++ new/Net-CIDR-Set-0.13/lib/Net/CIDR/Set.pm 2014-02-24 14:46:33.000000000 +0100 @@ -8,7 +8,7 @@ use overload '""' => 'as_string'; -our $VERSION = '0.11'; +our $VERSION = '0.13'; =head1 NAME @@ -16,7 +16,7 @@ =head1 VERSION -This document describes Net::CIDR::Set version 0.11 +This document describes Net::CIDR::Set version 0.13 =head1 SYNOPSIS