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:
Paul Howarth 2014-05-06 14:23:18 +01:00
parent 3487eeae74
commit 4bce65e833
2 changed files with 19 additions and 3 deletions

View File

@ -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

View File

@ -1 +1 @@
348e1ba505b26a5037f05e1b5059f21d Path-Tiny-0.052.tar.gz
de3d32e277ecd26a86b70f4b9f15ce4d Path-Tiny-0.054.tar.gz