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