Hello community,
here is the log from the commit of package perl-IPC-System-Simple for
openSUSE:Factory checked in at 2020-01-30 09:36:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-IPC-System-Simple (Old)
and /work/SRC/openSUSE:Factory/.perl-IPC-System-Simple.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-IPC-System-Simple"
Thu Jan 30 09:36:17 2020 rev:6 rq:767811 version:1.26
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-IPC-System-Simple/perl-IPC-System-Simple.changes
2013-11-29 07:04:00.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-IPC-System-Simple.new.26092/perl-IPC-System-Simple.changes
2020-01-30 09:36:47.809342274 +0100
@@ -1,0 +2,25 @@
+Sun Jan 26 03:07:34 UTC 2020 - <[email protected]>
+
+- updated to 1.26
+ see /usr/share/doc/packages/perl-IPC-System-Simple/Changes
+
+ 1.26 2020-01-25 02:00:45+00:00 UTC
+
+ 1.26 2020-01-24 20:47 America/NewYork
+ * BUILD: Update FAIL_POSIX warning message
+ Per: https://github.com/pjf/ipc-system-simple/pull/28. Thanks to
scop.
+
+ * TEST: t/07_taint.t: Use executable name as source of taintedness
+ Addresses https://github.com/pjf/ipc-system-simple/issues/21
+ Thanks to Petr Písař.
+
+ * OTHER: Typographic corrections:
+ rt.cpan.org 60211; leonerd++
+ rt.cpan.org 86403; dsteinbrunner++
+
+ Add Travis configuration.
+
+ 1.26-TRIAL 2020-01-24 03:43:20 GMT
+ TRIAL release only
+
+-------------------------------------------------------------------
Old:
----
IPC-System-Simple-1.25.tar.gz
New:
----
IPC-System-Simple-1.26.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-IPC-System-Simple.spec ++++++
--- /var/tmp/diff_new_pack.irIoz1/_old 2020-01-30 09:36:49.329343087 +0100
+++ /var/tmp/diff_new_pack.irIoz1/_new 2020-01-30 09:36:49.333343090 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-IPC-System-Simple
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,25 +12,24 @@
# 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-IPC-System-Simple
-Version: 1.25
+Version: 1.26
Release: 0
%define cpan_name IPC-System-Simple
Summary: Run commands simply, with detailed diagnostics
-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/IPC-System-Simple/
-Source:
http://www.cpan.org/authors/id/P/PJ/PJF/%{cpan_name}-%{version}.tar.gz
+Url: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-#BuildRequires: perl(BSD::Resource)
-#BuildRequires: perl(IPC::System::Simple)
%{perl_requires}
%description
@@ -52,10 +51,10 @@
use IPC::System::Simple qw(capture);
-and then use the the /capture() manpage command just like you'd use
-backticks. If there's an error, it will die with a detailed description of
-what went wrong. Better still, you can even use 'capturex()' to run the
-equivalent of backticks, but without the shell:
+and then use the capture() command just like you'd use backticks. If
+there's an error, it will die with a detailed description of what went
+wrong. Better still, you can even use 'capturex()' to run the equivalent of
+backticks, but without the shell:
use IPC::System::Simple qw(capturex);
@@ -67,14 +66,14 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -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
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -83,6 +82,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes examples LICENSE README
+%doc Changes examples README
+%license LICENSE
%changelog
++++++ IPC-System-Simple-1.25.tar.gz -> IPC-System-Simple-1.26.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/Changes
new/IPC-System-Simple-1.26/Changes
--- old/IPC-System-Simple-1.25/Changes 2013-10-20 02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/Changes 2020-01-25 03:00:47.000000000 +0100
@@ -1,5 +1,24 @@
Revision history for Perl extension IPC::System::Simple.
+1.26 2020-01-25 02:00:45+00:00 UTC
+
+1.26 2020-01-24 20:47 America/NewYork
+ * BUILD: Update FAIL_POSIX warning message
+ Per: https://github.com/pjf/ipc-system-simple/pull/28. Thanks to
scop.
+
+ * TEST: t/07_taint.t: Use executable name as source of taintedness
+ Addresses https://github.com/pjf/ipc-system-simple/issues/21
+ Thanks to Petr Písař.
+
+ * OTHER: Typographic corrections:
+ rt.cpan.org 60211; leonerd++
+ rt.cpan.org 86403; dsteinbrunner++
+
+ Add Travis configuration.
+
+1.26-TRIAL 2020-01-24 03:43:20 GMT
+ TRIAL release only
+
1.25 2013-10-20 13:38:32 Pacific/Auckland
* BUILD: No longer ship unrequired file Debian_CPANTS.txt.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/LICENSE
new/IPC-System-Simple-1.26/LICENSE
--- old/IPC-System-Simple-1.25/LICENSE 2013-10-20 02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/LICENSE 2020-01-25 03:00:47.000000000 +0100
@@ -1,4 +1,4 @@
-This software is copyright (c) 2013 by Paul Fenwick.
+This software is copyright (c) 2020 by Paul Fenwick.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2013 by Paul Fenwick.
+This software is Copyright (c) 2020 by Paul Fenwick.
This is free software, licensed under:
@@ -22,7 +22,7 @@
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2013 by Paul Fenwick.
+This software is Copyright (c) 2020 by Paul Fenwick.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/MANIFEST
new/IPC-System-Simple-1.26/MANIFEST
--- old/IPC-System-Simple-1.25/MANIFEST 2013-10-20 02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/MANIFEST 2020-01-25 03:00:47.000000000 +0100
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.012.
Changes
LICENSE
MANIFEST
@@ -23,11 +24,11 @@
t/13_exports.t
t/14_uninitialised.t
t/author-critic.t
+t/author-pod-coverage.t
+t/author-pod-syntax.t
t/exiter.pl
t/internal.t
t/not_an_exe.txt
t/output.pl
-t/release-pod-coverage.t
-t/release-pod-syntax.t
t/signaler.pl
t/win32.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/META.json
new/IPC-System-Simple-1.26/META.json
--- old/IPC-System-Simple-1.25/META.json 2013-10-20 02:38:43.000000000
+0200
+++ new/IPC-System-Simple-1.26/META.json 2020-01-25 03:00:47.000000000
+0100
@@ -4,24 +4,25 @@
"Paul Fenwick <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter
version 2.120921",
+ "generated_by" : "Dist::Zilla version 6.012, 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" : "IPC-System-Simple",
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "ExtUtils::MakeMaker" : "0"
}
},
"develop" : {
"requires" : {
"Pod::Coverage::TrustPod" : "0",
+ "Test::Perl::Critic" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08"
}
@@ -59,6 +60,8 @@
"web" : "https://github.com/pjf/ipc-system-simple"
}
},
- "version" : "1.25"
+ "version" : "1.26",
+ "x_generated_by_perl" : "v5.26.2",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.06"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/META.yml
new/IPC-System-Simple-1.26/META.yml
--- old/IPC-System-Simple-1.25/META.yml 2013-10-20 02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/META.yml 2020-01-25 03:00:47.000000000 +0100
@@ -3,30 +3,32 @@
author:
- 'Paul Fenwick <[email protected]>'
build_requires:
- File::Basename: 0
- Test: 0
- Test::More: 0
+ File::Basename: '0'
+ Test: '0'
+ Test::More: '0'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version
2.120921'
+generated_by: 'Dist::Zilla version 6.012, 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: IPC-System-Simple
requires:
- Carp: 0
- Exporter: 0
- List::Util: 0
- POSIX: 0
- Scalar::Util: 0
- constant: 0
- perl: 5.006
- re: 0
- strict: 0
- warnings: 0
+ Carp: '0'
+ Exporter: '0'
+ List::Util: '0'
+ POSIX: '0'
+ Scalar::Util: '0'
+ constant: '0'
+ perl: '5.006'
+ re: '0'
+ strict: '0'
+ warnings: '0'
resources:
bugtracker: https://github.com/pjf/ipc-system-simple/issues
repository: git://github.com/pjf/ipc-system-simple
-version: 1.25
+version: '1.26'
+x_generated_by_perl: v5.26.2
+x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/Makefile.PL
new/IPC-System-Simple-1.26/Makefile.PL
--- old/IPC-System-Simple-1.25/Makefile.PL 2013-10-20 02:38:43.000000000
+0200
+++ new/IPC-System-Simple-1.26/Makefile.PL 2020-01-25 03:00:47.000000000
+0100
@@ -1,23 +1,20 @@
-
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.012.
use strict;
use warnings;
use 5.006;
-use ExtUtils::MakeMaker 6.30;
-
-
+use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Run commands simply, with detailed diagnostics",
"AUTHOR" => "Paul Fenwick <pjf\@cpan.org>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "IPC-System-Simple",
- "EXE_FILES" => [],
"LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.006",
"NAME" => "IPC::System::Simple",
"PREREQ_PM" => {
"Carp" => 0,
@@ -35,43 +32,36 @@
"Test" => 0,
"Test::More" => 0
},
- "VERSION" => "1.25",
+ "VERSION" => "1.26",
"test" => {
"TESTS" => "t/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
+my %FallbackPrereqs = (
+ "Carp" => 0,
+ "Exporter" => 0,
+ "File::Basename" => 0,
+ "List::Util" => 0,
+ "POSIX" => 0,
+ "Scalar::Util" => 0,
+ "Test" => 0,
+ "Test::More" => 0,
+ "constant" => 0,
+ "re" => 0,
+ "strict" => 0,
+ "warnings" => 0
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/README
new/IPC-System-Simple-1.26/README
--- old/IPC-System-Simple-1.25/README 2013-10-20 02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/README 2020-01-25 03:00:47.000000000 +0100
@@ -1,13 +1,12 @@
-
-
This archive contains the distribution IPC-System-Simple,
-version 1.25:
+version 1.26:
Run commands simply, with detailed diagnostics
-This software is copyright (c) 2013 by Paul Fenwick.
+This software is copyright (c) 2020 by Paul Fenwick.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
+This README file was generated by Dist::Zilla::Plugin::Readme v6.012.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/dist.ini
new/IPC-System-Simple-1.26/dist.ini
--- old/IPC-System-Simple-1.25/dist.ini 2013-10-20 02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/dist.ini 2020-01-25 03:00:47.000000000 +0100
@@ -2,6 +2,7 @@
author = Paul Fenwick <[email protected]>
license = Perl_5
copyright_holder = Paul Fenwick
+release_status = stable
[Git::NextVersion]
[NextRelease]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/lib/IPC/System/Simple.pm
new/IPC-System-Simple-1.26/lib/IPC/System/Simple.pm
--- old/IPC-System-Simple-1.25/lib/IPC/System/Simple.pm 2013-10-20
02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/lib/IPC/System/Simple.pm 2020-01-25
03:00:47.000000000 +0100
@@ -64,7 +64,8 @@
use constant FAIL_UNDEF => q{%s called with undefined command};
-use constant FAIL_POSIX => q{IPC::System::Simple does not understand the
POSIX error '%s'. Please check
http://search.cpan.org/perldoc?IPC::System::Simple to see if there is an
updated version. If not please report this as a bug to
http://rt.cpan.org/Public/Bug/Report.html?Queue=IPC-System-Simple};
+
+use constant FAIL_POSIX => q{IPC::System::Simple does not understand the
POSIX error '%s'. Please check https://metacpan.org/pod/IPC::System::Simple to
see if there is an updated version. If not please report this as a bug to
https://github.com/pjf/ipc-system-simple/issues};
# On Perl's older than 5.8.x we can't assume that there'll be a
# $^{TAINT} for us to check, so we assume that our args may always
@@ -86,7 +87,7 @@
$EXITVAL EXIT_ANY
);
-our $VERSION = '1.25'; # VERSION : From dzil
+our $VERSION = '1.26'; # VERSION : From dzil
our $EXITVAL = -1;
my @Signal_from_number = split(' ', $Config{sig_name});
@@ -145,8 +146,10 @@
# system simply calls run
+no warnings 'once';
*system = \&run;
*systemx = \&runx;
+use warnings;
# run is our way of running a process with system() semantics
@@ -303,7 +306,7 @@
my $err;
my $pid = eval {
- _spawn_or_die($exe, "$command @args");
+ _spawn_or_die($exe, qq{"$command" @args});
}
or do {
$err = $@;
@@ -715,7 +718,7 @@
=head2 run() and system()
C<IPC::System::Simple> provides a subroutine called
-C<run>, that executes a command using the same semantics is
+C<run>, that executes a command using the same semantics as
Perl's built-in C<system>:
use IPC::System::Simple qw(run);
@@ -734,7 +737,7 @@
use IPC::System::Simple qw(system);
- system("cat *.txt"); # system now suceeds or dies!
+ system("cat *.txt"); # system now succeeds or dies!
C<system> and C<run> are aliases to each other.
@@ -989,17 +992,18 @@
the developer to inspect C<$?>, C<IPC::System::Simple> does the
hard work for you.
-If an odd exit status is provided, you're informed of what it is. If
-a signal kills your process, you are informed of both its name and
-number. If tainted data or environment prevents your command from
-running, you are informed of exactly which datais
+If an odd exit status is provided, you're informed of what it is. If a
+signal kills your process, you are informed of both its name and number.
+If tainted data or environment prevents your command from running, you
+are informed of exactly which data or environmental variable is
+tainted.
=item Exceptions on failure
C<IPC::System::Simple> takes an aggressive approach to error handling.
Rather than allow commands to fail silently, exceptions are thrown
when unexpected results are seen. This allows for easy development
-using a try/catch style, and avoids the possibility of accidently
+using a try/catch style, and avoids the possibility of accidentally
continuing after a failed command.
=item Easy access to exit status
@@ -1036,7 +1040,7 @@
with the C<WUNTRACED> option.
Signals are not supported under Win32 systems, since they don't
-work at all like Unix signals. Win32 singals cause commands to
+work at all like Unix signals. Win32 signals cause commands to
exit with a given exit value, which this modules I<does> capture.
Only 8-bit values are returned when C<run()> or C<system()>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/t/06_fail.t
new/IPC-System-Simple-1.26/t/06_fail.t
--- old/IPC-System-Simple-1.25/t/06_fail.t 2013-10-20 02:38:43.000000000
+0200
+++ new/IPC-System-Simple-1.26/t/06_fail.t 2020-01-25 03:00:47.000000000
+0100
@@ -11,7 +11,7 @@
# Bad command, run
eval { run([1,127],"xyzzy42this_command_does_not_exist","foo"); };
-like ($@, qr{failed to start}, "Non-existant, run ");
+like ($@, qr{failed to start}, "Non-existent, run ");
# Bad calls to I::S::Simple
@@ -29,8 +29,8 @@
# Bad command, capture
eval { capture([1,127],"xyzzy42this_command_does_not_exist"); };
-like ($@, qr{failed to start}, "Not existant, capture");
+like ($@, qr{failed to start}, "Not existent, capture");
# Bad command, capture w/args
eval { capture([1,127],"xyzzy42this_command_does_not_exist",1); };
-like ($@, qr{failed to start}, "Not existant, capture");
+like ($@, qr{failed to start}, "Not existent, capture");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/t/07_taint.t
new/IPC-System-Simple-1.26/t/07_taint.t
--- old/IPC-System-Simple-1.25/t/07_taint.t 2013-10-20 02:38:43.000000000
+0200
+++ new/IPC-System-Simple-1.26/t/07_taint.t 2020-01-25 03:00:47.000000000
+0100
@@ -17,8 +17,8 @@
chdir("t"); # Ignore return, since we may already be in t/
-my $taint = $ENV{(keys(%ENV))[0]} . "foo"; # ."foo" to avoid zero length
-ok(tainted($taint),"Sanity - ENV vars are tainted");
+my $taint = $0 . "foo"; # ."foo" to avoid zero length
+ok(tainted($taint),"Sanity - executable name is tainted");
my $evil_zero = 1 - (length($taint) / length($taint));
@@ -54,3 +54,4 @@
$data = eval { capture("$perl_path exiter.pl 0") };
ok(tainted($data), "Returns of single-arg capture should be tainted");
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/t/author-critic.t
new/IPC-System-Simple-1.26/t/author-critic.t
--- old/IPC-System-Simple-1.25/t/author-critic.t 2013-10-20
02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/t/author-critic.t 2020-01-25
03:00:47.000000000 +0100
@@ -2,8 +2,8 @@
BEGIN {
unless ($ENV{AUTHOR_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for testing by the author');
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
}
}
@@ -11,10 +11,5 @@
use strict;
use warnings;
-use Test::More;
-use English qw(-no_match_vars);
-
-eval "use Test::Perl::Critic";
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e
"perlcritic.rc";
+use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
all_critic_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/t/author-pod-coverage.t
new/IPC-System-Simple-1.26/t/author-pod-coverage.t
--- old/IPC-System-Simple-1.25/t/author-pod-coverage.t 1970-01-01
01:00:00.000000000 +0100
+++ new/IPC-System-Simple-1.26/t/author-pod-coverage.t 2020-01-25
03:00:47.000000000 +0100
@@ -0,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
+ }
+}
+
+# This file was automatically generated by
Dist::Zilla::Plugin::PodCoverageTests.
+
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
+
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/t/author-pod-syntax.t
new/IPC-System-Simple-1.26/t/author-pod-syntax.t
--- old/IPC-System-Simple-1.25/t/author-pod-syntax.t 1970-01-01
01:00:00.000000000 +0100
+++ new/IPC-System-Simple-1.26/t/author-pod-syntax.t 2020-01-25
03:00:47.000000000 +0100
@@ -0,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
+ }
+}
+
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use strict; use warnings;
+use Test::More;
+use Test::Pod 1.41;
+
+all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/t/release-pod-coverage.t
new/IPC-System-Simple-1.26/t/release-pod-coverage.t
--- old/IPC-System-Simple-1.25/t/release-pod-coverage.t 2013-10-20
02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/t/release-pod-coverage.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate
testing');
- }
-}
-
-
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
-
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/IPC-System-Simple-1.25/t/release-pod-syntax.t
new/IPC-System-Simple-1.26/t/release-pod-syntax.t
--- old/IPC-System-Simple-1.25/t/release-pod-syntax.t 2013-10-20
02:38:43.000000000 +0200
+++ new/IPC-System-Simple-1.26/t/release-pod-syntax.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate
testing');
- }
-}
-
-use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
-
-all_pod_files_ok();
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module