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
This commit is contained in:
parent
3487eeae74
commit
4bce65e833
@ -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}.tar.gz
|
||||
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@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@city-fan.org> - 0.052-1
|
||||
- Update to 0.052
|
||||
- Backslash-to-slash conversion now only happens on Windows (since backslash
|
||||
|
||||
Loading…
Reference in New Issue
Block a user