Hello community, here is the log from the commit of package perl-Module-Find for openSUSE:Factory checked in at 2015-04-21 10:52:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Module-Find (Old) and /work/SRC/openSUSE:Factory/.perl-Module-Find.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Find" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Module-Find/perl-Module-Find.changes 2014-02-28 19:15:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Module-Find.new/perl-Module-Find.changes 2015-04-21 10:52:42.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Apr 19 07:42:39 UTC 2015 - [email protected] + +- updated to 0.13 + see /usr/share/doc/packages/perl-Module-Find/Changes + +------------------------------------------------------------------- Old: ---- Module-Find-0.12.tar.gz New: ---- Module-Find-0.13.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Module-Find.spec ++++++ --- /var/tmp/diff_new_pack.iOP4f9/_old 2015-04-21 10:52:43.000000000 +0200 +++ /var/tmp/diff_new_pack.iOP4f9/_new 2015-04-21 10:52:43.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Find # -# Copyright (c) 2014 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 @@ -17,14 +17,15 @@ Name: perl-Module-Find -Version: 0.12 +Version: 0.13 Release: 0 %define cpan_name Module-Find Summary: Find and use installed modules in a (sub)category License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Module-Find/ -Source: http://www.cpan.org/authors/id/C/CR/CRENZ/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/C/CR/CRENZ/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl ++++++ Module-Find-0.12.tar.gz -> Module-Find-0.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.12/Find.pm new/Module-Find-0.13/Find.pm --- old/Module-Find-0.12/Find.pm 2014-02-06 21:59:49.000000000 +0100 +++ new/Module-Find-0.13/Find.pm 2015-03-10 00:07:06.000000000 +0100 @@ -7,7 +7,7 @@ use File::Spec; use File::Find; -our $VERSION = '0.12'; +our $VERSION = '0.13'; our $basedir = undef; our @results = (); @@ -180,7 +180,7 @@ my ($category) = @_; return undef unless defined $category; - my $dir = File::Spec->catdir(split(/::/, $category)); + my $dir = File::Spec->catdir(split(/::|'/, $category)); my @dirs; if (@Module::Find::ModuleDirs) { @@ -206,7 +206,7 @@ @results = map "$category\::$_", @results; @results = map { - ($_ =~ m{^(\w+(?:::\w+)*)$})[0] || die "$_ does not look like a package name" + ($_ =~ m{^(\w+(?:(?:::|')\w+)*)$})[0] || die "$_ does not look like a package name" } @results; return @results; @@ -303,6 +303,12 @@ Added more explicit tests. Thanks to Colin Robertson for his input. +=item 0.13, 2015-03-09 + +This release contains two contributions from Moritz Lenz: +- Link to Module::Pluggable and Class::Factory::Util in "SEE ALSO" +- Align package name parsing with how perl does it (allowing single quotes as module separator) + =back =head1 DEVELOPMENT NOTES @@ -311,7 +317,7 @@ =head1 SEE ALSO -L<perl> +L<perl>, L<Module::Pluggable>, L<Class::Factory::Util> =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.12/MANIFEST new/Module-Find-0.13/MANIFEST --- old/Module-Find-0.12/MANIFEST 2014-02-06 19:54:41.000000000 +0100 +++ new/Module-Find-0.13/MANIFEST 2015-03-10 00:09:17.000000000 +0100 @@ -16,6 +16,7 @@ t/8-taint.t t/pod-coverage.t t/pod.t +t/meta.t test/duplicates/ModuleFindTest.pm test/duplicates/ModuleFindTest/SubMod.pm test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm @@ -23,3 +24,4 @@ test/ModuleFindTest/SubMod.pm test/ModuleFindTest/SubMod/SubSubMod.pm test/README +META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.12/META.json new/Module-Find-0.13/META.json --- old/Module-Find-0.12/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/Module-Find-0.13/META.json 2015-03-10 00:09:17.000000000 +0100 @@ -0,0 +1,52 @@ +{ + "abstract" : "Find and use installed modules in a (sub)category", + "author" : [ + "Christian Renz <[email protected]>" + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Module-Find", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "Test::More" : "0" + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "runtime" : { + "recommends" : { + "Test::Pod" : "1.14", + "Test::Pod::Coverage" : "1.04" + }, + "requires" : { + "File::Find" : "0", + "File::Spec" : "0", + "perl" : "5.006001" + } + } + }, + "release_status" : "stable", + "resources" : { + "repository" : { + "url" : "http://github.com/crenz/Module-Find" + } + }, + "version" : "0.13" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.12/META.yml new/Module-Find-0.13/META.yml --- old/Module-Find-0.12/META.yml 2014-02-06 22:05:34.000000000 +0100 +++ new/Module-Find-0.13/META.yml 2015-03-10 00:09:17.000000000 +0100 @@ -1,29 +1,29 @@ ---- #YAML:1.0 -name: Module-Find -version: 0.12 -abstract: Find and use installed modules in a (sub)category +--- +abstract: 'Find and use installed modules in a (sub)category' author: - - Christian Renz <[email protected]> -license: perl -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Christian Renz <[email protected]>' build_requires: - Test::More: 0 -requires: - File::Find: 0 - File::Spec: 0 - perl: 5.006001 -resources: - repository: http://github.com/crenz/Module-Find -no_index: - directory: - - t - - inc -generated_by: ExtUtils::MakeMaker version 6.56 + Test::More: 0 +configure_requires: + ExtUtils::MakeMaker: 0 +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380' +license: perl meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: Module-Find +no_index: + directory: + - t + - inc recommends: - Test::Pod: 1.14 - Test::Pod::Coverage: 1.04 + Test::Pod: 1.14 + Test::Pod::Coverage: 1.04 +requires: + File::Find: 0 + File::Spec: 0 + perl: 5.006001 +resources: + repository: http://github.com/crenz/Module-Find +version: 0.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.12/README new/Module-Find-0.13/README --- old/Module-Find-0.12/README 2014-02-06 19:53:49.000000000 +0100 +++ new/Module-Find-0.13/README 2015-03-10 00:07:47.000000000 +0100 @@ -24,7 +24,7 @@ COPYRIGHT AND LICENCE -Copyright (C) 2004-2014 Christian Renz <[email protected]>. All rights reserved. +Copyright (C) 2004-2015 Christian Renz <[email protected]>. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.12/t/2-find.t new/Module-Find-0.13/t/2-find.t --- old/Module-Find-0.12/t/2-find.t 2014-02-06 19:16:18.000000000 +0100 +++ new/Module-Find-0.13/t/2-find.t 2015-03-09 23:55:39.000000000 +0100 @@ -1,4 +1,4 @@ -use Test::More tests => 5; +use Test::More tests => 7; use Module::Find; @@ -17,6 +17,8 @@ ok($l[0] eq 'ModuleFindTest::SubMod'); ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod'); - +@l = findallmod "ModuleFindTest'SubMod"; +is($#l, 0, 'Found one module'); +is($l[0], "ModuleFindTest'SubMod::SubSubMod"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.12/t/meta.t new/Module-Find-0.13/t/meta.t --- old/Module-Find-0.12/t/meta.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Module-Find-0.13/t/meta.t 2015-03-10 00:08:57.000000000 +0100 @@ -0,0 +1,6 @@ +#!perl -T + +use Test::More; +eval "use Test::CPAN::Meta"; +plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@; +meta_yaml_ok(); \ No newline at end of file ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag
