3.56 bump in order to dual-live with Perl 5.22

This commit is contained in:
Jitka Plesnikova 2015-05-06 13:55:50 +02:00
parent 5ecade271a
commit ed79c05d5f
2 changed files with 4846 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,16 @@
%global cpan_version 3.47
%global base_version 3.47
Name: perl-PathTools
Version: %(echo '%{cpan_version}' | tr _ .)
Release: 311%{?dist}
Version: 3.56
Release: 1%{?dist}
Summary: PathTools Perl module (Cwd, File::Spec)
License: (GPL+ or Artistic) and BSD
Group: Development/Libraries
URL: http://search.cpan.org/dist/PathTools/
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{cpan_version}.tar.gz
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{base_version}.tar.gz
# Unbundled from perl 5.21.11
Patch0: PathTools-3.47-Update-to-3.56.patch
# Disable VMS test (bug #973713)
Patch0: PathTools-3.47-Disable-VMS-tests.patch
Patch1: PathTools-3.47-Disable-VMS-tests.patch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
@ -23,6 +25,7 @@ BuildRequires: perl(vars)
BuildRequires: perl(Carp::Heavy)
BuildRequires: perl(Config)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Temp)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -35,11 +38,10 @@ Requires: perl(Scalar::Util)
This is the combined distribution for the File::Spec and Cwd modules.
%prep
%setup -q -n PathTools-%{cpan_version}
%setup -q -n PathTools-%{base_version}
%patch0 -p1
# Remove bundled modules
rm -r t/lib
sed -i -e '/^t\/lib\//d' MANIFEST
%patch1 -p1
# Do not distribute File::Spec::VMS as it works on VMS only (bug #973713)
rm lib/File/Spec/VMS.pm
sed -i -e '/^lib\/File\/Spec\/VMS.pm/d' MANIFEST
@ -65,6 +67,9 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Apr 27 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.56-1
- 3.56 bump in order to dual-live with Perl 5.22
* Tue Jan 13 2015 Petr Pisar <ppisar@redhat.com> - 3.47-311
- Require constant module