Update to 0.36

- New upstream release 0.36:
  - Use croak instead of die; use eval syntax instead of universal::isa (as
    perlcritic wishes)
  - Load File::Copy and Perl::OSType only when used (copy_to, move_to)
  - Always use canonpath on arguments to splitdir
  - Fix 'Operation "eq": no method found' error (CPAN RT#77259)
  - Add some fixes and tests for contains() with updir stuff (GH#43)
  - Fix Carp::Croak to Carp::croak
  - Fixed and improved Travis testing configuration
  - Fix Pod typos
  - Check all print calls in spew and explicitly call (and check) close
This commit is contained in:
Paul Howarth 2016-02-17 15:16:22 +00:00
parent 5b0ff7181f
commit ac883dd8ae
2 changed files with 25 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: perl-Path-Class Name: perl-Path-Class
Version: 0.35 Version: 0.36
Release: 5%{?dist} Release: 1%{?dist}
Summary: Cross-platform path specification manipulation Summary: Cross-platform path specification manipulation
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -8,6 +8,8 @@ URL: http://search.cpan.org/dist/Path-Class/
Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Module::Build) > 0.36 BuildRequires: perl(Module::Build) > 0.36
# Module Runtime # Module Runtime
@ -28,7 +30,7 @@ BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict) BuildRequires: perl(strict)
# Test Suite # Test Suite
BuildRequires: perl(Test) BuildRequires: perl(Test)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Author Tests # Author Tests
%if !%{defined perl_bootstrap} %if !%{defined perl_bootstrap}
@ -39,6 +41,8 @@ BuildRequires: perl(Test::Perl::Critic)
%endif %endif
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Copy)
Requires: perl(Perl::OSType)
%description %description
Path::Class is a module for manipulation of file and directory specifications Path::Class is a module for manipulation of file and directory specifications
@ -69,12 +73,25 @@ AUTHOR_TESTING=1 ./Build test
%endif %endif
%doc Changes README %doc Changes README
%{perl_vendorlib}/Path/ %{perl_vendorlib}/Path/
%{_mandir}/man3/Path::Class.3pm* %{_mandir}/man3/Path::Class.3*
%{_mandir}/man3/Path::Class::Dir.3pm* %{_mandir}/man3/Path::Class::Dir.3*
%{_mandir}/man3/Path::Class::Entity.3pm* %{_mandir}/man3/Path::Class::Entity.3*
%{_mandir}/man3/Path::Class::File.3pm* %{_mandir}/man3/Path::Class::File.3*
%changelog %changelog
* Wed Feb 17 2016 Paul Howarth <paul@city-fan.org> - 0.36-1
- Update to 0.36:
- Use croak instead of die; use eval syntax instead of universal::isa (as
perlcritic wishes)
- Load File::Copy and Perl::OSType only when used (copy_to, move_to)
- Always use canonpath on arguments to splitdir
- Fix 'Operation "eq": no method found' error (CPAN RT#77259)
- Add some fixes and tests for contains() with updir stuff (GH#43)
- Fix Carp::Croak to Carp::croak
- Fixed and improved Travis testing configuration
- Fix Pod typos
- Check all print calls in spew and explicitly call (and check) close
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-5 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
575b60a5c5e22e259c1df62a59fdfe85 Path-Class-0.35.tar.gz 3e15307faf0702fb916409f594552b94 Path-Class-0.36.tar.gz