|
|
8c2783 |
# Run optional test
|
|
|
8c2783 |
%if ! (0%{?rhel})
|
|
|
8c2783 |
%bcond_without perl_Path_Tiny_enables_optional_test
|
|
|
8c2783 |
%else
|
|
|
8c2783 |
%bcond_with perl_Path_Tiny_enables_optional_test
|
|
|
8c2783 |
%endif
|
|
|
8c2783 |
|
|
|
8c2783 |
Name: perl-Path-Tiny
|
|
|
8c2783 |
Version: 0.104
|
|
|
8c2783 |
Release: 5%{?dist}
|
|
|
8c2783 |
Summary: File path utility
|
|
|
8c2783 |
License: ASL 2.0
|
|
|
8c2783 |
URL: http://search.cpan.org/dist/Path-Tiny/
|
|
|
8c2783 |
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Path-Tiny-%{version}.tar.gz
|
|
|
8c2783 |
BuildArch: noarch
|
|
|
8c2783 |
# Module Build
|
|
|
8c2783 |
BuildRequires: coreutils
|
|
|
8c2783 |
BuildRequires: findutils
|
|
|
8c2783 |
BuildRequires: make
|
|
|
8c2783 |
BuildRequires: perl-interpreter
|
|
|
8c2783 |
BuildRequires: perl-generators
|
|
|
8c2783 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
8c2783 |
# Module Runtime
|
|
|
8c2783 |
BuildRequires: perl(Carp)
|
|
|
8c2783 |
BuildRequires: perl(Config)
|
|
|
8c2783 |
BuildRequires: perl(constant)
|
|
|
8c2783 |
BuildRequires: perl(Cwd)
|
|
|
8c2783 |
BuildRequires: perl(Digest) >= 1.03
|
|
|
8c2783 |
BuildRequires: perl(Digest::MD5)
|
|
|
8c2783 |
BuildRequires: perl(Digest::SHA) >= 5.45
|
|
|
8c2783 |
BuildRequires: perl(Exporter) >= 5.57
|
|
|
8c2783 |
BuildRequires: perl(Fcntl)
|
|
|
8c2783 |
BuildRequires: perl(File::Copy)
|
|
|
8c2783 |
BuildRequires: perl(File::Glob)
|
|
|
8c2783 |
BuildRequires: perl(File::Path) >= 2.07
|
|
|
8c2783 |
BuildRequires: perl(File::Spec) >= 0.86
|
|
|
8c2783 |
BuildRequires: perl(File::stat)
|
|
|
8c2783 |
BuildRequires: perl(File::Temp) >= 0.19
|
|
|
8c2783 |
BuildRequires: perl(if)
|
|
|
8c2783 |
BuildRequires: perl(overload)
|
|
|
8c2783 |
BuildRequires: perl(strict)
|
|
|
8c2783 |
BuildRequires: perl(threads)
|
|
|
8c2783 |
BuildRequires: perl(warnings)
|
|
|
8c2783 |
# Test Suite
|
|
|
8c2783 |
BuildRequires: perl(blib)
|
|
|
8c2783 |
BuildRequires: perl(File::Basename)
|
|
|
8c2783 |
BuildRequires: perl(File::Spec::Functions)
|
|
|
8c2783 |
BuildRequires: perl(File::Spec::Unix)
|
|
|
8c2783 |
BuildRequires: perl(File::Temp) >= 0.19
|
|
|
8c2783 |
BuildRequires: perl(lib)
|
|
|
8c2783 |
BuildRequires: perl(open)
|
|
|
8c2783 |
BuildRequires: perl(Test::More) >= 0.96
|
|
|
8c2783 |
%if %{with perl_Path_Tiny_enables_optional_test}
|
|
|
8c2783 |
# Optional Tests
|
|
|
8c2783 |
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
8c2783 |
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
8c2783 |
BuildRequires: perl(Test::FailWarnings)
|
|
|
8c2783 |
BuildRequires: perl(Test::MockRandom)
|
|
|
8c2783 |
%endif
|
|
|
8c2783 |
# Runtime
|
|
|
8c2783 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
8c2783 |
Requires: perl(Cwd)
|
|
|
8c2783 |
Requires: perl(Digest) >= 1.03
|
|
|
8c2783 |
Requires: perl(Digest::MD5)
|
|
|
8c2783 |
Requires: perl(Digest::SHA) >= 5.45
|
|
|
8c2783 |
Requires: perl(Fcntl)
|
|
|
8c2783 |
Requires: perl(File::Copy)
|
|
|
8c2783 |
Requires: perl(File::Glob)
|
|
|
8c2783 |
Requires: perl(File::Path) >= 2.07
|
|
|
8c2783 |
Requires: perl(File::stat)
|
|
|
8c2783 |
Requires: perl(File::Temp) >= 0.18
|
|
|
8c2783 |
Requires: perl(threads)
|
|
|
8c2783 |
|
|
|
8c2783 |
# For performance and consistency
|
|
|
8c2783 |
BuildRequires: perl(Unicode::UTF8) >= 0.58
|
|
|
8c2783 |
Requires: perl(Unicode::UTF8) >= 0.58
|
|
|
8c2783 |
|
|
|
8c2783 |
%description
|
|
|
8c2783 |
This module attempts to provide a small, fast utility for working with file
|
|
|
8c2783 |
paths. It is friendlier to use than File::Spec and provides easy access to
|
|
|
8c2783 |
functions from several other core file handling modules.
|
|
|
8c2783 |
|
|
|
8c2783 |
It doesn't attempt to be as full-featured as IO::All or Path::Class, nor does
|
|
|
8c2783 |
it try to work for anything except Unix-like and Win32 platforms. Even then, it
|
|
|
8c2783 |
might break if you try something particularly obscure or tortuous.
|
|
|
8c2783 |
|
|
|
8c2783 |
All paths are forced to have Unix-style forward slashes. Stringifying the
|
|
|
8c2783 |
object gives you back the path (after some clean up).
|
|
|
8c2783 |
|
|
|
8c2783 |
File input/output methods flock handles before reading or writing, as
|
|
|
8c2783 |
appropriate.
|
|
|
8c2783 |
|
|
|
8c2783 |
The *_utf8 methods (slurp_utf8, lines_utf8, etc.) operate in raw mode without
|
|
|
8c2783 |
CRLF translation.
|
|
|
8c2783 |
|
|
|
8c2783 |
%prep
|
|
|
8c2783 |
%setup -q -n Path-Tiny-%{version}
|
|
|
8c2783 |
|
|
|
8c2783 |
%build
|
|
|
8c2783 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
8c2783 |
make %{?_smp_mflags}
|
|
|
8c2783 |
|
|
|
8c2783 |
%install
|
|
|
8c2783 |
make pure_install DESTDIR=%{buildroot}
|
|
|
8c2783 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
8c2783 |
%{_fixperms} -c %{buildroot}
|
|
|
8c2783 |
|
|
|
8c2783 |
%check
|
|
|
8c2783 |
make test
|
|
|
8c2783 |
|
|
|
8c2783 |
%files
|
|
|
8c2783 |
%license LICENSE
|
|
|
8c2783 |
%doc Changes CONTRIBUTING.mkdn README
|
|
|
8c2783 |
%{perl_vendorlib}/Path/
|
|
|
8c2783 |
%{_mandir}/man3/Path::Tiny.3*
|
|
|
8c2783 |
|
|
|
8c2783 |
%changelog
|
|
|
8c2783 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.104-5
|
|
|
8c2783 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Dec 08 2017 Petr Pisar <ppisar@redhat.com> - 0.104-4
|
|
|
8c2783 |
- Enable Test::MockRandom test
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.104-3
|
|
|
8c2783 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.104-2
|
|
|
8c2783 |
- Perl 5.26 rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sat Feb 18 2017 Paul Howarth <paul@city-fan.org> - 0.104-1
|
|
|
8c2783 |
- Update to 0.104
|
|
|
8c2783 |
- The 'absolute' method now always returns an absolute path, even if a user
|
|
|
8c2783 |
provided a relative path for the base path; the old, odd behavior was
|
|
|
8c2783 |
documented, but people often don't read docs so the new behavior avoids
|
|
|
8c2783 |
surprises
|
|
|
8c2783 |
- Added 'cached_temp' method
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.100-2
|
|
|
8c2783 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sun Jan 15 2017 Paul Howarth <paul@city-fan.org> - 0.100-1
|
|
|
8c2783 |
- Update to 0.100
|
|
|
8c2783 |
- Fixed tests for eventual removal of '.' from @INC in Perl
|
|
|
8c2783 |
- Fixed filehandle mode doc typo
|
|
|
8c2783 |
- Fixed doc typo in relative() that mentioned rel2abs instead of abs2rel
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Oct 10 2016 Paul Howarth <paul@city-fan.org> - 0.098-1
|
|
|
8c2783 |
- Update to 0.098
|
|
|
8c2783 |
- Added 'realpath' option for 'tempfile' and 'tempdir' for situations where
|
|
|
8c2783 |
an absolute temporary path just isn't enough
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sun Jul 3 2016 Paul Howarth <paul@city-fan.org> - 0.096-1
|
|
|
8c2783 |
- Update to 0.096
|
|
|
8c2783 |
- Improved method for hiding some modules during tests
|
|
|
8c2783 |
- BR: perl-generators unconditionally
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon May 23 2016 Paul Howarth <paul@city-fan.org> - 0.094-1
|
|
|
8c2783 |
- Update to 0.094
|
|
|
8c2783 |
- Path::Tiny will prefer PerlIO::utf8_strict over encoding(UTF-8) if
|
|
|
8c2783 |
available and Unicode::UTF8 is not installed
|
|
|
8c2783 |
- The 'touch' method can now set the current time on files that aren't owned,
|
|
|
8c2783 |
as long as they are writeable
|
|
|
8c2783 |
- Improved consistency of symlink support inspection; now always looks at
|
|
|
8c2783 |
$Config{d_symlink}
|
|
|
8c2783 |
- Skips impossible test on 'msys' platform.
|
|
|
8c2783 |
- BR: perl-generators where possible
|
|
|
8c2783 |
- Drop redundant Group: tag
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.090-2
|
|
|
8c2783 |
- Perl 5.24 rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue May 3 2016 Paul Howarth <paul@city-fan.org> - 0.090-1
|
|
|
8c2783 |
- Update to 0.090
|
|
|
8c2783 |
- Fix spew_utf8 to allow array references as input
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Apr 18 2016 Paul Howarth <paul@city-fan.org> - 0.088-1
|
|
|
8c2783 |
- Update to 0.088
|
|
|
8c2783 |
- Fixed bugs in relative symlink resolution for realpath, spew and edit_lines
|
|
|
8c2783 |
- Symlink resolution will detect circular loops and throw an error
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Apr 4 2016 Paul Howarth <paul@city-fan.org> - 0.086-1
|
|
|
8c2783 |
- Update to 0.086
|
|
|
8c2783 |
- Improved documentation of copy and move
|
|
|
8c2783 |
- Simplify find command using -delete
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Mar 4 2016 Paul Howarth <paul@city-fan.org> - 0.084-1
|
|
|
8c2783 |
- Update to 0.084
|
|
|
8c2783 |
- Fixed relative() for the case with regex metacharacters in the path
|
|
|
8c2783 |
|
|
|
8c2783 |
* Wed Mar 2 2016 Paul Howarth <paul@city-fan.org> - 0.082-1
|
|
|
8c2783 |
- Update to 0.082
|
|
|
8c2783 |
- The relative() method no longer uses File::Spec's buggy rel2abs method;
|
|
|
8c2783 |
the new Path::Tiny algorithm should be comparable and passes File::Spec
|
|
|
8c2783 |
rel2abs test cases, except that it correctly accounts for symlinks
|
|
|
8c2783 |
- Added 'edit' and 'edit_lines' plus _utf8 and _raw variants; this is
|
|
|
8c2783 |
similar to perl's -i flag (though without backups)
|
|
|
8c2783 |
- Fixed lines_utf8() with chomping for repeated empty lines
|
|
|
8c2783 |
- Fixed lines_utf8+chomp and relative() bugs on Windows
|
|
|
8c2783 |
- Documented that subclassing is not supported
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.076-2
|
|
|
8c2783 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Nov 16 2015 Paul Howarth <paul@city-fan.org> - 0.076-1
|
|
|
8c2783 |
- Update to 0.076
|
|
|
8c2783 |
- Tilde expansion on Windows was resulting in backslashes; now they are
|
|
|
8c2783 |
correctly normalized to forward slashes
|
|
|
8c2783 |
- Typos fixed
|
|
|
8c2783 |
- Fixed spewing to a symlink that crosses a filesystem boundary
|
|
|
8c2783 |
- Add Test::MockRandom to META as a recommended test prerequisite
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Jul 21 2015 Paul Howarth <paul@city-fan.org> - 0.072-1
|
|
|
8c2783 |
- Update to 0.072
|
|
|
8c2783 |
- Fixed incorrect error argument for File::Path functions (mkpath and
|
|
|
8c2783 |
remove_tree)
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Jul 20 2015 Paul Howarth <paul@city-fan.org> - 0.070-2
|
|
|
8c2783 |
- Fixed incorrect error argument for File::Path functions (mkpath and
|
|
|
8c2783 |
remove_tree) (GH#144)
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Jun 29 2015 Paul Howarth <paul@city-fan.org> - 0.070-1
|
|
|
8c2783 |
- Update to 0.070
|
|
|
8c2783 |
- The 'copy' method now returns the object for the copied file
|
|
|
8c2783 |
- The 'visit' method only dereferences the callback return value for scalar
|
|
|
8c2783 |
refs, avoiding some common bugs
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.068-3
|
|
|
8c2783 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.068-2
|
|
|
8c2783 |
- Perl 5.22 rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Mar 24 2015 Paul Howarth <paul@city-fan.org> - 0.068-1
|
|
|
8c2783 |
- Update to 0.068
|
|
|
8c2783 |
- Added exclusive locking option to filehandle opens; spew now exclusively
|
|
|
8c2783 |
locks tempfile used for atomic writes
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Mar 6 2015 Paul Howarth <paul@city-fan.org> - 0.065-1
|
|
|
8c2783 |
- Update to 0.065
|
|
|
8c2783 |
- Added 'assert' method
|
|
|
8c2783 |
- Added 'visit' method
|
|
|
8c2783 |
- Added support for a negative count for 'lines' to get the last lines of a
|
|
|
8c2783 |
file
|
|
|
8c2783 |
- Fixed tilde expansion if path has spaces
|
|
|
8c2783 |
- Make realpath non-fatal if the parent path exists and only the final path
|
|
|
8c2783 |
component does not (was fatal on Windows and some Unixes)
|
|
|
8c2783 |
- Removed redundant locking on tempfile use for spewing
|
|
|
8c2783 |
- Work around File::Temp bugs on older ActiveState Windows Perls
|
|
|
8c2783 |
https://bugs.activestate.com/show_bug.cgi?id=104767
|
|
|
8c2783 |
- Fixed SYNOPSIS example
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Nov 14 2014 Paul Howarth <paul@city-fan.org> - 0.061-1
|
|
|
8c2783 |
- Update to 0.061
|
|
|
8c2783 |
- Fixed append_utf8 and append_raw with 'truncate' option
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Nov 6 2014 Paul Howarth <paul@city-fan.org> - 0.060-1
|
|
|
8c2783 |
- Update to 0.060
|
|
|
8c2783 |
- Added 'truncate' option to append for in-place replacement of file contents
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Oct 14 2014 Paul Howarth <paul@city-fan.org> - 0.059-1
|
|
|
8c2783 |
- Update to 0.059
|
|
|
8c2783 |
- Fixed precedence bug in the check for Unicode::UTF8
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Sep 25 2014 Paul Howarth <paul@city-fan.org> - 0.058-1
|
|
|
8c2783 |
- Update to 0.058
|
|
|
8c2783 |
- Added a 'sibling' method as a more efficient form of calling
|
|
|
8c2783 |
$path->parent->child(...).
|
|
|
8c2783 |
- Documentation for every method annotated with the version number of the
|
|
|
8c2783 |
last API change
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Sep 23 2014 Paul Howarth <paul@city-fan.org> - 0.057-1
|
|
|
8c2783 |
- Update to 0.057
|
|
|
8c2783 |
- On AIX, reads that default to locking would fail without write permissions,
|
|
|
8c2783 |
because locking needs write permissions; the fix is only to lock reads if
|
|
|
8c2783 |
write permissions exist, otherwise locking is skipped
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.056-2
|
|
|
8c2783 |
- Perl 5.20 rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Aug 14 2014 Paul Howarth <paul@city-fan.org> - 0.056-1
|
|
|
8c2783 |
- Update to 0.056
|
|
|
8c2783 |
- Fixed problem throwing errors from 'remove'
|
|
|
8c2783 |
- The 'digest' method now takes a 'chunk_size' option to avoid slurping files
|
|
|
8c2783 |
entirely into memory
|
|
|
8c2783 |
- The 'dirname' method is deprecated due to exposing File::Spec
|
|
|
8c2783 |
inconsistencies
|
|
|
8c2783 |
- Use %%license
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Jul 1 2014 Paul Howarth <paul@city-fan.org> - 0.055-1
|
|
|
8c2783 |
- Update to 0.055
|
|
|
8c2783 |
- tempfile/tempdir won't warn if used as functions without arguments
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sat Jun 7 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.054-2
|
|
|
8c2783 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue May 6 2014 Paul Howarth <paul@city-fan.org> - 0.054-1
|
|
|
8c2783 |
- Update to 0.054
|
|
|
8c2783 |
- The 'is_file' method now does -e && ! -d and not -f because -f is often
|
|
|
8c2783 |
more restrictive than people intend or expect
|
|
|
8c2783 |
- Added 'chmod' method with symbolic chmod support ("a=r,u+rx")
|
|
|
8c2783 |
- The 'basename' method now takes a list of suffixes to remove before
|
|
|
8c2783 |
returning the name
|
|
|
8c2783 |
- Added FREEZE/THAW/TO_JSON serialization helpers
|
|
|
8c2783 |
- When constructing a Path::Tiny object from another, the original is
|
|
|
8c2783 |
returned unless it's a temp dir/file, which significantly speeds up calling
|
|
|
8c2783 |
path($path) if $path is already a Path::Tiny object
|
|
|
8c2783 |
- Constructing any path - e.g. with child() - with undef or zero-length
|
|
|
8c2783 |
parts throws an error instead of constructing an invalid path
|
|
|
8c2783 |
|
|
|
8c2783 |
* Wed Jan 15 2014 Paul Howarth <paul@city-fan.org> - 0.052-1
|
|
|
8c2783 |
- Update to 0.052
|
|
|
8c2783 |
- Backslash-to-slash conversion now only happens on Windows (since backslash
|
|
|
8c2783 |
is legal on Unix, we must allow it)
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sat Dec 21 2013 Paul Howarth <paul@city-fan.org> - 0.051-1
|
|
|
8c2783 |
- Update to 0.051
|
|
|
8c2783 |
- Recursive iteration won't throw an exception if a directory is removed or
|
|
|
8c2783 |
unreadable during iteration
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Dec 12 2013 Paul Howarth <paul@city-fan.org> - 0.049-1
|
|
|
8c2783 |
- Update to 0.049
|
|
|
8c2783 |
- Added 'subsumes' method
|
|
|
8c2783 |
- The 'chomp' option for 'lines' will remove any end-of-line sequences fully
|
|
|
8c2783 |
instead of just chomping the last character
|
|
|
8c2783 |
- Fixed locking test on AIX
|
|
|
8c2783 |
- Revised locking tests for portability again: locks are now tested from a
|
|
|
8c2783 |
separate process
|
|
|
8c2783 |
- The 'flock' package will no longer indexed by PAUSE
|
|
|
8c2783 |
- Hides warnings and fixes possible fatal errors from pure-perl Cwd,
|
|
|
8c2783 |
particularly on MSWin32
|
|
|
8c2783 |
- Generates filename for atomic writes independent of thread-ID, which fixes
|
|
|
8c2783 |
crashing bug on Win32 when fork() is called
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Oct 18 2013 Paul Howarth <paul@city-fan.org> - 0.044-1
|
|
|
8c2783 |
- Update to 0.044
|
|
|
8c2783 |
- Fixed child path construction against the root path
|
|
|
8c2783 |
- Fixed path construction when a relative volume is provided as the first
|
|
|
8c2783 |
argument on Windows; e.g. path("C:", "lib") must be like path("C:lib"),
|
|
|
8c2783 |
not path("C:/lib")
|
|
|
8c2783 |
- On AIX, shared locking is replaced by exclusive locking on a R/W
|
|
|
8c2783 |
filehandle, as locking read handles is not supported
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Oct 14 2013 Paul Howarth <paul@city-fan.org> - 0.043-1
|
|
|
8c2783 |
- Update to 0.043
|
|
|
8c2783 |
- Calling 'absolute' on Windows will add the volume if it is missing (e.g.
|
|
|
8c2783 |
"/foo" will become "C:/foo"); this matches the behavior of
|
|
|
8c2783 |
File::Spec->rel2abs
|
|
|
8c2783 |
- Fixed t/00-report-prereqs.t for use with older versions of
|
|
|
8c2783 |
CPAN::Meta::Requirements
|
|
|
8c2783 |
|
|
|
8c2783 |
* Sun Oct 13 2013 Paul Howarth <paul@city-fan.org> - 0.042-1
|
|
|
8c2783 |
- Update to 0.042
|
|
|
8c2783 |
- When 'realpath' can't be resolved (because intermediate directories don't
|
|
|
8c2783 |
exist), the exception now explains the error clearly instead of complaining
|
|
|
8c2783 |
about path() needing a defined, positive-length argument
|
|
|
8c2783 |
- On Windows, fixed resolution of relative paths with a volume, e.g. "C:foo"
|
|
|
8c2783 |
is now correctly translated into getdcwd on "C:" plus "foo"
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Oct 11 2013 Paul Howarth <paul@city-fan.org> - 0.041-1
|
|
|
8c2783 |
- Update to 0.041
|
|
|
8c2783 |
- Remove duplicate test dependency on File::Spec that triggers a CPAN.pm bug
|
|
|
8c2783 |
|
|
|
8c2783 |
* Wed Oct 9 2013 Paul Howarth <paul@city-fan.org> - 0.040-1
|
|
|
8c2783 |
- Update to 0.040
|
|
|
8c2783 |
- The 'filehandle' method now offers an option to return locked handles
|
|
|
8c2783 |
based on the file mode
|
|
|
8c2783 |
- The 'filehandle' method now respects default encoding set by the caller's
|
|
|
8c2783 |
open pragma
|
|
|
8c2783 |
|
|
|
8c2783 |
* Wed Oct 2 2013 Paul Howarth <paul@city-fan.org> - 0.038-1
|
|
|
8c2783 |
- Update to 0.038
|
|
|
8c2783 |
- Added 'is_rootdir' method to simplify testing if a path is the root
|
|
|
8c2783 |
directory
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Sep 26 2013 Paul Howarth <paul@city-fan.org> - 0.037-1
|
|
|
8c2783 |
- Update to 0.037
|
|
|
8c2783 |
- No longer lists 'threads' as a prerequisite; if you have a threaded perl,
|
|
|
8c2783 |
you have it and if you've not, Path::Tiny doesn't care
|
|
|
8c2783 |
- Fixed for v5.8
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Sep 24 2013 Paul Howarth <paul@city-fan.org> - 0.035-1
|
|
|
8c2783 |
- Update to 0.035
|
|
|
8c2783 |
- Fixed flock warning on BSD that was broken with the autodie removal; now
|
|
|
8c2783 |
also applies to all BSD flavors
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Sep 24 2013 Paul Howarth <paul@city-fan.org> - 0.034-1
|
|
|
8c2783 |
- Update to 0.034
|
|
|
8c2783 |
- Exceptions are now Path::Tiny::Error objects, not autodie exceptions; this
|
|
|
8c2783 |
removes the last dependency on autodie, which allows us to support Perls as
|
|
|
8c2783 |
far back as v5.8.1
|
|
|
8c2783 |
- BSD/NFS flock fix was not backwards compatible before v5.14; this fixes it
|
|
|
8c2783 |
harder
|
|
|
8c2783 |
- Lowered ExtUtils::MakeMaker configure_requires version to 6.17
|
|
|
8c2783 |
|
|
|
8c2783 |
* Thu Sep 12 2013 Paul Howarth <paul@city-fan.org> - 0.033-1
|
|
|
8c2783 |
- Update to 0.033
|
|
|
8c2783 |
- Perl on BSD may not support locking on an NFS filesystem: if this is
|
|
|
8c2783 |
detected, Path::Tiny warns and continues in an unsafe mode (the 'flock'
|
|
|
8c2783 |
warning category may be fatalized to die instead)
|
|
|
8c2783 |
- Added 'iterator' example showing defaults
|
|
|
8c2783 |
|
|
|
8c2783 |
* Fri Sep 6 2013 Paul Howarth <paul@city-fan.org> - 0.032-1
|
|
|
8c2783 |
- Update to 0.032
|
|
|
8c2783 |
- Removed several test dependencies; Path::Tiny now only needs core modules,
|
|
|
8c2783 |
though some must be upgraded on old Perls
|
|
|
8c2783 |
|
|
|
8c2783 |
* Tue Sep 3 2013 Paul Howarth <paul@city-fan.org> - 0.031-3
|
|
|
8c2783 |
- BR: perl(Config) for the test suite (#1003660)
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Sep 2 2013 Paul Howarth <paul@city-fan.org> - 0.031-2
|
|
|
8c2783 |
- Sanitize for Fedora submission
|
|
|
8c2783 |
|
|
|
8c2783 |
* Mon Sep 2 2013 Paul Howarth <paul@city-fan.org> - 0.031-1
|
|
|
8c2783 |
- Initial RPM version
|