Blame SPECS/perl-PathTools.spec

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