Bump perl(File::Spec) version requirement to 3.26 (CPAN RT#83143)
- 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
This commit is contained in:
parent
22e2aec0b9
commit
02b2cf829e
@ -1,20 +1,19 @@
|
|||||||
Name: perl-Path-Class
|
Name: perl-Path-Class
|
||||||
Version: 0.31
|
Version: 0.31
|
||||||
Release: 1%{?dist}
|
Release: 2%{?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
|
||||||
URL: http://search.cpan.org/dist/Path-Class/
|
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
|
||||||
Patch0: Path-Class-0.25-old-M::B.patch
|
Patch0: Path-Class-0.25-old-M::B.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Cwd)
|
BuildRequires: perl(Cwd)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(File::Path)
|
BuildRequires: perl(File::Path)
|
||||||
BuildRequires: perl(File::Spec) >= 0.87
|
BuildRequires: perl(File::Spec) >= 3.26
|
||||||
BuildRequires: perl(File::stat)
|
BuildRequires: perl(File::stat)
|
||||||
BuildRequires: perl(File::Temp)
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(IO::Dir)
|
BuildRequires: perl(IO::Dir)
|
||||||
@ -22,11 +21,7 @@ BuildRequires: perl(IO::File)
|
|||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(Test::More)
|
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)
|
BuildRequires: perl(Test::Perl::Critic)
|
||||||
%endif
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,16 +42,12 @@ perl Build.PL installdirs=vendor
|
|||||||
./Build
|
./Build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
AUTHOR_TESTING=1 ./Build test
|
AUTHOR_TESTING=1 ./Build test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
%{perl_vendorlib}/Path/
|
%{perl_vendorlib}/Path/
|
||||||
@ -66,6 +57,10 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/Path::Class::File.3pm*
|
%{_mandir}/man3/Path::Class::File.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 7 2013 Paul Howarth <paul@city-fan.org> - 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 <paul@city-fan.org> - 0.31-1
|
* Tue Feb 5 2013 Paul Howarth <paul@city-fan.org> - 0.31-1
|
||||||
- Update to 0.31:
|
- Update to 0.31:
|
||||||
- Optimization: stringify variables passed to canonpath
|
- Optimization: stringify variables passed to canonpath
|
||||||
|
Loading…
Reference in New Issue
Block a user