|
|
@ -6,24 +6,23 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Archive-Tar
|
|
|
|
Name: perl-Archive-Tar
|
|
|
|
Version: 2.26
|
|
|
|
Version: 2.38
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: A module for Perl manipulation of .tar files
|
|
|
|
Summary: A module for Perl manipulation of .tar files
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/Archive-Tar/
|
|
|
|
URL: https://metacpan.org/release/Archive-Tar
|
|
|
|
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz
|
|
|
|
# Remove annoying sleep after warnings in the build script
|
|
|
|
# Remove annoying sleep after warnings in the build script
|
|
|
|
Patch0: Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch
|
|
|
|
Patch0: Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Most of the BRS are needed only for tests, compression support at run-time
|
|
|
|
# Most of the BRS are needed only for tests, compression support at run-time
|
|
|
|
# is optional soft dependency.
|
|
|
|
# is optional soft dependency.
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# File::Copy not used
|
|
|
|
# File::Copy not used
|
|
|
|
BuildRequires: perl(Getopt::Std)
|
|
|
|
BuildRequires: perl(Getopt::Std)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
@ -48,10 +47,14 @@ BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Optional run-time:
|
|
|
|
# Optional run-time:
|
|
|
|
BuildRequires: perl(IO::Compress::Bzip2) >= 2.015
|
|
|
|
BuildRequires: perl(IO::Compress::Bzip2) >= 2.015
|
|
|
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Compress::Xz)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
# IO::String not used if perl supports useperlio which is true
|
|
|
|
# IO::String not used if perl supports useperlio which is true
|
|
|
|
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
|
|
|
|
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
|
|
|
|
BuildRequires: perl(IO::Uncompress::Bunzip2) >= 2.015
|
|
|
|
BuildRequires: perl(IO::Uncompress::Bunzip2) >= 2.015
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Uncompress::UnXz)
|
|
|
|
BuildRequires: perl(Text::Diff)
|
|
|
|
BuildRequires: perl(Text::Diff)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
@ -70,10 +73,14 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(IO::Zlib) >= 1.01
|
|
|
|
Requires: perl(IO::Zlib) >= 1.01
|
|
|
|
# Optional run-time:
|
|
|
|
# Optional run-time:
|
|
|
|
Requires: perl(IO::Compress::Bzip2) >= 2.015
|
|
|
|
Requires: perl(IO::Compress::Bzip2) >= 2.015
|
|
|
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
|
|
|
Requires: perl(IO::Compress::Xz)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
# IO::String not used if perl supports useperlio which is true
|
|
|
|
# IO::String not used if perl supports useperlio which is true
|
|
|
|
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
|
|
|
|
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
|
|
|
|
Requires: perl(IO::Uncompress::Bunzip2) >= 2.015
|
|
|
|
Requires: perl(IO::Uncompress::Bunzip2) >= 2.015
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
|
|
|
Requires: perl(IO::Uncompress::UnXz)
|
|
|
|
Requires: perl(Text::Diff)
|
|
|
|
Requires: perl(Text::Diff)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -89,15 +96,14 @@ will also support compressed or gzipped tar files.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Archive-Tar-%{version}
|
|
|
|
%setup -q -n Archive-Tar-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
%patch0 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
%{make_install}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -112,8 +118,68 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Apr 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.26-6
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.38-6
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.38-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.38-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.38-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.38-2
|
|
|
|
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 25 2020 Petr Pisar <ppisar@redhat.com> - 2.38-1
|
|
|
|
|
|
|
|
- 2.38 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.36-456
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 14 2020 Petr Pisar <ppisar@redhat.com> - 2.36-2
|
|
|
|
|
|
|
|
- Do not require non-core IO::Compress::Xz and IO::Uncompress::UnXz modules on
|
|
|
|
|
|
|
|
bootstrapping
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 03 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.36-1
|
|
|
|
|
|
|
|
- 2.36 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-441
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-440
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-439
|
|
|
|
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-438
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 13 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-1
|
|
|
|
|
|
|
|
- 2.32 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.30-418
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.30-417
|
|
|
|
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.30-416
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.30-1
|
|
|
|
|
|
|
|
- 2.30 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 08 2018 Petr Pisar <ppisar@redhat.com> - 2.28-1
|
|
|
|
|
|
|
|
- 2.28 bump
|
|
|
|
|
|
|
|
- Fixes CVE-2018-12015 (directory traversal) (bug #1588761)
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 04 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-6
|
|
|
|
* Wed Apr 04 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-6
|
|
|
|
- Do not run optional test on RHEL
|
|
|
|
- Do not run optional test on RHEL
|
|
|
|