Hello community,
here is the log from the commit of package perl-Test-Compile for openSUSE:Factory checked in at 2015-04-15 16:26:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Compile (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Compile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Compile"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Compile/perl-Test-Compile.changes 2014-12-03 22:48:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Test-Compile.new/perl-Test-Compile.changes 2015-04-15 16:27:01.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Apr 14 18:34:18 UTC 2015 - coolo@suse.com
+
+- updated to 1.2.1
+ see /usr/share/doc/packages/perl-Test-Compile/Changes
+
+ v1.2.1 UNRELEASED (Evan Giles )
+ - Fix (skip where appropriate) failing CPAN test
+ - Avoid warnings for empty files in all_pl_files (Nigel Gregoire)
+
+-------------------------------------------------------------------
Old:
----
Test-Compile-v1.2.0.tar.gz
New:
----
Test-Compile-v1.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Compile.spec ++++++
--- /var/tmp/diff_new_pack.GPKQfV/_old 2015-04-15 16:27:01.000000000 +0200
+++ /var/tmp/diff_new_pack.GPKQfV/_new 2015-04-15 16:27:01.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Compile
#
-# 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,10 +17,10 @@
Name: perl-Test-Compile
-Version: 1.2.0
+Version: 1.2.1
Release: 0
%define cpan_name Test-Compile
-Summary: Check whether Perl files compile correctly.
+Summary: Check whether Perl files compile correctly
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Compile/
@@ -74,6 +74,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README xt
+%doc Changes LICENSE README
%changelog
++++++ Test-Compile-v1.2.0.tar.gz -> Test-Compile-v1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/Changes new/Test-Compile-v1.2.1/Changes
--- old/Test-Compile-v1.2.0/Changes 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/Changes 2014-12-08 01:01:52.000000000 +0100
@@ -1,5 +1,9 @@
Revision history for Perl extension Test-Compile
+v1.2.1 UNRELEASED (Evan Giles )
+ - Fix (skip where appropriate) failing CPAN test
+ - Avoid warnings for empty files in all_pl_files (Nigel Gregoire)
+
v1.2.0 2014-08-08 (Evan Giles )
- Files without extension may not be perl (rt83917)
- Small POD fix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/MANIFEST new/Test-Compile-v1.2.1/MANIFEST
--- old/Test-Compile-v1.2.0/MANIFEST 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/MANIFEST 2014-12-08 01:01:52.000000000 +0100
@@ -30,6 +30,7 @@
t/scripts/Module.pm
t/scripts/perlscript
t/scripts/shellscript
+t/scripts/subdir/empty
t/scripts/subdir/success.pl
t/scripts/taint.pl
xt/author/01_perl_critic.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/META.json new/Test-Compile-v1.2.1/META.json
--- old/Test-Compile-v1.2.0/META.json 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/META.json 2014-12-08 01:01:52.000000000 +0100
@@ -4,7 +4,7 @@
"Evan Giles "
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440",
"license" : [
"perl_5"
],
@@ -21,23 +21,23 @@
},
"runtime" : {
"recommends" : {
- "Devel::CheckOS" : "0"
+ "Devel::CheckOS" : 0
},
"requires" : {
- "UNIVERSAL::require" : "0",
+ "UNIVERSAL::require" : 0,
"perl" : "v5.6.2",
- "version" : "0"
+ "version" : 0
}
}
},
"provides" : {
"Test::Compile" : {
"file" : "lib/Test/Compile.pm",
- "version" : "v1.2.0"
+ "version" : "v1.2.1"
},
"Test::Compile::Internal" : {
"file" : "lib/Test/Compile/Internal.pm",
- "version" : "v1.2.0"
+ "version" : "v1.2.1"
}
},
"release_status" : "stable",
@@ -49,5 +49,5 @@
"url" : "http://github.com/egiles/test-compile"
}
},
- "version" : "v1.2.0"
+ "version" : "v1.2.1"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/META.yml new/Test-Compile-v1.2.1/META.yml
--- old/Test-Compile-v1.2.0/META.yml 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/META.yml 2014-12-08 01:01:52.000000000 +0100
@@ -6,7 +6,7 @@
configure_requires:
Module::Build: 0.38
dynamic_config: 1
-generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.120921'
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -15,10 +15,10 @@
provides:
Test::Compile:
file: lib/Test/Compile.pm
- version: v1.2.0
+ version: v1.2.1
Test::Compile::Internal:
file: lib/Test/Compile/Internal.pm
- version: v1.2.0
+ version: v1.2.1
recommends:
Devel::CheckOS: 0
requires:
@@ -28,4 +28,4 @@
resources:
license: http://dev.perl.org/licenses/
repository: http://github.com/egiles/test-compile
-version: v1.2.0
+version: v1.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/lib/Test/Compile/Internal.pm new/Test-Compile-v1.2.1/lib/Test/Compile/Internal.pm
--- old/Test-Compile-v1.2.0/lib/Test/Compile/Internal.pm 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/lib/Test/Compile/Internal.pm 2014-12-08 01:01:52.000000000 +0100
@@ -4,10 +4,10 @@
use warnings;
use strict;
+use version; our $VERSION = qv("v1.2.1");
use File::Spec;
use UNIVERSAL::require;
use Test::Builder;
-use version; our $VERSION = qv("v1.2.0");
=head1 NAME
@@ -358,7 +358,7 @@
open(my $f, "<", $file) or die "could not open $file";
my $line = <$f>;
- if ( $line =~ m/^#!/ ) {
+ if (defined $line && $line =~ m/^#!/ ) {
return $line;
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/lib/Test/Compile.pm new/Test-Compile-v1.2.1/lib/Test/Compile.pm
--- old/Test-Compile-v1.2.0/lib/Test/Compile.pm 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/lib/Test/Compile.pm 2014-12-08 01:01:52.000000000 +0100
@@ -4,9 +4,9 @@
use warnings;
use strict;
+use version; our $VERSION = qv("v1.2.1");
use UNIVERSAL::require;
use Test::Compile::Internal;
-use version; our $VERSION = qv("v1.2.0");
my $Test = Test::Compile::Internal->new();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/t/100-internal-all-pl-files.t new/Test-Compile-v1.2.1/t/100-internal-all-pl-files.t
--- old/Test-Compile-v1.2.0/t/100-internal-all-pl-files.t 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/t/100-internal-all-pl-files.t 2014-12-08 01:01:52.000000000 +0100
@@ -6,6 +6,8 @@
use File::Spec;
use Test::More;
use Test::Compile::Internal;
+eval 'use Test::Warnings; 1;'
+ or diag "Please install Test::Warnings, so I can make sure there are no warnings";
my $internal = Test::Compile::Internal->new();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Compile-v1.2.0/t/100-internal-pl-file-compiles.t new/Test-Compile-v1.2.1/t/100-internal-pl-file-compiles.t
--- old/Test-Compile-v1.2.0/t/100-internal-pl-file-compiles.t 2014-08-08 05:14:41.000000000 +0200
+++ new/Test-Compile-v1.2.1/t/100-internal-pl-file-compiles.t 2014-12-08 01:01:52.000000000 +0100
@@ -15,8 +15,12 @@
my $taint = $internal->pl_file_compiles('t/scripts/taint.pl');
is($taint,1,"taint.pl should compile - with -T enabled");
-my $taint2 = $internal->pl_file_compiles('t/scripts/CVS/taint2.pl');
-is($taint2,1,"taint2.pl should compile - with -t enabled");
+SKIP : {
+ skip("-t was introduced in perl 5.8.0 ($])", 1) unless $] gt '5.008';
+
+ my $taint2 = $internal->pl_file_compiles('t/scripts/CVS/taint2.pl');
+ is($taint2,1,"taint2.pl should compile - with -t enabled");
+}
my $no = $internal->pl_file_compiles('t/scripts/failure.pl');
is($no,0,"failure.pl should not compile");