pghmcfc pushed to perl-Path-Tiny (f23). "Update to 0.072 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Jul 21 10:48:27 UTC 2015
From 1a4fa64436e6796fd6cd8e70102f50b5eab2cc64 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Tue, 21 Jul 2015 11:32:32 +0100
Subject: Update to 0.072
- New upstream release 0.072
- Fixed incorrect error argument for File::Path functions (mkpath and
remove_tree)
diff --git a/Path-Tiny-0.070-GH144.patch b/Path-Tiny-0.070-GH144.patch
deleted file mode 100644
index 402ca0e..0000000
--- a/Path-Tiny-0.070-GH144.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/lib/Path/Tiny.pm b/lib/Path/Tiny.pm
-index aa194be..a0ee46f 100644
---- a/lib/Path/Tiny.pm
-+++ b/lib/Path/Tiny.pm
-@@ -1112,7 +1112,7 @@ sub mkpath {
- my ( $self, $args ) = @_;
- $args = {} unless ref $args eq 'HASH';
- my $err;
-- $args->{err} = \$err unless defined $args->{err};
-+ $args->{error} = \$err unless defined $args->{error};
- require File::Path;
- my @dirs = File::Path::make_path( $self->[PATH], $args );
- if ( $err && @$err ) {
-@@ -1369,8 +1369,8 @@ sub remove_tree {
- return 0 if !-e $self->[PATH] && !-l $self->[PATH];
- $args = {} unless ref $args eq 'HASH';
- my $err;
-- $args->{err} = \$err unless defined $args->{err};
-- $args->{safe} = 1 unless defined $args->{safe};
-+ $args->{error} = \$err unless defined $args->{error};
-+ $args->{safe} = 1 unless defined $args->{safe};
- require File::Path;
- my $count = File::Path::remove_tree( $self->[PATH], $args );
-
diff --git a/perl-Path-Tiny.spec b/perl-Path-Tiny.spec
index e68c180..08cebfd 100644
--- a/perl-Path-Tiny.spec
+++ b/perl-Path-Tiny.spec
@@ -1,12 +1,11 @@
Name: perl-Path-Tiny
-Version: 0.070
-Release: 2%{?dist}
+Version: 0.072
+Release: 1%{?dist}
Summary: File path utility
Group: Development/Libraries
License: ASL 2.0
URL: http://search.cpan.org/dist/Path-Tiny/
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Path-Tiny-%{version}.tar.gz
-Patch0: Path-Tiny-0.070-GH144.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@@ -86,9 +85,6 @@ CRLF translation.
%prep
%setup -q -n Path-Tiny-%{version}
-# Fixed incorrect error argument for File::Path functions (mkpath and remove_tree)
-%patch0 -p1
-
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -108,6 +104,11 @@ make test
%{_mandir}/man3/Path::Tiny.3*
%changelog
+* Tue Jul 21 2015 Paul Howarth <paul at city-fan.org> - 0.072-1
+- Update to 0.072
+ - Fixed incorrect error argument for File::Path functions (mkpath and
+ remove_tree)
+
* Mon Jul 20 2015 Paul Howarth <paul at city-fan.org> - 0.070-2
- Fixed incorrect error argument for File::Path functions (mkpath and
remove_tree) (GH#144)
diff --git a/sources b/sources
index b75b383..37aa678 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3f58e84a32109fe37d6dc4bafef6bf47 Path-Tiny-0.070.tar.gz
+840696b295230682c727297c87fe42d6 Path-Tiny-0.072.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Path-Tiny.git/commit/?h=f23&id=1a4fa64436e6796fd6cd8e70102f50b5eab2cc64
More information about the perl-devel
mailing list