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:
Paul Howarth 2012-06-15 11:15:09 +01:00
parent 400937b5c0
commit a4bf9352ac
2 changed files with 13 additions and 5 deletions

View File

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

View File

@ -1 +1 @@
91517fdac5262e8665ae2ba9f507824b Path-Class-0.25.tar.gz
ec77aaa16cff0c29143c578f30d420cd Path-Class-0.26.tar.gz