Hello community, here is the log from the commit of package perl-File-ShareDir for openSUSE:Factory checked in at 2020-10-26 16:10:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-File-ShareDir (Old) and /work/SRC/openSUSE:Factory/.perl-File-ShareDir.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-ShareDir" Mon Oct 26 16:10:52 2020 rev:15 rq:843349 version:1.118 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-File-ShareDir/perl-File-ShareDir.changes 2019-10-30 14:41:00.721747876 +0100 +++ /work/SRC/openSUSE:Factory/.perl-File-ShareDir.new.3463/perl-File-ShareDir.changes 2020-10-26 16:11:11.442654245 +0100 @@ -1,0 +2,20 @@ +Thu Oct 22 03:13:44 UTC 2020 - Tina Müller <timueller+p...@suse.de> + +- updated to 1.118 + see /usr/share/doc/packages/perl-File-ShareDir/Changes + + 1.118 2020-10-21 + - Releasing 1.117_001 without further changes + + 1.117_001 2020-09-25 + - fix failing test of dependencies after in 1.116 (from 1.112), + thanks to Dirk Stöcker for reporting via RT#127376 and + Mohammad S Anwar (@manwar) for providing the fix via Github + PR#14 + - Fix RT#133368 (PR#15): Fix running tests in parallel submitted + by Kent Fredric (KENTNL) and fix provided by Tom Hukins (@tomhukins) + - Fix RT#125907: spelling error in manpage - thanks to Lucas Kanashiro + for reporting and Graham Knop (@haarg) for kicking me by submitting + PR#17 + +------------------------------------------------------------------- Old: ---- File-ShareDir-1.116.tar.gz New: ---- File-ShareDir-1.118.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-File-ShareDir.spec ++++++ --- /var/tmp/diff_new_pack.h8D70L/_old 2020-10-26 16:11:12.342655073 +0100 +++ /var/tmp/diff_new_pack.h8D70L/_new 2020-10-26 16:11:12.346655077 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-File-ShareDir # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: perl-File-ShareDir -Version: 1.116 +Version: 1.118 Release: 0 %define cpan_name File-ShareDir Summary: Locate per-dist and per-module shared files License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -86,7 +86,7 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor @@ -102,7 +102,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README.md +%doc Changes README.md testrules.yml %license LICENSE %changelog ++++++ File-ShareDir-1.116.tar.gz -> File-ShareDir-1.118.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/.perltidyrc new/File-ShareDir-1.118/.perltidyrc --- old/File-ShareDir-1.116/.perltidyrc 1970-01-01 01:00:00.000000000 +0100 +++ new/File-ShareDir-1.118/.perltidyrc 2020-09-25 14:01:32.000000000 +0200 @@ -0,0 +1,17 @@ +-b +-bl +-noll +-pt=2 +-bt=2 +-sbt=2 +-vt=0 +-vtc=0 +-dws +-aws +-nsfs +-asc +-bbt=0 +-cab=0 +-l=130 +-ole=unix +--noblanks-before-comments diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/Changes new/File-ShareDir-1.118/Changes --- old/File-ShareDir-1.116/Changes 2018-06-24 17:29:25.000000000 +0200 +++ new/File-ShareDir-1.118/Changes 2020-10-21 07:48:15.000000000 +0200 @@ -1,5 +1,19 @@ Revision history for Perl extension File-ShareDir +1.118 2020-10-21 + - Releasing 1.117_001 without further changes + +1.117_001 2020-09-25 + - fix failing test of dependencies after in 1.116 (from 1.112), + thanks to Dirk Stöcker for reporting via RT#127376 and + Mohammad S Anwar (@manwar) for providing the fix via Github + PR#14 + - Fix RT#133368 (PR#15): Fix running tests in parallel submitted + by Kent Fredric (KENTNL) and fix provided by Tom Hukins (@tomhukins) + - Fix RT#125907: spelling error in manpage - thanks to Lucas Kanashiro + for reporting and Graham Knop (@haarg) for kicking me by submitting + PR#17 + 1.116 2018-06-24 - fix fail-test which incorrectly read without permission ==> introduce new CI test proving this (Thanks to Ville diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/MANIFEST new/File-ShareDir-1.118/MANIFEST --- old/File-ShareDir-1.116/MANIFEST 2018-06-24 17:31:03.000000000 +0200 +++ new/File-ShareDir-1.118/MANIFEST 2020-10-21 08:12:39.000000000 +0200 @@ -1,3 +1,4 @@ +.perltidyrc Changes foo/test_file.txt inc/inc_File-ShareDir-Install/File/ShareDir/Install.pm @@ -6,7 +7,7 @@ lib/File/ShareDir.pm LICENSE Makefile.PL -MANIFEST +MANIFEST This list of files MANIFEST.SKIP README.md share/sample.txt @@ -19,5 +20,6 @@ t/05_class.t t/06_old.t t/lib/ShareDir/TestClass.pm +testrules.yml META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/MANIFEST.SKIP new/File-ShareDir-1.118/MANIFEST.SKIP --- old/File-ShareDir-1.116/MANIFEST.SKIP 2018-06-10 13:02:05.000000000 +0200 +++ new/File-ShareDir-1.118/MANIFEST.SKIP 2020-09-25 15:18:51.000000000 +0200 @@ -10,6 +10,7 @@ ^Makefile$ ^Build$ ^Build\.bat$ +cover_db/ \.Inline/.* _Inline/.* \.bak$ @@ -28,8 +29,8 @@ ^_build/.* ~$ .*\.planner -^\..* +.*\.lock +\.travis\.yml ^File-ShareDir-.* \bxt -^MYMETA\.json$ -^MYMETA\..*$ +^MYMETA.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/META.json new/File-ShareDir-1.118/META.json --- old/File-ShareDir-1.116/META.json 2018-06-24 17:31:03.000000000 +0200 +++ new/File-ShareDir-1.118/META.json 2020-10-21 08:12:39.000000000 +0200 @@ -4,7 +4,7 @@ "Adam Kennedy <ad...@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.46, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -86,6 +86,6 @@ "web" : "https://github.com/perl5-utils/File-ShareDir" } }, - "version" : "1.116", - "x_serialization_backend" : "JSON::PP version 2.97001" + "version" : "1.118", + "x_serialization_backend" : "JSON::PP version 4.05" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/META.yml new/File-ShareDir-1.118/META.yml --- old/File-ShareDir-1.116/META.yml 2018-06-24 17:31:03.000000000 +0200 +++ new/File-ShareDir-1.118/META.yml 2020-10-21 08:12:39.000000000 +0200 @@ -11,7 +11,7 @@ ExtUtils::MakeMaker: '0' File::ShareDir::Install: '0.13' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.46, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -33,5 +33,5 @@ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=File-ShareDir homepage: https://metacpan.org/release/File-ShareDir repository: https://github.com/perl5-utils/File-ShareDir -version: '1.116' +version: '1.118' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/lib/File/ShareDir.pm new/File-ShareDir-1.118/lib/File/ShareDir.pm --- old/File-ShareDir-1.116/lib/File/ShareDir.pm 2018-06-24 17:22:04.000000000 +0200 +++ new/File-ShareDir-1.118/lib/File/ShareDir.pm 2020-10-21 07:43:23.000000000 +0200 @@ -145,7 +145,7 @@ our %EXPORT_TAGS = ( ALL => [@EXPORT_OK], ); -our $VERSION = '1.116'; +our $VERSION = '1.118'; ##################################################################### # Interface Functions @@ -251,7 +251,7 @@ my $long = Class::Inspector->loaded_filename($module); $short =~ tr{/}{:} if IS_MACOS; $short =~ tr{\\} {/} if IS_WIN32; - $long =~ tr{\\} {/} if IS_WIN32; + $long =~ tr{\\} {/} if IS_WIN32; substr($short, -3, 3, ''); $long =~ m/^(.*)\Q$short\E\.pm\z/s or Carp::croak("Failed to find base dir"); my $dir = File::Spec->catdir("$1", 'auto', $short); @@ -573,7 +573,7 @@ use Foo::Module; - # interal calls in Foo::Module to module_file('Foo::Module','bar') now resolves to + # internal calls in Foo::Module to module_file('Foo::Module','bar') now resolves to # the source trees share/ directory instead of something in @INC =head1 SUPPORT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/t/00_prereqs.t new/File-ShareDir-1.118/t/00_prereqs.t --- old/File-ShareDir-1.116/t/00_prereqs.t 2018-06-24 16:03:31.000000000 +0200 +++ new/File-ShareDir-1.118/t/00_prereqs.t 2020-09-25 15:34:43.000000000 +0200 @@ -7,10 +7,12 @@ # Prereqs-testing for File::ShareDir -TODO: +BEGIN { - local $TODO = "Just diagnostics ..."; - use_ok("CPAN::Meta") or plan skip_all => "Need CPAN::Meta for this test"; + if (!eval { require CPAN::Meta; 1 }) + { + plan skip_all => "Need CPAN::Meta for this test"; + } } my $meta = CPAN::Meta->load_file(-d "xt" ? "MYMETA.json" : "META.json"); @@ -28,7 +30,7 @@ { foreach my $severity (qw/requires recommends suggests/) { - my $reqs = $prereqs->requirements_for($phase, $severity); + my $reqs = $prereqs->requirements_for($phase, $severity); my @modules = sort $reqs->required_modules; @modules or next; @@ -49,9 +51,18 @@ if (eval { require_ok($module) unless $module eq 'perl'; 1 }) { my $version = $module eq 'perl' ? $] : $module->VERSION; - $len{have} < length($version) and $len{have} = length($version); - my $ok = ok($reqs->accepts_module($module, $version), "$module matches required $version"); - my $status = $ok ? "ok" : "not ok"; + my $status; + if (defined $version) + { + $len{have} < length($version) and $len{have} = length($version); + my $ok = ok($reqs->accepts_module($module, $version), "$module matches required $version"); + $status = $ok ? "ok" : "not ok"; + } + else + { + $status = "not ok"; + $version = "n/a"; + } $report{$phase}{$severity}{$module} = { want => $want, have => $version, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/t/04_fail.t new/File-ShareDir-1.118/t/04_fail.t --- old/File-ShareDir-1.116/t/04_fail.t 2018-06-24 11:38:18.000000000 +0200 +++ new/File-ShareDir-1.118/t/04_fail.t 2020-09-25 15:27:54.000000000 +0200 @@ -66,7 +66,7 @@ remove_tree($testautolib); -dies(sub { my $dist_dir = dist_dir('ShareDir-TestClass'); }, qr/Failed to find share dir for dist/, "No module directory"); +dies(sub { my $dist_dir = dist_dir('ShareDir-TestClass'); }, qr/Failed to find share dir for dist/, "No module directory"); dies(sub { my $module_dir = module_dir('ShareDir::TestClass'); }, qr/No such directory/, "Old module directory but file"); make_path(dirname($testsharedirold), {mode => 0700}); @@ -101,7 +101,7 @@ close($fh); dies(sub { my $module_dir = module_dir('ShareDir::TestClass'); }, qr/No such directory/, "Old module directory but file"); -dies(sub { my $dist_dir = dist_dir('ShareDir-TestClass'); }, qr/Failed to find share dir for dist/, +dies(sub { my $dist_dir = dist_dir('ShareDir-TestClass'); }, qr/Failed to find share dir for dist/, "Old dist directory but file"); dies( sub { my $dist_file = dist_file('ShareDir-TestClass', 'noread.txt'); }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/t/06_old.t new/File-ShareDir-1.118/t/06_old.t --- old/File-ShareDir-1.116/t/06_old.t 2018-06-15 18:20:19.000000000 +0200 +++ new/File-ShareDir-1.118/t/06_old.t 2020-09-25 15:27:50.000000000 +0200 @@ -25,22 +25,26 @@ remove_tree($testautolib); make_path($testsharedirold, {mode => 0700}); -open(my $fh, ">", File::Spec->catfile($testsharedirold, qw(sample.txt))); -close($fh); +SKIP: +{ + open(my $fh, ">", File::Spec->catfile($testsharedirold, qw(sample.txt))) + or skip "Can't write to [$testsharedirold]: $!", 9; + close($fh); -my $module_dir = module_dir('ShareDir::TestClass'); -ok($module_dir, 'Can find our own module dir'); -ok(-d $module_dir, '... and is a dir'); -ok(-r $module_dir, '... and have read permissions'); + my $module_dir = module_dir('ShareDir::TestClass'); + ok($module_dir, 'Can find our own module dir'); + ok(-d $module_dir, '... and is a dir'); + ok(-r $module_dir, '... and have read permissions'); -my $dist_dir = dist_dir('ShareDir-TestClass'); -ok($dist_dir, 'Can find our own dist dir'); -ok(-d $dist_dir, '... and is a dir'); -ok(-r $dist_dir, '... and have read permissions'); + my $dist_dir = dist_dir('ShareDir-TestClass'); + ok($dist_dir, 'Can find our own dist dir'); + ok(-d $dist_dir, '... and is a dir'); + ok(-r $dist_dir, '... and have read permissions'); -my $dist_file = dist_file('ShareDir-TestClass', 'sample.txt'); -ok($dist_file, 'Can find our sample module file'); -ok(-f $dist_file, '... and is a file'); -ok(-r $dist_file, '... and have read permissions'); + my $dist_file = dist_file('ShareDir-TestClass', 'sample.txt'); + ok($dist_file, 'Can find our sample module file'); + ok(-f $dist_file, '... and is a file'); + ok(-r $dist_file, '... and have read permissions'); +} done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/t/lib/ShareDir/TestClass.pm new/File-ShareDir-1.118/t/lib/ShareDir/TestClass.pm --- old/File-ShareDir-1.116/t/lib/ShareDir/TestClass.pm 2018-06-15 10:42:05.000000000 +0200 +++ new/File-ShareDir-1.118/t/lib/ShareDir/TestClass.pm 2020-10-21 07:43:23.000000000 +0200 @@ -4,6 +4,6 @@ use parent ("File::ShareDir"); -our $VERSION = "1.02"; +our $VERSION = "1.118"; 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-1.116/testrules.yml new/File-ShareDir-1.118/testrules.yml --- old/File-ShareDir-1.116/testrules.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/File-ShareDir-1.118/testrules.yml 2020-09-25 15:28:48.000000000 +0200 @@ -0,0 +1,5 @@ +seq: + - seq: + - t/04_fail.t + - t/06_old.t + - par: **