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