commit perl-Module-Find for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Module-Find for openSUSE:Factory checked in at 2019-12-30 12:35:18 Comparing /work/SRC/openSUSE:Factory/perl-Module-Find (Old) and /work/SRC/openSUSE:Factory/.perl-Module-Find.new.6675 (New) Package is "perl-Module-Find" Mon Dec 30 12:35:18 2019 rev:9 rq:759958 version:0.15 Changes: --- /work/SRC/openSUSE:Factory/perl-Module-Find/perl-Module-Find.changes 2015-04-21 10:52:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Module-Find.new.6675/perl-Module-Find.changes 2019-12-30 12:35:20.423820921 +0100 @@ -1,0 +2,6 @@ +Thu Dec 26 03:10:49 UTC 2019 - + +- updated to 0.15 + see /usr/share/doc/packages/perl-Module-Find/Changes + +--- Old: Module-Find-0.13.tar.gz New: Module-Find-0.15.tar.gz Other differences: -- ++ perl-Module-Find.spec ++ --- /var/tmp/diff_new_pack.lIDXU0/_old 2019-12-30 12:35:22.495822033 +0100 +++ /var/tmp/diff_new_pack.lIDXU0/_new 2019-12-30 12:35:22.535822054 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Find # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,19 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Module-Find -Version:0.13 +Version:0.15 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+ +License:Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url:http://search.cpan.org/dist/Module-Find/ -Source0: http://www.cpan.org/authors/id/C/CR/CRENZ/%{cpan_name}-%{version}.tar.gz +Url:https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CR/CRENZ/%{cpan_name}-%{version}.tar.gz Source1:cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -47,11 +47,11 @@ %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++ Module-Find-0.13.tar.gz -> Module-Find-0.15.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/Find.pm new/Module-Find-0.15/Find.pm --- old/Module-Find-0.13/Find.pm2015-03-10 00:07:06.0 +0100 +++ new/Module-Find-0.15/Find.pm2019-12-26 01:29:28.0 +0100 @@ -7,7 +7,7 @@ use File::Spec; use File::Find; -our $VERSION = '0.13'; +our $VERSION = '0.15'; our $basedir = undef; our @results = (); @@ -123,6 +123,9 @@ $prune = 1; my @r = _find($_[0]); + +local @INC = @Module::Find::ModuleDirs +if (@Module::Find::ModuleDirs); foreach my $m (@r) { eval " require $m; import $m ; "; @@ -146,6 +149,9 @@ my @r = _find($_[0]); +local @INC = @Module::Find::ModuleDirs +if (@Module::Find::ModuleDirs); + foreach my $m (@r) { eval " require $m; import $m; "; die $@ if $@; @@ -158,14 +164,14 @@ # you know, this would be a nice application for currying... sub _wanted { my $name = File::Spec->abs2rel($_, $basedir); -return unless $name && $name ne File::Spec->curdir(); +return unless $name && $name ne File::Spec->curdir() && substr($name, 0, 1) ne '.'; if (-d && $prune) { $File::Find::prune = 1; return; } -return unless /\.pm$/ && -r; +return unless /\.pm$/; $name =~ s|\.pm$||; $name = join('::', File::Spec->splitdir($name)); @@ -182,21 +188,26 @@ my $dir = File::Spec->catdir(split(/::|'/, $category)); -my @dirs; -if (@Module::Find::ModuleDirs) { -@dirs = map { File::Spec->catdir($_, $dir) } -@Module::Find::ModuleDirs; -} else { -@dirs = map { File::Spec->catdir($_, $dir) } @INC; -} @results = (); -foreach $basedir (@dirs) { - next unless -d $basedir; - -find({wanted => \&_wanted, -
commit perl-Module-Find for openSUSE:Factory
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.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Module-Find.new/perl-Module-Find.changes 2015-04-21 10:52:42.0 +0200 @@ -1,0 +2,6 @@ +Sun Apr 19 07:42:39 UTC 2015 - co...@suse.com + +- 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.0 +0200 +++ /var/tmp/diff_new_pack.iOP4f9/_new 2015-04-21 10:52:43.0 +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.pm2014-02-06 21:59:49.0 +0100 +++ new/Module-Find-0.13/Find.pm2015-03-10 00:07:06.0 +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 -Lperl +Lperl, LModule::Pluggable, LClass::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.0 +0100 +++ new/Module-Find-0.13/MANIFEST 2015-03-10 00:09:17.0 +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.jsonModule 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.0 +0100 +++ new/Module-Find-0.13/META.json 2015-03-10 00:09:17.0 +0100 @@ -0,0 +1,52 @@ +{ + abstract : Find and use installed modules in a (sub)category, + author : [ +
commit perl-Module-Find for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Module-Find for openSUSE:Factory checked in at 2014-02-28 19:15:33 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 2012-05-25 16:17:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Module-Find.new/perl-Module-Find.changes 2014-02-28 19:15:35.0 +0100 @@ -1,0 +2,14 @@ +Mon Feb 24 08:37:02 UTC 2014 - co...@suse.com + +- updated to 0.12 + Fixed RT#81077: useall fails in taint mode + Thanks to Aran Deltac, who contributed the implementation and test. + + Fixed RT#83596: Documentation doesn't describe behaviour if a module fails to load + Clarified documentation for useall and usesub. + + Fixed RT#62923: setmoduledirs(undef) doesn't reset to searching @INC + Added more explicit tests. + Thanks to Colin Robertson for his input. + +--- Old: Module-Find-0.11.tar.gz New: Module-Find-0.12.tar.gz Other differences: -- ++ perl-Module-Find.spec ++ --- /var/tmp/diff_new_pack.VJtnlg/_old 2014-02-28 19:15:35.0 +0100 +++ /var/tmp/diff_new_pack.VJtnlg/_new 2014-02-28 19:15:35.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Find # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -17,7 +17,7 @@ Name: perl-Module-Find -Version:0.11 +Version:0.12 Release:0 %define cpan_name Module-Find Summary:Find and use installed modules in a (sub)category @@ -29,9 +29,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -#BuildRequires: perl(Module::Find) -BuildRequires: perl(Test::Pod) = 1.14 -BuildRequires: perl(Test::Pod::Coverage) = 1.04 +Recommends: perl(Test::Pod) = 1.14 +Recommends: perl(Test::Pod::Coverage) = 1.04 %{perl_requires} %description ++ Module-Find-0.11.tar.gz - Module-Find-0.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.11/Changes new/Module-Find-0.12/Changes --- old/Module-Find-0.11/Changes2010-02-26 16:38:21.0 +0100 +++ new/Module-Find-0.12/Changes2014-02-06 19:53:34.0 +0100 @@ -1 +1 @@ -See Find.pm for a detaled version history. \ No newline at end of file +See Find.pm for a detailed version history. \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.11/Find.pm new/Module-Find-0.12/Find.pm --- old/Module-Find-0.11/Find.pm2012-05-22 02:31:55.0 +0200 +++ new/Module-Find-0.12/Find.pm2014-02-06 21:59:49.0 +0100 @@ -7,7 +7,7 @@ use File::Spec; use File::Find; -our $VERSION = '0.11'; +our $VERSION = '0.12'; our $basedir = undef; our @results = (); @@ -78,7 +78,7 @@ =cut sub setmoduledirs { -return @Module::Find::ModuleDirs = @_; +return @Module::Find::ModuleDirs = grep { defined } @_; } =item C@found = findsubmod Module::Category @@ -115,6 +115,8 @@ installation. E.g. Cusesub CGI will return CCGI::Session, but not CCGI::Session::File . +If any module dies during loading, usesub will also die at this point. + =cut sub usesub(*) { @@ -135,6 +137,8 @@ Uses and returns modules found in the Module/Category subdirectories of your perl installation. E.g. Cuseall CGI will return CCGI::Session and also CCGI::Session::File . +If any module dies during loading, useall will also die at this point. + =cut sub useall(*) { @@ -200,6 +204,11 @@ @results = grep { not $seen{$_}++ } @results; @results = map $category\::$_, @results; + +@results = map { + ($_ =~ m{^(\w+(?:::\w+)*)$})[0] || die $_ does not look like a package name +} @results; + return @results; } @@ -280,6 +289,19 @@ =item 0.11, 2012-05-22 Fixed RT#74251: defined(@array) is deprecated under Perl 5.15.7. +Thanks to Roman F, who contributed the implementation. + +=item 0.12, 2014-02-08 + +Fixed RT#81077: useall fails in taint mode +Thanks to Aran Deltac, who contributed the implementation and test. + +Fixed RT#83596: Documentation doesn't describe behaviour if a module fails to load +Clarified documentation for useall and usesub. + +Fixed RT#62923: setmoduledirs(undef)
commit perl-Module-Find for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Module-Find for openSUSE:Factory checked in at 2012-05-25 16:17:49 Comparing /work/SRC/openSUSE:Factory/perl-Module-Find (Old) and /work/SRC/openSUSE:Factory/.perl-Module-Find.new (New) Package is perl-Module-Find, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/perl-Module-Find/perl-Module-Find.changes 2012-01-12 15:26:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Module-Find.new/perl-Module-Find.changes 2012-05-25 16:17:50.0 +0200 @@ -1,0 +2,6 @@ +Wed May 23 13:42:24 UTC 2012 - co...@suse.com + +- updated to 0.11 + Fixed RT#74251: defined(@array) is deprecated under Perl 5.15.7. + +--- Old: Module-Find-0.10.tar.gz New: Module-Find-0.11.tar.gz Other differences: -- ++ perl-Module-Find.spec ++ --- /var/tmp/diff_new_pack.QaA56X/_old 2012-05-25 16:17:52.0 +0200 +++ /var/tmp/diff_new_pack.QaA56X/_new 2012-05-25 16:17:52.0 +0200 @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Module-Find -Version:0.10 +Version:0.11 Release:0 %define cpan_name Module-Find Summary:Find and use installed modules in a (sub)category @@ -28,6 +29,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +#BuildRequires: perl(Module::Find) +BuildRequires: perl(Test::Pod) = 1.14 +BuildRequires: perl(Test::Pod::Coverage) = 1.04 %{perl_requires} %description ++ Module-Find-0.10.tar.gz - Module-Find-0.11.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.10/Find.pm new/Module-Find-0.11/Find.pm --- old/Module-Find-0.10/Find.pm2010-02-26 16:40:55.0 +0100 +++ new/Module-Find-0.11/Find.pm2012-05-22 02:31:55.0 +0200 @@ -7,7 +7,7 @@ use File::Spec; use File::Find; -our $VERSION = '0.10'; +our $VERSION = '0.11'; our $basedir = undef; our @results = (); @@ -179,7 +179,7 @@ my $dir = File::Spec-catdir(split(/::/, $category)); my @dirs; -if (defined @Module::Find::ModuleDirs) { +if (@Module::Find::ModuleDirs) { @dirs = map { File::Spec-catdir($_, $dir) } @Module::Find::ModuleDirs; } else { @@ -277,6 +277,10 @@ Fixed RT#55010: Removed Unicode BOM from Find.pm. +=item 0.11, 2012-05-22 + +Fixed RT#74251: defined(@array) is deprecated under Perl 5.15.7. + =back =head1 DEVELOPMENT NOTES @@ -293,7 +297,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright 2004-2010 by Christian Renz cr...@web42.com. All rights reserved. +Copyright 2004-2012 by Christian Renz cr...@web42.com. 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.10/META.yml new/Module-Find-0.11/META.yml --- old/Module-Find-0.10/META.yml 2010-02-26 16:43:08.0 +0100 +++ new/Module-Find-0.11/META.yml 2012-05-22 02:33:31.0 +0200 @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Module-Find -version:0.10 +version:0.11 abstract: Find and use installed modules in a (sub)category author: - Christian Renz cr...@web42.com @@ -9,19 +9,18 @@ configure_requires: ExtUtils::MakeMaker: 0 build_requires: -ExtUtils::MakeMaker: 0 +Test::More: 0 requires: File::Find: 0 File::Spec: 0 perl:5.006001 -Test::More: 0 resources: repository: http://github.com/crenz/Module-Find no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.52 +generated_by: ExtUtils::MakeMaker version 6.56 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.10/README new/Module-Find-0.11/README --- old/Module-Find-0.10/README 2010-02-26 16:38:32.0 +0100 +++ new/Module-Find-0.11/README 2012-05-22 02:29:50.0 +0200 @@ -24,7 +24,7 @@ COPYRIGHT AND LICENCE -Copyright (C) 2004-2010 Christian Renz cr...@web42.com. All rights reserved. +Copyright (C) 2004-2012 Christian Renz cr...@web42.com. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: