[Bug 1085211] New: perl-Dist-Zilla-4.300023-4.fc21 FTBFS
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1085211
Bug ID: 1085211
Summary: perl-Dist-Zilla-4.300023-4.fc21 FTBFS
Product: Fedora
Version: rawhide
Component: perl-Dist-Zilla
Assignee: iarnell(a)gmail.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, perl-devel(a)lists.fedoraproject.org
perl-Dist-Zilla-4.300023-4.fc21 fails to build due to tests in F21:
+ cd Dist-Zilla-4.300023
+ make test
Skip
blib/lib/auto/share/module/Dist-Zilla-MintingProfile-Default/default/profile.ini
(unchanged)
Skip
blib/lib/auto/share/module/Dist-Zilla-MintingProfile-Default/default/extra-dist.ini
(unchanged)
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t t/diagnostics/*.t t/plugins/*.t
t/00-compile.t ................ ok
#
#
# Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.05
# perl: v5.18.2 (wanted v5.8.5) on linux from /usr/bin/perl
#
# App::Cmd::Setup => 0.323 (want 0.309)
# App::Cmd::Tester => 0.323 (want 0.306)
# Archive::Tar => 1.96 (want any
version)
# CPAN::Meta::Converter => 2.140640 (want 2.101550)
# CPAN::Meta::Prereqs => 2.140640 (want 2.120630)
# CPAN::Meta::Requirements => 2.125 (want 2.121)
# CPAN::Meta::Validator => 2.140640 (want 2.101550)
# CPAN::Uploader => 0.103002 (want 0.101550)
# Carp => 1.3301 (want any
version)
# Class::Load => 0.21 (want 0.17)
# Config::INI::Reader => 0.019 (want any
version)
# Config::MVP::Assembler => 2.200003 (want any
version)
# Config::MVP::Assembler::WithBundles => 2.200003 (want any
version)
# Config::MVP::Reader => 2.200003 (want 2.101540)
# Config::MVP::Reader::Findable::ByExtension => 2.200003 (want any
version)
# Config::MVP::Reader::Finder => 2.200003 (want any
version)
# Config::MVP::Reader::INI => 2.101461 (want 2)
# Config::MVP::Section => 2.200003 (want 2.200002)
# Data::Dumper => 2.151 (want any
version)
# Data::Section => 0.200006 (want 0.004)
# DateTime => 1.08 (want 0.44)
# Digest::MD5 => 2.53 (want any
version)
# Encode => 2.58 (want any
version)
# ExtUtils::MakeMaker => 6.94 (want 6.30)
# ExtUtils::Manifest => 1.63 (want 1.54)
# File::Copy::Recursive => 0.38 (want any
version)
# File::Find => 1.23 (want any
version)
# File::Find::Rule => 0.33 (want any
version)
# File::HomeDir => 1.00 (want any
version)
# File::Path => 2.09 (want any
version)
# File::ShareDir => 1.03 (want any
version)
# File::ShareDir::Install => 0.08 (want 0.03)
# File::Spec => 3.40 (want any
version)
# File::Temp => 0.2304 (want any
version)
# File::pushd => 1.006 (want any
version)
# Hash::Merge::Simple => 0.04 (want any
version)
# JSON => 2.90 (want 2)
# List::MoreUtils => 0.33 (want any
version)
# List::Util => 1.38 (want any
version)
# Log::Dispatchouli => 2.005 (want 1.102220)
# Moose => 2.1005 (want 0.92)
# Moose::Autobox => 0.12 (want 0.10)
# Moose::Role => 2.1005 (want any
version)
# Moose::Util::TypeConstraints => 2.1005 (want any
version)
# MooseX::LazyRequire => 0.09 (want any
version)
# MooseX::Role::Parameterized => 1.02 (want any
version)
# MooseX::SetOnce => 0.200001 (want any
version)
# MooseX::Types => 0.35 (want any
version)
# MooseX::Types::Moose => 0.35 (want any
version)
# MooseX::Types::Path::Class => 0.06 (want any
version)
# MooseX::Types::Perl => 0.101341 (want any
version)
# PPI => 1.215 (want any
version)
# Params::Util => 1.07 (want any
version)
# Path::Class => 0.33 (want any
version)
# Perl::PrereqScanner => 1.015 (want 1.005)
# Perl::Version => 1.011 (want any
version)
# Pod::Eventual => 0.093330 (want 0.091480)
# Scalar::Util => 1.38 (want any
version)
# Software::License => 0.103010 (want 0.101370)
# Software::LicenseUtils => 0.103010 (want any
version)
# String::Formatter => 0.102082 (want 0.100680)
# String::RewritePrefix => 0.006 (want 0.005)
# Sub::Exporter => 0.987 (want any
version)
# Sub::Exporter::ForMethods => 0.100050 (want any
version)
# Sub::Exporter::Util => 0.987 (want any
version)
# Term::ReadKey => 2.30 (want any
version)
# Term::ReadLine => 1.12 (want any
version)
# Term::ReadLine::Gnu => 1.24 (want any
version)
# Term::UI => 0.42 (want any
version)
# Test::Deep => 0.112 (want any
version)
# Test::Fatal => 0.013 (want any
version)
# Test::File::ShareDir => 0.3.1 (want any
version)
# Test::More => 1.001003 (want 0.96)
# Text::Glob => 0.09 (want 0.08)
# Text::Template => 1.45 (want any
version)
# Try::Tiny => 0.20 (want any
version)
# YAML::Tiny => 1.62 (want any
version)
# autobox => 2.77 (want 2.53)
# autodie => 2.25 (want any
version)
# base => 2.18 (want any
version)
# namespace::autoclean => 0.13 (want any
version)
# parent => 0.228 (want any
version)
# strict => 1.07 (want any
version)
# version => 0.9908 (want any
version)
# warnings => 1.18 (want any
version)
#
# Thanks for using my code. I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve your problem.
#
t/000-report-versions-tiny.t .. ok
t/compile.t ................... ok
t/diagnostics/main-module.t ... ok
t/diagnostics/plugin-fail.t ... ok
t/minter.t .................... ok
[MetaYAML] Invalid META structure. Errors found:
[MetaYAML] Expected a list structure (license) [Validation: 2] at
/usr/lib64/perl5/vendor_perl/Moose/Meta/Method/Delegation.pm line 110.
t/plugins/autoprereqs.t .......
Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run
t/plugins/autoversion.t ....... ok
t/plugins/confirmrelease.t .... ok
[MetaJSON] Invalid META structure. Errors found:
[MetaJSON] Expected a list structure (resources -> license) [Validation: 2]
[MetaJSON] Expected a list structure (license) [Validation: 2] at
/usr/lib64/perl5/vendor_perl/Moose/Meta/Method/Delegation.pm line 110.
t/plugins/distmeta.t ..........
Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run
[MetaJSON] Invalid META structure. Errors found:
[MetaJSON] Expected a list structure (license) [Validation: 2] at
/usr/lib64/perl5/vendor_perl/Moose/Meta/Method/Delegation.pm line 110.
t/plugins/extratests.t ........
Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run
[@Filter/MetaYAML] Invalid META structure. Errors found:
[@Filter/MetaYAML] Expected a list structure (license) [Validation: 2] at
/usr/lib64/perl5/vendor_perl/Moose/Meta/Method/Delegation.pm line 110.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 25 just after 1.
t/plugins/fakerelease.t .......
Dubious, test returned 25 (wstat 6400, 0x1900)
All 1 subtests passed
t/plugins/ffbyname.t .......... ok
t/plugins/filefinders.t ....... ok
t/plugins/filter-b.t .......... ok
t/plugins/gatherdir.t ......... ok
t/plugins/generatefile.t ...... ok
t/plugins/installdirs.t ....... ok
t/plugins/license.t ........... ok
t/plugins/makemaker.t ......... ok
t/plugins/manifest.t .......... ok
[MetaJSON] Invalid META structure. Errors found:
[MetaJSON] Expected a list structure (license) [Validation: 2] at
/usr/lib64/perl5/vendor_perl/Moose/Meta/Method/Delegation.pm line 110.
t/plugins/metanoindex.t .......
Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run
# Failed test 'no errors from old-style bugtracker and repository for
MetaResources'
# at t/plugins/metaresources.t line 40.
# Failed test 'META.yml matches expected 1.4 spec output'
# at t/plugins/metaresources.t line 43.
# Compared reftype($data)
# got : undef
# expect : 'HASH'
binmode() on closed filehandle $fh at
/builddir/build/BUILD/Dist-Zilla-4.300023/blib/lib/Dist/Zilla/Tester.pm line
74.
readline() on closed filehandle $fh at
/builddir/build/BUILD/Dist-Zilla-4.300023/blib/lib/Dist/Zilla/Tester.pm line
75.
malformed JSON string, neither array, object, number, string or atom, at
character offset 0 (before "(end of string)") at
/builddir/build/BUILD/Dist-Zilla-4.300023/blib/lib/Test/DZil.pm line 60.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 9 just after 2.
t/plugins/metaresources.t .....
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 2/2 subtests
t/plugins/misctests.t ......... ok
t/plugins/modulebuild.t ....... ok
t/plugins/nextrelease.t ....... ok
t/plugins/pkgdist.t ........... ok
t/plugins/pkgversion.t ........ ok
t/plugins/podversion.t ........ ok
[MetaJSON] Invalid META structure. Errors found:
[MetaJSON] Expected a list structure (license) [Validation: 2] at
/usr/lib64/perl5/vendor_perl/Moose/Meta/Method/Delegation.pm line 110.
t/plugins/prereqs.t ...........
Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run
t/plugins/prunes.t ............ ok
t/plugins/readme.t ............ ok
t/plugins/testrelease.t ....... ok
t/plugins/uploadtocpan.t ...... ok
# Failed test 'dzil would have exited 0'
# at t/tester-demo.t line 16.
# got: '25'
# expected: '0'
# Failed test 'we logged the archive-creation'
# at t/tester-demo.t line 20.
[@Classic/MetaYAML] Invalid META structure. Errors found:
[@Classic/MetaYAML] Expected a list structure (license) [Validation: 2] at
/usr/lib64/perl5/vendor_perl/Moose/Meta/Method/Delegation.pm line 110.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 25 just after 2.
t/tester-demo.t ...............
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 2/2 subtests
t/tester.t .................... ok
t/util.t ...................... ok
Test Summary Report
-------------------
t/plugins/autoprereqs.t (Wstat: 6400 Tests: 0 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
t/plugins/distmeta.t (Wstat: 6400 Tests: 0 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
t/plugins/extratests.t (Wstat: 6400 Tests: 0 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
t/plugins/fakerelease.t (Wstat: 6400 Tests: 1 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
t/plugins/metanoindex.t (Wstat: 6400 Tests: 0 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
t/plugins/metaresources.t (Wstat: 2304 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 9
Parse errors: No plan found in TAP output
t/plugins/prereqs.t (Wstat: 6400 Tests: 0 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
t/tester-demo.t (Wstat: 6400 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 25
Parse errors: No plan found in TAP output
Files=37, Tests=473, 81 wallclock secs ( 0.16 usr 0.04 sys + 76.19 cusr 4.35
csys = 80.74 CPU)
Result: FAIL
Failed 8/37 test programs. 4/473 subtests failed.
It looks like an incompatibility with current dependent modules. Maybe
upgrading this package would be great idea. Upstream has already released
version 5.015.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=mCQr1WSGFq&a=cc_unsubscribe
9 years, 11 months
[perl-IPC-Run] Address intermittent test failures and update dependencies
by Paul Howarth
commit 4e25c82a4125a6ab842c936aa2cff8dc93dc8e5f
Author: Paul Howarth <paul(a)city-fan.org>
Date: Tue May 6 11:19:30 2014 +0100
Address intermittent test failures and update dependencies
- Address intermittent test failures (CPAN RT#20105, RH BZ#1094395)
- Add runtime dependency on Data::Dumper
- Add build dependency on IO::Tty for the test suite
- Make %files list more explicit
IPC-Run-0.92-RT20105.patch | 68 ++++++++++++++++++++++++++++++++++++++++++++
perl-IPC-Run.spec | 29 ++++++++++++++++--
2 files changed, 93 insertions(+), 4 deletions(-)
---
diff --git a/IPC-Run-0.92-RT20105.patch b/IPC-Run-0.92-RT20105.patch
new file mode 100644
index 0000000..e508d57
--- /dev/null
+++ b/IPC-Run-0.92-RT20105.patch
@@ -0,0 +1,68 @@
+From 8e6730d0c0f3db2c89a0dad07f67082c7eb88321 Mon Sep 17 00:00:00 2001
+From: Slaven Rezic <slaven(a)rezic.de>
+Date: Sat, 28 Dec 2013 10:55:28 +0100
+Subject: [PATCH] fix pty.t test failures on linux
+
+---
+ t/pty.t | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/t/pty.t b/t/pty.t
+index 42591a4..6d99b21 100644
+--- a/t/pty.t
++++ b/t/pty.t
+@@ -141,14 +141,14 @@ $fd_map = _map_fds;
+ $h = start \@echoer, \$in, '>pty>', \$out;
+ $in = "hello\n";
+ $? = 0;
+-pump $h until $out =~ /hello/;
++pump $h until $out =~ /hello\r?\n/;
+ ## We assume that the slave's write()s are atomic
+ $exp = qr/^(?:hello\r?\n){2}(?!\n)$/i;
+ $out =~ $exp ? ok( 1 ) : is( $out, $exp );
+ is( $in, '' );
+ $in = "world\n";
+ $? = 0;
+-pump $h until $out =~ /world/;
++pump $h until $out =~ /world\r?\n/;
+ $exp = qr/^(?:hello\r?\n){2}(?:world\r?\n){2}(?!\n)$/i;
+ $out =~ $exp ? ok( 1 ) : is( $out, $exp );
+ is( $in, '' );
+@@ -165,7 +165,7 @@ $fd_map = _map_fds;
+ $h = start \@echoer, \$in, '>pty>', \$out, '2>', \$err;
+ $in = "hello\n";
+ $? = 0;
+-pump $h until $out =~ /hello/ && $err =~ /HELLO/;
++pump $h until $out =~ /hello\r?\n/ && $err =~ /HELLO/;
+ $exp = qr/^hello\r?\n(?!\n)$/;
+ $out =~ $exp ? ok( 1 ) : is( $out, $exp );
+ $exp = qr/^HELLO\n(?!\n)$/;
+@@ -173,7 +173,7 @@ $err =~ $exp ? ok( 1 ) : is( $err, $exp );
+ is( $in, '' );
+ $in = "world\n";
+ $? = 0;
+-pump $h until $out =~ /world/ && $err =~ /WORLD/;
++pump $h until $out =~ /world\r?\n/ && $err =~ /WORLD/;
+ $exp = qr/^hello\r?\nworld\r?\n(?!\n)$/;
+ $out =~ $exp ? ok( 1 ) : is( $out, $exp );
+ $exp = qr/^HELLO\nWORLD\n(?!\n)$/ ,
+@@ -192,14 +192,14 @@ $fd_map = _map_fds;
+ $h = start \@echoer, '<pty<', \$in, '>pty>', \$out;
+ $in = "hello\n";
+ $? = 0;
+-pump $h until $out =~ /hello.*hello.*hello/is;
++pump $h until $out =~ /hello.*hello.*hello\r?\n/is;
+ ## We assume that the slave's write()s are atomic
+ $exp = qr/^(?:hello\r?\n){3}(?!\n)$/i;
+ $out =~ $exp ? ok( 1 ) : is( $out, $exp );
+ is( $in, '' );
+ $in = "world\n";
+ $? = 0;
+-pump $h until $out =~ /world.*world.*world/is;
++pump $h until $out =~ /world.*world.*world\r?\n/is;
+ $exp = qr/^(?:hello\r?\n){3}(?:world\r?\n){3}(?!\n)$/i;
+ $out =~ $exp ? ok( 1 ) : is( $out, $exp );
+ is( $in, '' );
+--
+1.7.10.4
+
diff --git a/perl-IPC-Run.spec b/perl-IPC-Run.spec
index 2a2b9e5..f5cf420 100644
--- a/perl-IPC-Run.spec
+++ b/perl-IPC-Run.spec
@@ -1,12 +1,14 @@
Name: perl-IPC-Run
Version: 0.92
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Perl module for interacting with child processes
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IPC-Run/
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
+Patch0: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/IPC-Run-0.92-R...
BuildArch: noarch
+BuildRequires: perl
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
@@ -15,8 +17,10 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IO::Pty) >= 1.08
+BuildRequires: perl(IO::Tty)
BuildRequires: perl(Test::More) >= 0.47
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Data::Dumper)
Requires: perl(IO::Pty) >= 1.08
%description
@@ -24,11 +28,17 @@ IPC::Run allows you run and interact with child processes using files,
pipes, and pseudo-ttys. Both system()-style and scripted usages are
supported and may be mixed. Likewise, functional and OO API styles are
both supported and may be mixed.
+
Various redirection operators reminiscent of those seen on common Unix
and DOS command lines are provided.
%prep
%setup -q -n IPC-Run-%{version}
+
+# Address intermittent test failures (CPAN RT#20105, RH BZ#1094395)
+%patch0 -p1
+
+# Fix shellbangs
for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
done
@@ -40,7 +50,9 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} %{buildroot}/*
+%{_fixperms} %{buildroot}
+
+# Remove Windows-only features that could add unnecessary dependencies
rm -f %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm
rm -f %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3*
@@ -50,10 +62,19 @@ make test
%files
%doc Changes LICENSE README TODO
%doc abuse/ eg/
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/IPC/
+%{_mandir}/man3/IPC::Run.3pm*
+%{_mandir}/man3/IPC::Run::Debug.3pm*
+%{_mandir}/man3/IPC::Run::IO.3pm*
+%{_mandir}/man3/IPC::Run::Timer.3pm*
%changelog
+* Tue May 6 2014 Paul Howarth <paul(a)city-fan.org> - 0.92-5
+- Address intermittent test failures (CPAN RT#20105, RH BZ#1094395)
+- Add runtime dependency on Data::Dumper
+- Add build dependency on IO::Tty for the test suite
+- Make %%files list more explicit
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.92-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9 years, 11 months
[perl-Dist-Zilla] 5.015 bump
by Petr Pisar
commit eb1b01b484495abc4710ef619eb5f3196d18b9a5
Author: Petr Písař <ppisar(a)redhat.com>
Date: Mon May 5 16:50:39 2014 +0200
5.015 bump
.gitignore | 1 +
perl-Dist-Zilla.spec | 89 ++++++++++++++++++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 66 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6702e79..6841d99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@ Dist-Zilla-4.101900.tar.gz
/Dist-Zilla-4.300016.tar.gz
/Dist-Zilla-4.300018.tar.gz
/Dist-Zilla-4.300023.tar.gz
+/Dist-Zilla-5.015.tar.gz
diff --git a/perl-Dist-Zilla.spec b/perl-Dist-Zilla.spec
index 61bd46f..5c9b4f6 100644
--- a/perl-Dist-Zilla.spec
+++ b/perl-Dist-Zilla.spec
@@ -1,20 +1,25 @@
Name: perl-Dist-Zilla
-Version: 4.300023
-Release: 4%{?dist}
+Version: 5.015
+Release: 1%{?dist}
Summary: Distribution builder; installer not included!
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Dist-Zilla/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Dist-Zilla-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl >= 1:v5.8.5
-BuildRequires: perl(App::Cmd) >= 0.307
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires: perl(File::ShareDir::Install) >= 0.03
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
+BuildRequires: perl(App::Cmd::Command::version)
BuildRequires: perl(App::Cmd::Setup) >= 0.309
BuildRequires: perl(App::Cmd::Tester) >= 0.306
+BuildRequires: perl(App::Cmd::Tester::CaptureExternal)
+# Archive::Tar is a fall-back for missing optional Archive::Tar::Wrapper 0.15
BuildRequires: perl(Archive::Tar)
-BuildRequires: perl(autobox) >= 2.53
BuildRequires: perl(autodie)
-BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Class::Load) >= 0.17
BuildRequires: perl(Config)
@@ -24,31 +29,32 @@ BuildRequires: perl(Config::MVP::Assembler::WithBundles)
BuildRequires: perl(Config::MVP::Reader) >= 2.101540
BuildRequires: perl(Config::MVP::Reader::Findable::ByExtension)
BuildRequires: perl(Config::MVP::Reader::Finder)
+# I have no clue how Config::MVP::Reader::INI is used. Without it the tests
+# fail.
BuildRequires: perl(Config::MVP::Reader::INI) >= 2
BuildRequires: perl(Config::MVP::Section) >= 2.200002
BuildRequires: perl(CPAN::Meta::Converter) >= 2.101550
BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.120630
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
BuildRequires: perl(CPAN::Meta::Validator) >= 2.101550
-BuildRequires: perl(CPAN::Uploader) >= 0.101550
-BuildRequires: perl(Data::Section) >= 0.004
+BuildRequires: perl(CPAN::Uploader) >= 0.103004
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(Data::Section) >= 0.200002
BuildRequires: perl(DateTime) >= 0.44
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(ExtUtils::Manifest) >= 1.54
BuildRequires: perl(File::Copy::Recursive)
-BuildRequires: perl(File::Find)
BuildRequires: perl(File::Find::Rule)
BuildRequires: perl(File::HomeDir)
+BuildRequires: perl(File::Path)
BuildRequires: perl(File::pushd)
BuildRequires: perl(File::ShareDir)
-BuildRequires: perl(File::ShareDir::Install) >= 0.03
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Hash::Merge::Simple)
BuildRequires: perl(JSON) >= 2
-BuildRequires: perl(lib)
+BuildRequires: perl(List::AllUtils)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(List::Util)
BuildRequires: perl(Log::Dispatchouli) >= 1.102220
@@ -66,50 +72,80 @@ BuildRequires: perl(MooseX::Types::Perl)
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(Params::Util)
BuildRequires: perl(parent)
-BuildRequires: perl(Path::Class)
-BuildRequires: perl(Perl::PrereqScanner) >= 1.005
+BuildRequires: perl(Path::Class) >= 0.22
+BuildRequires: perl(Path::Tiny)
+BuildRequires: perl(Perl::PrereqScanner) >= 1.016
BuildRequires: perl(Perl::Version)
BuildRequires: perl(Pod::Eventual) >= 0.091480
BuildRequires: perl(PPI)
+BuildRequires: perl(PPI::Document)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Software::License) >= 0.101370
BuildRequires: perl(Software::LicenseUtils)
-BuildRequires: perl(strict)
+BuildRequires: perl(Storable)
BuildRequires: perl(String::Formatter) >= 0.100680
BuildRequires: perl(String::RewritePrefix) >= 0.005
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Sub::Exporter::ForMethods)
BuildRequires: perl(Sub::Exporter::Util)
+BuildRequires: perl(Term::Encoding)
BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(Term::ReadLine)
-BuildRequires: perl(Term::ReadLine::Gnu)
BuildRequires: perl(Term::UI)
BuildRequires: perl(Test::Deep)
-BuildRequires: perl(Test::Fatal)
-BuildRequires: perl(Test::File::ShareDir)
-BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Text::Glob) >= 0.08
BuildRequires: perl(Text::Template)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(version)
-BuildRequires: perl(warnings)
BuildRequires: perl(YAML::Tiny)
-Requires: perl(autobox) >= 2.53
+# Optional run-time:
+# Archive::Tar::Wrapper 0.15
+# Tests:
+BuildRequires: perl(File::Spec::Functions)
+BuildRequires: perl(lib)
+BuildRequires: perl(Software::License::None)
+BuildRequires: perl(Test::FailWarnings)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::File::ShareDir)
+BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(utf8)
+# Optional tests:
+BuildRequires: perl(CPAN::Meta)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(App::Cmd::Command::version)
+# Archive::Tar is a fall-back for missing optional Archive::Tar::Wrapper 0.15
+Requires: perl(Archive::Tar)
+#Requires: perl(autobox) >= 2.53
Requires: perl(Class::Load) >= 0.17
Requires: perl(Config::INI::Reader)
-Requires: perl(Config::MVP::Reader::INI)
Requires: perl(Config::MVP::Assembler)
Requires: perl(Config::MVP::Assembler::WithBundles)
-Requires: perl(Config::MVP::Reader::Findable)
+Requires: perl(Config::MVP::Reader::Findable::ByExtension)
Requires: perl(Config::MVP::Reader::Finder)
-Requires: perl(File::chdir)
+# I have no clue how Config::MVP::Reader::INI is used. Without it the tests
+# fail.
+Requires: perl(Config::MVP::Reader::INI) >= 2
+Requires: perl(CPAN::Meta::Converter) >= 2.101550
+Requires: perl(CPAN::Meta::Validator) >= 2.101550
+Requires: perl(CPAN::Uploader) >= 0.103004
+Requires: perl(Encode)
+Requires: perl(ExtUtils::Manifest) >= 1.54
Requires: perl(File::Path)
Requires: perl(File::ShareDir::Install) >= 0.03
+Requires: perl(Hash::Merge::Simple)
+Requires: perl(Path::Class) >= 0.22
Requires: perl(Perl::Version)
+Requires: perl(Pod::Eventual) >= 0.091480
+Requires: perl(PPI::Document)
Requires: perl(Software::LicenseUtils)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Term::Encoding)
+Requires: perl(Term::ReadKey)
+Requires: perl(Term::ReadLine)
+Requires: perl(Term::UI)
%{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((App::Cmd::Setup|Class::Load|CPAN::Meta::Requirements|Moose|Moose::Autobox|Path::Class|String::RewritePrefix)\\)$
%description
Dist::Zilla builds distributions of code to be uploaded to the CPAN. In
@@ -149,6 +185,9 @@ make test
%{_sysconfdir}/bash_completion.d
%changelog
+* Mon May 05 2014 Petr Pisar <ppisar(a)redhat.com> - 5.015-1
+- 5.015 bump
+
* Sun Aug 04 2013 Petr Pisar <ppisar(a)redhat.com> - 4.300023-4
- Perl 5.18 rebuild
- Specify all dependencies
diff --git a/sources b/sources
index 15055f4..3606647 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a97b52363ec121365990868cd77c0178 Dist-Zilla-4.300023.tar.gz
+576948ec0e2a3f53f53b4471da578e9a Dist-Zilla-5.015.tar.gz
9 years, 11 months
[perl-Path-Tiny] Update to 0.054
by Paul Howarth
commit 4bce65e83345d96ebd1b9cf45a3fa41f701c4722
Author: Paul Howarth <paul(a)city-fan.org>
Date: Tue May 6 14:23:18 2014 +0100
Update to 0.054
- New upstream release 0.054
- The 'is_file' method now does -e && ! -d and not -f because -f is often
more restrictive than people intend or expect
- Added 'chmod' method with symbolic chmod support ("a=r,u+rx")
- The 'basename' method now takes a list of suffixes to remove before
returning the name
- Added FREEZE/THAW/TO_JSON serialization helpers
- When constructing a Path::Tiny object from another, the original is
returned unless it's a temp dir/file, which significantly speeds up calling
path($path) if $path is already a Path::Tiny object
- Constructing any path - e.g. with child() - with undef or zero-length
parts throws an error instead of constructing an invalid path
perl-Path-Tiny.spec | 20 ++++++++++++++++++--
sources | 2 +-
2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/perl-Path-Tiny.spec b/perl-Path-Tiny.spec
index 127304f..d8d3f95 100644
--- a/perl-Path-Tiny.spec
+++ b/perl-Path-Tiny.spec
@@ -1,5 +1,5 @@
Name: perl-Path-Tiny
-Version: 0.052
+Version: 0.054
Release: 1%{?dist}
Summary: File path utility
Group: Development/Libraries
@@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Path-Tiny/
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Path-Tiny-%{version}...
BuildArch: noarch
# Module Build
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
# Module Runtime
BuildRequires: perl(Carp)
@@ -32,7 +33,7 @@ BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(blib)
BuildRequires: perl(CPAN::Meta)
-BuildRequires: perl(CPAN::Meta::Requirements)
+BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Spec::Unix)
@@ -42,6 +43,7 @@ BuildRequires: perl(List::Util)
BuildRequires: perl(open)
BuildRequires: perl(Test::FailWarnings)
BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(version)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Cwd)
@@ -98,6 +100,20 @@ make test
%{_mandir}/man3/Path::Tiny.3pm*
%changelog
+* Tue May 6 2014 Paul Howarth <paul(a)city-fan.org> - 0.054-1
+- Update to 0.054
+ - The 'is_file' method now does -e && ! -d and not -f because -f is often
+ more restrictive than people intend or expect
+ - Added 'chmod' method with symbolic chmod support ("a=r,u+rx")
+ - The 'basename' method now takes a list of suffixes to remove before
+ returning the name
+ - Added FREEZE/THAW/TO_JSON serialization helpers
+ - When constructing a Path::Tiny object from another, the original is
+ returned unless it's a temp dir/file, which significantly speeds up calling
+ path($path) if $path is already a Path::Tiny object
+ - Constructing any path - e.g. with child() - with undef or zero-length
+ parts throws an error instead of constructing an invalid path
+
* Wed Jan 15 2014 Paul Howarth <paul(a)city-fan.org> - 0.052-1
- Update to 0.052
- Backslash-to-slash conversion now only happens on Windows (since backslash
diff --git a/sources b/sources
index cbc9ee6..dc6f798 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-348e1ba505b26a5037f05e1b5059f21d Path-Tiny-0.052.tar.gz
+de3d32e277ecd26a86b70f4b9f15ce4d Path-Tiny-0.054.tar.gz
9 years, 11 months