Update to 0.26
- New upstream release 0.26: - resolve() now includes the name of the non-existent file in the error message - New shortcut opena(), to open a file for appending - New spew() method that does the inverse of the slurp() method - Fixed a typo in a class name in the docs for Path::Class::Entity - Drop %defattr, redundant since rpm 4.4 - Drop conditional for EPEL-4 support (EL-4 now EOL-ed)
This commit is contained in:
parent
400937b5c0
commit
a4bf9352ac
@ -1,5 +1,5 @@
|
||||
Name: perl-Path-Class
|
||||
Version: 0.25
|
||||
Version: 0.26
|
||||
Release: 1%{?dist}
|
||||
Summary: Cross-platform path specification manipulation
|
||||
License: GPL+ or Artistic
|
||||
@ -20,11 +20,10 @@ BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(IO::Dir)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test::More)
|
||||
# We need Perl::Perl::Critic ≥ 1.080 for a fix to
|
||||
# Variables::ProhibitConditionalDeclarations, and the EPEL-5 version is too old
|
||||
%if "%{?rhel}" != "4" && "%{?rhel}" != "5"
|
||||
%if "%{?rhel}" != "5"
|
||||
BuildRequires: perl(Test::Perl::Critic)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
@ -58,7 +57,6 @@ AUTHOR_TESTING=1 ./Build test
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Path/
|
||||
%{_mandir}/man3/Path::Class.3pm*
|
||||
@ -67,6 +65,16 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Path::Class::File.3pm*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 15 2012 Paul Howarth <paul@city-fan.org> - 0.26-1
|
||||
- Update to 0.26:
|
||||
- resolve() now includes the name of the non-existent file in the error
|
||||
message
|
||||
- New shortcut opena(), to open a file for appending
|
||||
- New spew() method that does the inverse of the slurp() method
|
||||
- Fixed a typo in a class name in the docs for Path::Class::Entity
|
||||
- Drop %%defattr, redundant since rpm 4.4
|
||||
- Drop conditional for EPEL-4 support (EL-4 now EOL-ed)
|
||||
|
||||
* Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.25-1
|
||||
- Update to 0.25:
|
||||
- resolve() now croak()s instead of die()s on non-existent file
|
||||
|
Loading…
Reference in New Issue
Block a user