Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Test-Compile for
openSUSE:Factory checked in at 2024-05-16 17:16:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Compile (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Compile.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Compile"
Thu May 16 17:16:45 2024 rev:20 rq:1174454 version:3.3.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Compile/perl-Test-Compile.changes
2024-03-09 20:56:08.981806754 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Test-Compile.new.1880/perl-Test-Compile.changes
2024-05-16 17:19:15.588804471 +0200
@@ -1,0 +2,13 @@
+Mon May 6 03:07:58 UTC 2024 - Tina Müller <[email protected]>
+
+- updated to 3.3.3
+ see /usr/share/doc/packages/perl-Test-Compile/Changes
+
+ v3.3.3 2024-05-06
+ - Be more careful about windows filenames
+
+ v3.3.2 2024-05-03
+ - Require a newer version of Test::More (fix CPAN testing failure?)
+ - Don't add an unnecassary "./" to the start of filepaths (CPAN-RT
151090)
+
+-------------------------------------------------------------------
Old:
----
Test-Compile-v3.3.1.tar.gz
New:
----
Test-Compile-v3.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Compile.spec ++++++
--- /var/tmp/diff_new_pack.6vNXFE/_old 2024-05-16 17:19:15.984818824 +0200
+++ /var/tmp/diff_new_pack.6vNXFE/_new 2024-05-16 17:19:15.984818824 +0200
@@ -18,7 +18,7 @@
%define cpan_name Test-Compile
Name: perl-Test-Compile
-Version: 3.3.1
+Version: 3.3.3
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Assert that your Perl files compile OK
@@ -29,14 +29,11 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Exporter) >= 5.68
-BuildRequires: perl(Module::Build) >= 0.380000
+BuildRequires: perl(Module::Build) >= 0.38
+BuildRequires: perl(Test::More) >= 1.3
BuildRequires: perl(parent) >= 0.225
-BuildRequires: perl(version) >= 0.77
Requires: perl(Exporter) >= 5.68
Requires: perl(parent) >= 0.225
-Provides: perl(Test::Compile) = 3.3.1
-Provides: perl(Test::Compile::Internal) = 3.3.1
-%undefine __perllib_provides
%{perl_requires}
%description
++++++ Test-Compile-v3.3.1.tar.gz -> Test-Compile-v3.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/Build.PL
new/Test-Compile-v3.3.3/Build.PL
--- old/Test-Compile-v3.3.1/Build.PL 2023-07-17 02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/Build.PL 2024-05-05 23:48:32.000000000 +0200
@@ -12,12 +12,14 @@
license => 'perl',
configure_requires => {
'Module::Build' => 0.38,
- 'version' => 0.77
},
requires => {
- 'perl' => '5.10.0',
- 'parent' => '0.225',
- 'Exporter' => '5.68',
+ 'perl' => '5.10.0',
+ 'parent' => '0.225',
+ 'Exporter' => '5.68',
+ },
+ test_requires => {
+ 'Test::More' => 1.3
},
create_makefile_pl => 'traditional',
meta_merge => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/Changes
new/Test-Compile-v3.3.3/Changes
--- old/Test-Compile-v3.3.1/Changes 2023-07-17 02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/Changes 2024-05-05 23:48:32.000000000 +0200
@@ -1,5 +1,12 @@
Revision history for Perl extension Test-Compile
+v3.3.3 2024-05-06
+ - Be more careful about windows filenames
+
+v3.3.2 2024-05-03
+ - Require a newer version of Test::More (fix CPAN testing failure?)
+ - Don't add an unnecassary "./" to the start of filepaths (CPAN-RT 151090)
+
v3.3.1 2023-07-17
- Fix 'silent, no taint' mode (which doesn't cause the compile to fail)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/MANIFEST
new/Test-Compile-v3.3.3/MANIFEST
--- old/Test-Compile-v3.3.1/MANIFEST 2023-07-17 02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/MANIFEST 2024-05-05 23:48:32.000000000 +0200
@@ -9,6 +9,7 @@
META.yml
README
t/000-compile.t
+t/100-internal--default_locations.t
t/100-internal--find-files-ignores-cvs.t
t/100-internal--find-files-ignores-svn.t
t/100-internal--find-files.t
@@ -24,6 +25,7 @@
t/100-internal-mess-with-lib.t
t/100-internal-pl-file-compiles.t
t/100-internal-pm-file-compiles.t
+t/100-internal-testfail.t
t/100-internal-verbose.t
t/200-import-check.t
t/200-all-files-ok.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/META.json
new/Test-Compile-v3.3.3/META.json
--- old/Test-Compile-v3.3.1/META.json 2023-07-17 02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/META.json 2024-05-05 23:48:32.000000000 +0200
@@ -4,7 +4,7 @@
"Evan Giles <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4231",
+ "generated_by" : "Module::Build version 0.4232",
"license" : [
"perl_5"
],
@@ -16,8 +16,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "Module::Build" : "0.38",
- "version" : "0.77"
+ "Module::Build" : "0.38"
}
},
"runtime" : {
@@ -26,16 +25,21 @@
"parent" : "0.225",
"perl" : "v5.10.0"
}
+ },
+ "test" : {
+ "requires" : {
+ "Test::More" : "1.3"
+ }
}
},
"provides" : {
"Test::Compile" : {
"file" : "lib/Test/Compile.pm",
- "version" : "v3.3.1"
+ "version" : "v3.3.3"
},
"Test::Compile::Internal" : {
"file" : "lib/Test/Compile/Internal.pm",
- "version" : "v3.3.1"
+ "version" : "v3.3.3"
}
},
"release_status" : "stable",
@@ -47,6 +51,6 @@
"url" : "http://github.com/egiles/test-compile"
}
},
- "version" : "v3.3.1",
- "x_serialization_backend" : "JSON::PP version 4.04"
+ "version" : "v3.3.3",
+ "x_serialization_backend" : "JSON::PP version 4.07"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/META.yml
new/Test-Compile-v3.3.3/META.yml
--- old/Test-Compile-v3.3.1/META.yml 2023-07-17 02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/META.yml 2024-05-05 23:48:32.000000000 +0200
@@ -2,12 +2,12 @@
abstract: 'Assert that your Perl files compile OK.'
author:
- 'Evan Giles <[email protected]>'
-build_requires: {}
+build_requires:
+ Test::More: '1.3'
configure_requires:
Module::Build: '0.38'
- version: '0.77'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4231, CPAN::Meta::Converter version
2.150010'
+generated_by: 'Module::Build version 0.4232, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -16,10 +16,10 @@
provides:
Test::Compile:
file: lib/Test/Compile.pm
- version: v3.3.1
+ version: v3.3.3
Test::Compile::Internal:
file: lib/Test/Compile/Internal.pm
- version: v3.3.1
+ version: v3.3.3
requires:
Exporter: '5.68'
parent: '0.225'
@@ -27,5 +27,5 @@
resources:
license: http://dev.perl.org/licenses/
repository: http://github.com/egiles/test-compile
-version: v3.3.1
+version: v3.3.3
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/Makefile.PL
new/Test-Compile-v3.3.3/Makefile.PL
--- old/Test-Compile-v3.3.1/Makefile.PL 2023-07-17 02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/Makefile.PL 2024-05-05 23:48:32.000000000 +0200
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.4231
+# Note: this file was auto-generated by Module::Build::Compat version 0.4232
require 5.010000;
use ExtUtils::MakeMaker;
WriteMakefile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/lib/Test/Compile/Internal.pm
new/Test-Compile-v3.3.3/lib/Test/Compile/Internal.pm
--- old/Test-Compile-v3.3.1/lib/Test/Compile/Internal.pm 2023-07-17
02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/lib/Test/Compile/Internal.pm 2024-05-05
23:48:32.000000000 +0200
@@ -3,7 +3,7 @@
use warnings;
use strict;
-use version; our $VERSION = version->declare("v3.3.1");
+use version; our $VERSION = version->declare("v3.3.3");
use File::Find;
use File::Spec;
use Test::Builder;
@@ -387,10 +387,14 @@
sub _default_locations {
my ($self, @dirs) = @_;
+ my $blib = -e 'blib';
my @locations = ();
- my $prefix = -e 'blib' ? "blib" : ".";
+
for my $dir ( @dirs ) {
- my $location = File::Spec->catfile($prefix, $dir);
+ my $location = File::Spec->catfile($dir);
+ if ( $blib ) {
+ $location = File::Spec->catfile('blib', $dir);
+ }
if ( -e $location ) {
push @locations, $location;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/lib/Test/Compile.pm
new/Test-Compile-v3.3.3/lib/Test/Compile.pm
--- old/Test-Compile-v3.3.1/lib/Test/Compile.pm 2023-07-17 02:04:53.000000000
+0200
+++ new/Test-Compile-v3.3.3/lib/Test/Compile.pm 2024-05-05 23:48:32.000000000
+0200
@@ -3,7 +3,7 @@
use warnings;
use strict;
-use version; our $VERSION = version->declare("v3.3.1");
+use version; our $VERSION = version->declare("v3.3.3");
use parent 'Exporter';
use Test::Compile::Internal;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test-Compile-v3.3.1/t/100-internal--default_locations.t
new/Test-Compile-v3.3.3/t/100-internal--default_locations.t
--- old/Test-Compile-v3.3.1/t/100-internal--default_locations.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Test-Compile-v3.3.3/t/100-internal--default_locations.t 2024-05-05
23:48:32.000000000 +0200
@@ -0,0 +1,44 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+use Test::Compile::Internal;
+use File::Spec;
+
+my $internal = Test::Compile::Internal->new();
+my @locations;
+
+# Given, When
+@locations = $internal->_default_locations();
+
+# Then
+is(@locations, 0, "no locations found");
+
+# Given, When
+@locations = $internal->_default_locations("flubber");
+
+# Then
+is(@locations, 0, "didn't find flubber");
+
+# Given, When
+@locations = $internal->_default_locations("lib");
+
+# Then
+is(@locations, 1, "lib directory seems good");
+
+# Given
+if ( -e 'blib' ) {
+ # When
+ @locations = $internal->_default_locations("lib");
+
+ # Then
+ my $expected = File::Spec->catfile("blib", "lib");
+ is($locations[0], $expected, "prefer to look in blib if it's available");
+}
+
+
+
+$internal->done_testing
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/t/100-internal-basic.t
new/Test-Compile-v3.3.3/t/100-internal-basic.t
--- old/Test-Compile-v3.3.1/t/100-internal-basic.t 2023-07-17
02:04:53.000000000 +0200
+++ new/Test-Compile-v3.3.3/t/100-internal-basic.t 2024-05-05
23:48:32.000000000 +0200
@@ -22,15 +22,5 @@
$result = $test->all_files_ok();
$test->ok($result, "all_files_ok returns true value");
-TODO: {
- local $TODO = "testing files that don't compile, cause the test to fail";
-
- $result = $test->all_files_ok('t/scripts/failure.pl');
- $test->ok($result, "failure.pl doesn't compile");
-
- $result = $test->all_files_ok('t/scripts/Fail.pm');
- $test->ok($result, "Fail doesn't compile");
-}
-
# Fin...
$test->done_testing();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Compile-v3.3.1/t/100-internal-testfail.t
new/Test-Compile-v3.3.3/t/100-internal-testfail.t
--- old/Test-Compile-v3.3.1/t/100-internal-testfail.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Test-Compile-v3.3.3/t/100-internal-testfail.t 2024-05-05
23:48:32.000000000 +0200
@@ -0,0 +1,27 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+require_ok('Test::Compile::Internal');
+my $test = new_ok('Test::Compile::Internal');
+
+# Some of the logic actually calls Test::More::ok
+# ..test some conditions where that isn't going to work
+
+my $result;
+
+TODO: {
+ local $TODO = "testing files that don't compile - causes the test to fail";
+
+ $result = $test->all_files_ok('t/scripts/failure.pl');
+ $test->ok($result, "failure.pl doesn't compile");
+
+ $result = $test->all_files_ok('t/scripts/Fail.pm');
+ $test->ok($result, "Fail doesn't compile");
+}
+
+# Fin...
+$test->done_testing();