Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Module-Find for openSUSE:Factory checked in at 2022-08-24 15:11:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Module-Find (Old) and /work/SRC/openSUSE:Factory/.perl-Module-Find.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Find" Wed Aug 24 15:11:28 2022 rev:10 rq:998915 version:0.16 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Module-Find/perl-Module-Find.changes 2019-12-30 12:35:20.423820921 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Module-Find.new.2083/perl-Module-Find.changes 2022-08-24 15:11:51.380544652 +0200 @@ -1,0 +2,6 @@ +Tue Aug 2 03:07:47 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 0.16 + see /usr/share/doc/packages/perl-Module-Find/Changes + +------------------------------------------------------------------- Old: ---- Module-Find-0.15.tar.gz New: ---- Module-Find-0.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Module-Find.spec ++++++ --- /var/tmp/diff_new_pack.51mH4d/_old 2022-08-24 15:11:51.896545150 +0200 +++ /var/tmp/diff_new_pack.51mH4d/_new 2022-08-24 15:11:51.904545158 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Find # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,16 @@ # +%define cpan_name Module-Find Name: perl-Module-Find -Version: 0.15 +Version: 0.16 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-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +Summary: Find and use installed modules in a (sub)category +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 BuildRequires: perl BuildRequires: perl-macros Recommends: perl(Test::Pod) >= 1.14 @@ -44,11 +42,11 @@ you modify '@INC' before you call the Module::Find functions. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -59,7 +57,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes examples MANIFEST.skip README %changelog ++++++ Module-Find-0.15.tar.gz -> Module-Find-0.16.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.15/Find.pm new/Module-Find-0.16/Find.pm --- old/Module-Find-0.15/Find.pm 2019-12-26 01:29:28.000000000 +0100 +++ new/Module-Find-0.16/Find.pm 2022-08-01 16:49:27.507930607 +0200 @@ -1,13 +1,13 @@ package Module::Find; -use 5.006001; +use 5.008001; use strict; use warnings; use File::Spec; use File::Find; -our $VERSION = '0.15'; +our $VERSION = '0.16'; our $basedir = undef; our @results = (); @@ -345,11 +345,23 @@ directories that did not contain @INC, Module::Find would find the modules correctly, but load them from @INC. +=item 0.16, 2022-08-01 + +Fixes an issue where symlink tests failed on systems that do not support creation of symlinks. +The issue appears on Windows systems due to changed behaviour in C<File::Find> described +in L<perl5/issue #19995|https://github.com/Perl/perl5/issues/19995> +Symlink tests were previously skipped if C<symlink()> is not available, and now +also if creation of a symlink is not possible. + +Fixes L<issue #9|https://github.com/crenz/Module-Find/issues/9>. Note that on Windows system, +the patch to C<File::Find> from L<perl5/PR #20008|https://github.com/Perl/perl5/pull/20008> +will be required for proper operation. + =back =head1 DEVELOPMENT NOTES -Please report any bugs using the CPAN RT system. The development repository for this module is hosted on GitHub: L<http://github.com/crenz/Module-Find/>. +The development repository for this module is hosted on GitHub: L<http://github.com/crenz/Module-Find/>. Please report any bugs by opening an issue there. =head1 SEE ALSO @@ -361,7 +373,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright 2004-2019 by Christian Renz <cr...@web42.com>. All rights reserved. +Copyright 2004-2022 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.15/MANIFEST new/Module-Find-0.16/MANIFEST --- old/Module-Find-0.15/MANIFEST 2019-12-26 01:30:22.000000000 +0100 +++ new/Module-Find-0.16/MANIFEST 2022-08-01 17:07:39.000000000 +0200 @@ -17,12 +17,14 @@ t/09-inc-hook.t t/10-wrong-module-sub.t t/11-wrong-module-all.t +t/12-loadfail.t t/50-meta.t t/51-pod.t t/52-pod-coverage.t t/test/duplicates/ModuleFindTest.pm t/test/duplicates/ModuleFindTest/SubMod.pm t/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm +t/test/LoadFailTest/LoadFailMod.pm t/test/ModuleFindTest.pm t/test/ModuleFindTest/SubMod.pm t/test/ModuleFindTest/SubMod/SubSubMod.pm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.15/META.json new/Module-Find-0.16/META.json --- old/Module-Find-0.15/META.json 2019-12-26 01:30:22.000000000 +0100 +++ new/Module-Find-0.16/META.json 2022-08-01 17:07:39.000000000 +0200 @@ -4,13 +4,13 @@ "Christian Renz <cr...@web42.com>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Module-Find", "no_index" : { @@ -38,7 +38,7 @@ "requires" : { "File::Find" : "0", "File::Spec" : "0", - "perl" : "5.006001" + "perl" : "5.008001" } } }, @@ -48,5 +48,6 @@ "url" : "http://github.com/crenz/Module-Find" } }, - "version" : "0.15" + "version" : "0.16", + "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.15/META.yml new/Module-Find-0.16/META.yml --- old/Module-Find-0.15/META.yml 2019-12-26 01:30:21.000000000 +0100 +++ new/Module-Find-0.16/META.yml 2022-08-01 17:07:39.000000000 +0200 @@ -3,27 +3,28 @@ author: - 'Christian Renz <cr...@web42.com>' build_requires: - Test::More: 0 + Test::More: '0' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380' +generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + 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 + File::Find: '0' + File::Spec: '0' + perl: '5.008001' resources: repository: http://github.com/crenz/Module-Find -version: 0.15 +version: '0.16' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.15/Makefile.PL new/Module-Find-0.16/Makefile.PL --- old/Module-Find-0.15/Makefile.PL 2019-12-25 15:16:05.000000000 +0100 +++ new/Module-Find-0.16/Makefile.PL 2022-08-01 16:50:35.182844328 +0200 @@ -1,12 +1,12 @@ use strict; use warnings; -use 5.006001; +use 5.008001; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile1( - MIN_PERL_VERSION => '5.006001', + MIN_PERL_VERSION => '5.008001', META_MERGE => { resources => { repository => 'http://github.com/crenz/Module-Find', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.15/README new/Module-Find-0.16/README --- old/Module-Find-0.15/README 2019-12-26 01:29:17.000000000 +0100 +++ new/Module-Find-0.16/README 2022-08-01 17:07:18.970392903 +0200 @@ -1,5 +1,5 @@ -Module::Find -============ +Module::Find version 0.16 +========================= Module::Find lets you find and use modules in categories. This can be very useful for auto-detecting driver or plugin modules. You can differentiate @@ -24,7 +24,7 @@ COPYRIGHT AND LICENCE -Copyright (C) 2004-2019 Christian Renz <cr...@web42.com>. All rights reserved. +Copyright (C) 2004-2022 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.15/t/07-symlinks.t new/Module-Find-0.16/t/07-symlinks.t --- old/Module-Find-0.15/t/07-symlinks.t 2019-12-25 15:31:06.000000000 +0100 +++ new/Module-Find-0.16/t/07-symlinks.t 2022-08-01 16:38:02.667193829 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More tests => 13; +use Test::More tests => 14; use Module::Find qw(ignoresymlinks followsymlinks findsubmod findallmod); @@ -11,11 +11,15 @@ my $linkName = "./t/test/ModuleFindTestSymLink"; SKIP: { - eval { symlink($dirName, $linkName) }; - skip "Symlinks not supported on this system", 13 if $@; + my $r = eval { symlink($dirName, $linkName) }; + skip "Symlinks not supported on this system", 14 if $@; + skip "Unable to create symlink", 14 if $r == 0; + + # Ensure link was created and is actually a symlink + ok(-l $linkName); my @l; - + # Default behaviour: follow symlinks ----------------------- @l = findsubmod ModuleFindTestSymLink; ok($#l == 0); @@ -48,7 +52,6 @@ ok($l[1] eq 'ModuleFindTestSymLink::SubMod::SubSubMod'); - # Clean up unlink $linkName; ok(!-e $linkName); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.15/t/12-loadfail.t new/Module-Find-0.16/t/12-loadfail.t --- old/Module-Find-0.15/t/12-loadfail.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Module-Find-0.16/t/12-loadfail.t 2022-08-01 16:38:02.667928409 +0200 @@ -0,0 +1,25 @@ +use strict; +use warnings; + +use Test::More tests => 8; + +use Module::Find; + +use lib qw(./t/test); + +my @l; + +@l = findsubmod LoadFailTest; + +ok($#l == 0); +ok($l[0] eq 'LoadFailTest::LoadFailMod'); + +eval { @l = usesub LoadFailTest }; +ok($#l == 0); +ok($l[0] eq 'LoadFailTest::LoadFailMod'); +ok($@); # OK if loading failed and returned an error + +eval { @l = useall LoadFailTest }; +ok($#l == 0); +ok($l[0] eq 'LoadFailTest::LoadFailMod'); +ok($@); # OK if loading failed and returned an error diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.15/t/test/LoadFailTest/LoadFailMod.pm new/Module-Find-0.16/t/test/LoadFailTest/LoadFailMod.pm --- old/Module-Find-0.15/t/test/LoadFailTest/LoadFailMod.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Module-Find-0.16/t/test/LoadFailTest/LoadFailMod.pm 2022-08-01 16:38:02.668957196 +0200 @@ -0,0 +1,3 @@ +package LoadFailTest::LoadFailMod; + +return 0;