diff --git a/perl-Path-Class.spec b/perl-Path-Class.spec index db2d177..d4518ac 100644 --- a/perl-Path-Class.spec +++ b/perl-Path-Class.spec @@ -1,20 +1,19 @@ Name: perl-Path-Class Version: 0.31 -Release: 1%{?dist} +Release: 2%{?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 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) BuildRequires: perl(File::Path) -BuildRequires: perl(File::Spec) >= 0.87 +BuildRequires: perl(File::Spec) >= 3.26 BuildRequires: perl(File::stat) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Dir) @@ -22,11 +21,7 @@ BuildRequires: perl(IO::File) BuildRequires: perl(Module::Build) BuildRequires: perl(Scalar::Util) 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}" != "5" BuildRequires: perl(Test::Perl::Critic) -%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description @@ -47,16 +42,12 @@ perl Build.PL installdirs=vendor ./Build %install -rm -rf %{buildroot} ./Build install destdir=%{buildroot} create_packlist=0 %{_fixperms} %{buildroot} %check AUTHOR_TESTING=1 ./Build test -%clean -rm -rf %{buildroot} - %files %doc Changes LICENSE README %{perl_vendorlib}/Path/ @@ -66,6 +57,10 @@ rm -rf %{buildroot} %{_mandir}/man3/Path::Class::File.3pm* %changelog +* Thu Mar 7 2013 Paul Howarth - 0.31-2 +- Bump perl(File::Spec) version requirement to 3.26 (CPAN RT#83143) +- Drop EL-5 support since it doesn't have File::Spec ≥ 3.26 + * Tue Feb 5 2013 Paul Howarth - 0.31-1 - Update to 0.31: - Optimization: stringify variables passed to canonpath