559afe
Name:           perl-PathTools
559afe
Version:        3.74
559afe
Release:        1%{?dist}
559afe
Summary:        PathTools Perl module (Cwd, File::Spec)
559afe
# Cwd.xs:                   BSD
559afe
# other files:              GPL+ or Artistic
559afe
License:        (GPL+ or Artistic) and BSD
559afe
URL:            http://search.cpan.org/dist/PathTools/
559afe
Source0:        http://www.cpan.org/authors/id/X/XS/XSAWYERX/PathTools-%{version}.tar.gz
559afe
# Disable VMS tests (bug #973713)
559afe
Patch0:         PathTools-3.74-Disable-VMS-tests.patch
559afe
BuildRequires:  coreutils
559afe
BuildRequires:  findutils
559afe
BuildRequires:  gcc
559afe
BuildRequires:  make
559afe
BuildRequires:  perl-devel
559afe
BuildRequires:  perl-generators
559afe
BuildRequires:  perl-interpreter
559afe
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
559afe
BuildRequires:  sed
559afe
# Run-time:
559afe
BuildRequires:  perl(Carp)
559afe
BuildRequires:  perl(constant)
559afe
BuildRequires:  perl(Errno)
559afe
BuildRequires:  perl(Exporter)
559afe
# File::Basename not needed because of removed File::Spec::VMS
559afe
BuildRequires:  perl(Scalar::Util)
559afe
BuildRequires:  perl(strict)
559afe
# Optional run-time:
559afe
BuildRequires:  perl(XSLoader)
559afe
# Tests:
559afe
BuildRequires:  perl(Carp::Heavy)
559afe
BuildRequires:  perl(Config)
559afe
BuildRequires:  perl(File::Path)
559afe
BuildRequires:  perl(File::Temp)
559afe
BuildRequires:  perl(lib)
559afe
BuildRequires:  perl(Test::More) >= 0.88
559afe
BuildRequires:  perl(warnings)
559afe
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
559afe
Requires:       perl(Carp)
559afe
Requires:       perl(Errno)
559afe
Requires:       perl(Scalar::Util)
559afe
# XSLoader is optional only because miniperl does not support XS. With perl we
559afe
# almost certainly want it.
559afe
Recommends:     perl(XSLoader)
559afe
559afe
%{?perl_default_filter}
559afe
559afe
%description
559afe
This is the combined distribution for the File::Spec and Cwd modules.
559afe
559afe
%prep
559afe
%setup -q -n PathTools-%{version}
559afe
%patch0 -p1
559afe
559afe
# Do not distribute File::Spec::VMS as it works on VMS only (bug #973713)
559afe
rm lib/File/Spec/VMS.pm
559afe
sed -i -e '/^lib\/File\/Spec\/VMS.pm/d' MANIFEST
559afe
559afe
%build
559afe
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
559afe
make %{?_smp_mflags}
559afe
559afe
%install
559afe
make pure_install DESTDIR=$RPM_BUILD_ROOT
559afe
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
559afe
%{_fixperms} $RPM_BUILD_ROOT/*
559afe
559afe
%check
559afe
make test
559afe
559afe
%files
559afe
%doc Changes
559afe
%{perl_vendorarch}/auto/*
559afe
%{perl_vendorarch}/Cwd.pm
559afe
%{perl_vendorarch}/File/
559afe
%{_mandir}/man3/*
559afe
559afe
%changelog
559afe
* Mon Feb 19 2018 Petr Pisar <ppisar@redhat.com> - 3.74-1
559afe
- 3.74 bump
559afe
559afe
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.67-396
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
559afe
559afe
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.67-395
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
559afe
559afe
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.67-394
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
559afe
559afe
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.67-393
559afe
- Perl 5.26 rebuild
559afe
559afe
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 3.67-1
559afe
- Upgrade to 3.67 as provided in perl-5.25.12
559afe
559afe
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.63-367
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
559afe
559afe
* Wed Aug 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.63-366
559afe
- Avoid loading optional modules from default . (CVE-2016-1238)
559afe
559afe
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.63-365
559afe
- Increase release to favour standalone package
559afe
559afe
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.63-1
559afe
- 3.63 bump in order to dual-live with perl 5.24
559afe
559afe
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.62-2
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
559afe
559afe
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 3.62-1
559afe
- 3.62 bump
559afe
559afe
* Mon Jan 11 2016 Petr Pisar <ppisar@redhat.com> - 3.60-2
559afe
- Fix CVE-2015-8607 (File::Spec::canonpath() loses tain) (bug #1297455)
559afe
559afe
* Thu Nov 19 2015 Petr Pisar <ppisar@redhat.com> - 3.60-1
559afe
- 3.60 bump
559afe
559afe
* Mon Nov 16 2015 Petr Pisar <ppisar@redhat.com> - 3.59-1
559afe
- 3.59 bump
559afe
559afe
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.56-346
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
559afe
559afe
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.56-345
559afe
- Increase release to favour standalone package
559afe
559afe
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.56-2
559afe
- Perl 5.22 rebuild
559afe
559afe
* Mon Apr 27 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.56-1
559afe
- 3.56 bump in order to dual-live with Perl 5.22
559afe
559afe
* Tue Jan 13 2015 Petr Pisar <ppisar@redhat.com> - 3.47-311
559afe
- Require constant module
559afe
559afe
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.47-310
559afe
- Increase release to favour standalone package
559afe
559afe
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.47-4
559afe
- Perl 5.20 rebuild
559afe
559afe
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.47-3
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
559afe
559afe
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.47-2
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
559afe
559afe
* Tue May 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.47-1
559afe
- 3.47 bump
559afe
559afe
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.40-291
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
559afe
559afe
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 3.40-290
559afe
- Increase release to favour standalone package
559afe
559afe
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.40-4
559afe
- Link minimal build-root packages against libperl.so explicitly
559afe
559afe
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.40-3
559afe
- Disable VMS test (bug #973713)
559afe
559afe
* Fri Jun 14 2013 Petr Pisar <ppisar@redhat.com> - 3.40-2
559afe
- Do not distribute File::Spec::VMS (bug #973713)
559afe
559afe
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> - 3.40-1
559afe
- 3.40 bump
559afe
559afe
* Tue Sep 18 2012 Petr Pisar <ppisar@redhat.com> - 3.39.01-1
559afe
- 3.39_01 bump
559afe
559afe
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 3.33-8
559afe
- Specify all dependencies
559afe
559afe
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.33-7
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
559afe
559afe
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.33-6
559afe
- Perl 5.16 rebuild
559afe
559afe
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.33-5
559afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
559afe
559afe
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 3.33-4
559afe
- RPM 4.9 dependency filtering added
559afe
559afe
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.33-3
559afe
- Perl mass rebuild
559afe
559afe
* Sun May 29 2011 Ville Skyttä <ville.skytta@iki.fi> - 3.33-2
559afe
- Own the %%{perl_vendorarch}/File dir.
559afe
559afe
* Mon Feb 28 2011 Marcela Mašláňová <mmaslano@redhat.com> 3.33-1
559afe
- Specfile autogenerated by cpanspec 1.79.