Hello community, here is the log from the commit of package perl-Hash-MoreUtils for openSUSE:Factory checked in at 2013-10-06 19:36:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Hash-MoreUtils (Old) and /work/SRC/openSUSE:Factory/.perl-Hash-MoreUtils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Hash-MoreUtils" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Hash-MoreUtils/perl-Hash-MoreUtils.changes 2011-09-23 12:37:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Hash-MoreUtils.new/perl-Hash-MoreUtils.changes 2013-10-06 19:36:36.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Oct 4 09:13:21 UTC 2013 - co...@suse.com + +- updated to 0.03 + - Add documentation about intended behaviour of slice* when no + list given (fixing RT#77429 and RT#57095), thanks to Titi Ala'ilima + and Bernhard Graf + - Changes reformatted as per CPAN::Changes::Spec + - Move to GitHub.com + +------------------------------------------------------------------- Old: ---- Hash-MoreUtils-0.02.tar.gz New: ---- Hash-MoreUtils-0.03.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Hash-MoreUtils.spec ++++++ --- /var/tmp/diff_new_pack.jSd9BZ/_old 2013-10-06 19:36:36.000000000 +0200 +++ /var/tmp/diff_new_pack.jSd9BZ/_new 2013-10-06 19:36:36.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Hash-MoreUtils # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -15,52 +15,45 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Hash-MoreUtils -Version: 0.02 -Release: 1 +Version: 0.03 +Release: 0 +%define cpan_name Hash-MoreUtils Summary: Provide the stuff missing in Hash::Util -Source: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/Hash-MoreUtils-%{version}.tar.gz -Url: http://search.cpan.org/dist/Hash-MoreUtils -Group: Development/Libraries/Perl License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Hash-MoreUtils/ +Source: http://www.cpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::More) -BuildRequires: perl(Module::Build) >= 0.36 -BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Build) >= 0.40 +BuildRequires: perl(Test::More) >= 0.90 +#BuildRequires: perl(Hash::MoreUtils) +%{perl_requires} %description -Similar to "List::MoreUtils", "Hash::MoreUtils" contains trivial but +Similar to 'List::MoreUtils', 'Hash::MoreUtils' contains trivial but commonly-used functionality for hashes. %prep -%setup -q -n "Hash-MoreUtils-%{version}" +%setup -q -n %{cpan_name}-%{version} %build -%__perl ./Build.PL -./Build - -%install -./Build pure_install --destdir "%{buildroot}" --installdirs vendor -%perl_process_packlist +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check ./Build test -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%install +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist -%files -%defattr(-,root,root) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Changes README -%dir %{perl_vendorlib}/Hash -%{perl_vendorlib}/Hash/MoreUtils.pm -%dir %{perl_vendorarch}/auto/Hash -%{perl_vendorarch}/auto/Hash/MoreUtils -%doc %{perl_man3dir}/Hash::MoreUtils.%{perl_man3ext}%{ext_man} + %changelog ++++++ Hash-MoreUtils-0.02.tar.gz -> Hash-MoreUtils-0.03.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/Build.PL new/Hash-MoreUtils-0.03/Build.PL --- old/Hash-MoreUtils-0.02/Build.PL 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/Build.PL 2013-09-07 16:11:41.000000000 +0200 @@ -3,15 +3,16 @@ use Module::Build; my $builder = Module::Build->new( - module_name => 'Hash::MoreUtils', - license => 'perl', - dist_author => q{Hans Dieter Pearcey <h...@cpan.org>}, - dist_version_from => 'lib/Hash/MoreUtils.pm', - build_requires => { - 'Test::More' => 0, - }, - add_to_cleanup => [ 'Hash-MoreUtils-*' ], - create_makefile_pl => 'traditional', -); + module_name => 'Hash::MoreUtils', + license => 'perl', + dist_version_from => 'lib/Hash/MoreUtils.pm', + build_requires => { 'Test::More' => '0.90', }, + + dist_author => [ 'Hans Dieter Pearcey <h...@cpan.org>', 'Jens Rehsack <rehs...@cpan.org>' ], + meta_merge => { resources => { repository => "https://github.com/perl5-utils/Hash-MoreUtils", }, }, + add_to_cleanup => ['Hash-MoreUtils-*'], + test_files => [ "t/*.t", "xt/*.t" ], + + ); $builder->create_build_script(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/Changes new/Hash-MoreUtils-0.03/Changes --- old/Hash-MoreUtils-0.02/Changes 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/Changes 2013-09-07 16:11:41.000000000 +0200 @@ -1,13 +1,20 @@ Revision history for Hash-MoreUtils +0.03 2013-09-07 + - Add documentation about intended behaviour of slice* when no + list given (fixing RT#77429 and RT#57095), thanks to Titi Ala'ilima + and Bernhard Graf + - Changes reformatted as per CPAN::Changes::Spec + - Move to GitHub.com + 0.02 2010-04-28 - - Taking maintainership (Jens Rehsack) - - Implement optimized versions for slice, slice_exists and - slice_def - - Add test for each function to work proper with default keys - - Add safe_reverse as wished in RT#48403 (Ed Davis) - - Add test for hashsort + - Taking maintainership (Jens Rehsack) + - Implement optimized versions for slice, slice_exists and + slice_def + - Add test for each function to work proper with default keys + - Add safe_reverse as wished in RT#48403 (Ed Davis) + - Add test for hashsort 0.01 Date/time - First version, released on an unsuspecting world. + - First version, released on an unsuspecting world. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/MANIFEST new/Hash-MoreUtils-0.03/MANIFEST --- old/Hash-MoreUtils-0.02/MANIFEST 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/MANIFEST 2013-09-07 16:11:41.000000000 +0200 @@ -1,13 +1,9 @@ Build.PL Changes lib/Hash/MoreUtils.pm -Makefile.PL MANIFEST -MANIFEST.SKIP -META.yml Module meta-data (added by MakeMaker) +META.json +META.yml README t/00-load.t t/01-hash.t -t/manifest.t -t/pod-coverage.t -t/pod.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/MANIFEST.SKIP new/Hash-MoreUtils-0.03/MANIFEST.SKIP --- old/Hash-MoreUtils-0.02/MANIFEST.SKIP 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/MANIFEST.SKIP 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ -\B\.svn\b -\.[Bb][Aa][Kk]$ -\.orig$ -\.rej$ -\.old$ -\..*sw[po] -.*~ -Makefile$ -\.project -\bblib\b -pm_to_blib -.*\.csv -^MYMETA.yml$ -^_build/.* -^Build$ -^Hash-MoreUtils-.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/META.json new/Hash-MoreUtils-0.03/META.json --- old/Hash-MoreUtils-0.02/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/Hash-MoreUtils-0.03/META.json 2013-09-07 16:11:41.000000000 +0200 @@ -0,0 +1,45 @@ +{ + "abstract" : "Provide the stuff missing in Hash::Util", + "author" : [ + "Hans Dieter Pearcey <h...@cpan.org>", + "Jens Rehsack <rehs...@cpan.org>" + ], + "dynamic_config" : 1, + "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter version 2.132140", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Hash-MoreUtils", + "prereqs" : { + "build" : { + "requires" : { + "Test::More" : "0.90" + } + }, + "configure" : { + "requires" : { + "Module::Build" : "0.40" + } + } + }, + "provides" : { + "Hash::MoreUtils" : { + "file" : "lib/Hash/MoreUtils.pm", + "version" : "0.03" + } + }, + "release_status" : "stable", + "resources" : { + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "https://github.com/perl5-utils/Hash-MoreUtils" + } + }, + "version" : "0.03" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/META.yml new/Hash-MoreUtils-0.03/META.yml --- old/Hash-MoreUtils-0.02/META.yml 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/META.yml 2013-09-07 16:11:41.000000000 +0200 @@ -2,11 +2,13 @@ abstract: 'Provide the stuff missing in Hash::Util' author: - 'Hans Dieter Pearcey <h...@cpan.org>' + - 'Jens Rehsack <rehs...@cpan.org>' build_requires: - Test::More: 0 + Test::More: 0.90 configure_requires: - Module::Build: 0.36 -generated_by: 'Module::Build version 0.3603' + Module::Build: 0.40 +dynamic_config: 1 +generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.132140' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -15,7 +17,8 @@ provides: Hash::MoreUtils: file: lib/Hash/MoreUtils.pm - version: 0.02 + version: 0.03 resources: license: http://dev.perl.org/licenses/ -version: 0.02 + repository: https://github.com/perl5-utils/Hash-MoreUtils +version: 0.03 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/Makefile.PL new/Hash-MoreUtils-0.03/Makefile.PL --- old/Hash-MoreUtils-0.02/Makefile.PL 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/Makefile.PL 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.3603 -use ExtUtils::MakeMaker; -WriteMakefile -( - 'NAME' => 'Hash::MoreUtils', - 'VERSION_FROM' => 'lib/Hash/MoreUtils.pm', - 'PREREQ_PM' => { - 'Test::More' => 0 - }, - 'INSTALLDIRS' => 'site', - 'EXE_FILES' => [], - 'PL_FILES' => {} - ) -; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/lib/Hash/MoreUtils.pm new/Hash-MoreUtils-0.03/lib/Hash/MoreUtils.pm --- old/Hash-MoreUtils-0.02/lib/Hash/MoreUtils.pm 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/lib/Hash/MoreUtils.pm 2013-09-07 16:11:41.000000000 +0200 @@ -19,7 +19,7 @@ @EXPORT_OK = ( @{ $EXPORT_TAGS{all} } ); -$VERSION = '0.02'; +$VERSION = '0.03'; =head1 NAME @@ -43,20 +43,28 @@ Returns a hash containing the (key, value) pair for every key in LIST. +If no C<< LIST >> is given, all keys are assumed as C<< LIST >>. + =head2 C<slice_def> HASHREF[, LIST] As C<slice>, but only includes keys whose values are defined. +If no C<< LIST >> is given, all keys are assumed as C<< LIST >>. + =head2 C<slice_exists> HASHREF[, LIST] As C<slice> but only includes keys which exist in the hashref. +If no C<< LIST >> is given, all keys are assumed as C<< LIST >>. + =head2 C<slice_grep> BLOCK, HASHREF[, LIST] As C<slice>, with an arbitrary condition. +If no C<< LIST >> is given, all keys are assumed as C<< LIST >>. + Unlike C<grep>, the condition is not given aliases to elements of anything. Instead, C<< %_ >> is set to the contents of the hashref, to avoid accidentally @@ -66,8 +74,6 @@ =cut -sub slice_grep (&@); - sub slice { my ( $href, @list ) = @_; @@ -244,7 +250,7 @@ =head1 COPYRIGHT & LICENSE Copyright 2005 Hans Dieter Pearcey, all rights reserved. -Copyright 2010 Jens Rehsack +Copyright 2010-2013 Jens Rehsack This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/t/manifest.t new/Hash-MoreUtils-0.03/t/manifest.t --- old/Hash-MoreUtils-0.02/t/manifest.t 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/t/manifest.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -#!perl -T - -use strict; -use warnings; -use Test::More; - -unless ( $ENV{RELEASE_TESTING} ) { - plan( skip_all => "Author tests not required for installation" ); -} - -eval "use Test::CheckManifest 0.9"; -plan skip_all => "Test::CheckManifest 0.9 required" if $@; -ok_manifest(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/t/pod-coverage.t new/Hash-MoreUtils-0.03/t/pod-coverage.t --- old/Hash-MoreUtils-0.02/t/pod-coverage.t 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/t/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,18 +0,0 @@ -use strict; -use warnings; -use Test::More; - -# Ensure a recent version of Test::Pod::Coverage -my $min_tpc = 1.08; -eval "use Test::Pod::Coverage $min_tpc"; -plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage" - if $@; - -# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version, -# but older versions don't recognize some common documentation styles -my $min_pc = 0.18; -eval "use Pod::Coverage $min_pc"; -plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" - if $@; - -all_pod_coverage_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Hash-MoreUtils-0.02/t/pod.t new/Hash-MoreUtils-0.03/t/pod.t --- old/Hash-MoreUtils-0.02/t/pod.t 2010-04-28 17:32:48.000000000 +0200 +++ new/Hash-MoreUtils-0.03/t/pod.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -#!perl -T - -use strict; -use warnings; -use Test::More; - -# Ensure a recent version of Test::Pod -my $min_tp = 1.22; -eval "use Test::Pod $min_tp"; -plan skip_all => "Test::Pod $min_tp required for testing POD" if $@; - -all_pod_files_ok(); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org