[perl-Path-Tiny] Update to 0.054

Paul Howarth pghmcfc at fedoraproject.org
Tue May 6 13:23:58 UTC 2014


commit 4bce65e83345d96ebd1b9cf45a3fa41f701c4722
Author: Paul Howarth <paul at 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}.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 at 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 at 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


More information about the scm-commits mailing list