Update to 0.33

- New upstream release 0.33:
  - New copy_to() and move_to() methods
  - As advised in the utime() docs, pass undef as the time for touch()
  - Do a better job cleaning up temp files in the tests
  - Optimization: use parent.pm instead of base.pm
  - Changed the docs to show that file() and dir() are exported by default
  - Fixed spelling error in POD
- Update buildreqs as needed
- Drop patch for building with old Module::Build versions
This commit is contained in:
Paul Howarth 2013-12-12 11:42:54 +00:00
parent 7eeab379d7
commit d6a8e6c6ce
3 changed files with 18 additions and 29 deletions

View File

@ -1,20 +0,0 @@
Module::Build ≥ 0.3601 isn't actually needed by this package.
It builds just fine with version 0.2807 in EPEL-4.
--- Path-Class/Build.PL
+++ Path-Class/Build.PL
@@ -2,12 +2,12 @@
use strict;
use warnings;
-use Module::Build 0.3601;
+use Module::Build 0.2807;
my %module_build_args = (
"build_requires" => {
- "Module::Build" => "0.3601",
+ "Module::Build" => "0.2807",
"Test" => 0,
"Test::More" => 0,
"warnings" => 0

View File

@ -1,24 +1,25 @@
Name: perl-Path-Class
Version: 0.32
Release: 3%{?dist}
Version: 0.33
Release: 1%{?dist}
Summary: Cross-platform path specification manipulation
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Path-Class/
Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
Patch0: Path-Class-0.25-old-M::B.patch
BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec) >= 3.26
BuildRequires: perl(File::stat)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Dir)
BuildRequires: perl(IO::File)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build) > 0.36
BuildRequires: perl(parent)
BuildRequires: perl(Perl::OSType)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Perl::Critic)
@ -34,9 +35,6 @@ and NetWare.
%prep
%setup -q -n Path-Class-%{version}
# Don't really need Module::Build ≥ 0.3601
%patch0 -p1
%build
perl Build.PL installdirs=vendor
./Build
@ -57,6 +55,17 @@ AUTHOR_TESTING=1 ./Build test
%{_mandir}/man3/Path::Class::File.3pm*
%changelog
* Thu Dec 12 2013 Paul Howarth <paul@city-fan.org> - 0.33-1
- Update to 0.33:
- New copy_to() and move_to() methods
- As advised in the utime() docs, pass undef as the time for touch()
- Do a better job cleaning up temp files in the tests
- Optimization: use parent.pm instead of base.pm
- Changed the docs to show that file() and dir() are exported by default
- Fixed spelling error in POD
- Update buildreqs as needed
- Drop patch for building with old Module::Build versions
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
c3f3bacb17cbefd4f5b47159445415f8 Path-Class-0.32.tar.gz
bac152fffe772252bbcfc2f15dc3bb34 Path-Class-0.33.tar.gz