380860
# Run optional test
380860
%if ! (0%{?rhel})
380860
%bcond_without perl_Archive_Tar_enables_optional_test
380860
%else
380860
%bcond_with perl_Archive_Tar_enables_optional_test
380860
%endif
380860
380860
Name:           perl-Archive-Tar
380860
Version:        2.32
380860
Release:        440%{?dist}
380860
Summary:        A module for Perl manipulation of .tar files
380860
License:        GPL+ or Artistic
380860
URL:            https://metacpan.org/release/Archive-Tar
380860
Source0:        https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz
380860
# Remove annoying sleep after warnings in the build script
380860
Patch0:         Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch
380860
BuildArch:      noarch
380860
# Most of the BRS are needed only for tests, compression support at run-time
380860
# is optional soft dependency.
380860
BuildRequires:  make
380860
BuildRequires:  perl-generators
380860
BuildRequires:  perl-interpreter
380860
BuildRequires:  perl(Config)
380860
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
380860
# File::Copy not used
380860
BuildRequires:  perl(Getopt::Std)
380860
BuildRequires:  perl(strict)
380860
# Run-time:
380860
BuildRequires:  perl(Carp)
380860
BuildRequires:  perl(constant)
380860
BuildRequires:  perl(Cwd)
380860
BuildRequires:  perl(Data::Dumper)
380860
BuildRequires:  perl(Exporter)
380860
BuildRequires:  perl(File::Basename)
380860
BuildRequires:  perl(File::Find)
380860
BuildRequires:  perl(File::Path)
380860
BuildRequires:  perl(File::Spec) >= 0.82
380860
BuildRequires:  perl(File::Spec::Unix)
380860
BuildRequires:  perl(Getopt::Long)
380860
BuildRequires:  perl(IO::File)
380860
BuildRequires:  perl(IO::Handle)
380860
BuildRequires:  perl(IO::Zlib) >= 1.01
380860
BuildRequires:  perl(Pod::Usage)
380860
# Time::Local not used on Linux
380860
BuildRequires:  perl(vars)
380860
BuildRequires:  perl(warnings)
380860
# Optional run-time:
380860
BuildRequires:  perl(IO::Compress::Bzip2) >= 2.015
380860
# IO::String not used if perl supports useperlio which is true
380860
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
380860
BuildRequires:  perl(IO::Uncompress::Bunzip2) >= 2.015
380860
%if !%{defined perl_bootstrap}
380860
BuildRequires:  perl(Text::Diff)
380860
%endif
380860
# Tests:
380860
BuildRequires:  perl(File::Copy)
380860
BuildRequires:  perl(File::Temp)
380860
BuildRequires:  perl(FindBin)
380860
BuildRequires:  perl(lib)
380860
BuildRequires:  perl(Test::Harness) >= 2.26
380860
BuildRequires:  perl(Test::More)
380860
# Optional tests:
380860
%if %{with perl_Archive_Tar_enables_optional_test} && !%{defined perl_bootstrap}
380860
BuildRequires:  perl(IPC::Cmd)
380860
BuildRequires:  perl(Test::Pod) >= 0.95
380860
%endif
380860
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
380860
Requires:       perl(IO::Zlib) >= 1.01
380860
# Optional run-time:
380860
Requires:       perl(IO::Compress::Bzip2) >= 2.015
380860
# IO::String not used if perl supports useperlio which is true
380860
# Use Compress::Zlib's version for IO::Uncompress::Bunzip2
380860
Requires:       perl(IO::Uncompress::Bunzip2) >= 2.015
380860
%if !%{defined perl_bootstrap}
380860
Requires:       perl(Text::Diff)
380860
%endif
380860
380860
# Remove under-specified dependencies
380860
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::Zlib\\)$
380860
380860
%description
380860
Archive::Tar provides an object oriented mechanism for handling tar
380860
files.  It provides class methods for quick and easy files handling
380860
while also allowing for the creation of tar file objects for custom
380860
manipulation.  If you have the IO::Zlib module installed, Archive::Tar
380860
will also support compressed or gzipped tar files.
380860
380860
%prep
380860
%setup -q -n Archive-Tar-%{version}
380860
%patch0 -p1
380860
380860
%build
380860
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
380860
make %{?_smp_mflags}
380860
380860
%install
380860
make pure_install DESTDIR=%{buildroot}
380860
%{_fixperms} %{buildroot}/*
380860
380860
%check
380860
make test
380860
380860
%files
380860
%doc CHANGES README
380860
%{_bindir}/*
380860
%{perl_vendorlib}/Archive/
380860
%{_mandir}/man3/*.3*
380860
%{_mandir}/man1/*.1*
380860
380860
380860
%changelog
380860
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-440
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
380860
380860
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-439
380860
- Perl 5.30 re-rebuild of bootstrapped packages
380860
380860
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-438
380860
- Increase release to favour standalone package
380860
380860
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.32-2
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
380860
380860
* Thu Sep 13 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-1
380860
- 2.32 bump
380860
380860
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.30-418
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
380860
380860
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.30-417
380860
- Perl 5.28 re-rebuild of bootstrapped packages
380860
380860
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.30-416
380860
- Increase release to favour standalone package
380860
380860
* Tue Jun 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.30-1
380860
- 2.30 bump
380860
380860
* Fri Jun 08 2018 Petr Pisar <ppisar@redhat.com> - 2.28-1
380860
- 2.28 bump
380860
- Fixes CVE-2018-12015 (directory traversal) (bug #1588761)
380860
380860
* Wed Apr 04 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-6
380860
- Do not run optional test on RHEL
380860
380860
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-5
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
380860
380860
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-4
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
380860
380860
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-3
380860
- Perl 5.26 re-rebuild of bootstrapped packages
380860
380860
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-2
380860
- Perl 5.26 rebuild
380860
380860
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-1
380860
- 2.26 bump
380860
380860
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.24-2
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
380860
380860
* Mon Dec 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.24-1
380860
- 2.24 bump
380860
380860
* Fri Dec 16 2016 Petr Pisar <ppisar@redhat.com> - 2.22-1
380860
- 2.22 bump
380860
380860
* Fri Dec 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.20-1
380860
- 2.20 bump
380860
380860
* Tue Nov 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.18-1
380860
- 2.18 bump
380860
380860
* Wed Nov 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-1
380860
- 2.16 bump
380860
380860
* Fri Oct 21 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-1
380860
- 2.14 bump
380860
380860
* Mon Oct 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.12-1
380860
- 2.12 bump
380860
380860
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 2.10-1
380860
- 2.10 bump
380860
380860
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.08-3
380860
- Perl 5.24 re-rebuild of bootstrapped packages
380860
380860
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.08-2
380860
- Perl 5.24 rebuild
380860
380860
* Thu May 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.08-1
380860
- 2.08 bump
380860
380860
* Tue Apr 26 2016 Petr Pisar <ppisar@redhat.com> - 2.06-1
380860
- 2.06 bump
380860
380860
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.04-348
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
380860
380860
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.04-347
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
380860
380860
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-346
380860
- Perl 5.22 re-rebuild of bootstrapped packages
380860
380860
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-345
380860
- Increase release to favour standalone package
380860
380860
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-2
380860
- Perl 5.22 rebuild
380860
380860
* Tue Dec 16 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-1
380860
- 2.04 bump
380860
380860
* Wed Dec 10 2014 Petr Pisar <ppisar@redhat.com> - 2.02-2
380860
- Remove unneeded dependencies
380860
- Remove annoying sleep after warnings in the build script
380860
380860
* Thu Sep 18 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-1
380860
- 2.02 bump
380860
380860
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.00-3
380860
- Perl 5.20 re-rebuild of bootstrapped packages
380860
380860
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.00-2
380860
- Perl 5.20 rebuild
380860
380860
* Mon Jun 23 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.00-1
380860
- 2.00 bump
380860
380860
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.96-2
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
380860
380860
* Fri Oct 25 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.96-1
380860
- 1.96 bump
380860
380860
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-4
380860
- Perl 5.18 re-rebuild of bootstrapped packages
380860
380860
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.92-3
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
380860
380860
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.92-2
380860
- Perl 5.18 rebuild
380860
380860
* Thu Jun 20 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.92-1
380860
- 1.92 bump
380860
- Use DESTDIR rather than PERL_INSTALL_ROOT
380860
- Update dependencies
380860
380860
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-3
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
380860
380860
* Tue Sep 18 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.90-2
380860
- Add BRs perl(lib), perl(IO::File)
380860
380860
* Thu Sep 13 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.90-1
380860
- 1.90 bump
380860
380860
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.88-5
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
380860
380860
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.88-4
380860
- Perl 5.16 re-rebuild of bootstrapped packages
380860
380860
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.88-3
380860
- Perl 5.16 rebuild
380860
380860
* Mon Jun 04 2012 Petr Šabata <contyk@redhat.com> - 1.88-2
380860
- 1.88 bump
380860
- Drop command macros
380860
380860
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 1.84-2
380860
- Omit optional Test::Pod tests on bootstrap
380860
380860
* Wed Mar 14 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.84-1
380860
- 1.84 bump #802981 
380860
380860
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.82-2
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
380860
380860
* Tue Nov 22 2011 Petr Šabata <contyk@redhat.com> - 1.82-1
380860
- 1.82 bump
380860
380860
* Fri Oct 14 2011 Petr Sabata <contyk@redhat.com> - 1.80-1
380860
- 1.80 bump
380860
380860
* Fri Sep 09 2011 Petr Pisar <ppisar@redhat.com> - 1.78-1
380860
- 1.78 bump
380860
- Remove BuildRoot and defattr code from spec
380860
380860
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.76-3
380860
- Perl mass rebuild
380860
380860
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.76-2
380860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
380860
380860
* Mon Jan 10 2011 Petr Pisar <ppisar@redhat.com> - 1.76-1
380860
- 1.76 bump
380860
380860
* Mon Jan 03 2011 Petr Sabata <psabata@redhat.com> - 1.74-1
380860
- 1.74 bump
380860
380860
* Fri Nov 19 2010 Petr Pisar <ppisar@redhat.com> - 1.72-1
380860
- 1.72 bump
380860
380860
* Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> - 1.68-1
380860
- 1.68 bump
380860
380860
* Tue Jul 13 2010 Petr Pisar <ppisar@redhat.com> - 1.64-1
380860
- 1.64 bump
380860
380860
* Tue Jul 13 2010 Petr Pisar <ppisar@redhat.com> - 1.62-1
380860
- 1.62 bump (bug #607687)
380860
380860
* Thu Aug 23 2007 Robin Norwood <rnorwood@redhat.com> - 1.34-1
380860
- Upgrade to latest upstream version: 1.34
380860
- Fix license tag
380860
- Fix BuildRequires for ExtUtils::MakeMaker and Test::Pod
380860
380860
* Mon Jun 04 2007 Robin Norwood <rnorwood@redhat.com> - 1.32-1
380860
- Upgrade to latest upstream version: 1.32
380860
380860
* Mon Mar 05 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-4
380860
- Fix changelog
380860
380860
* Mon Feb 19 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-3
380860
- Incorporate specfile improvements from Jose Oliveira.
380860
380860
* Fri Feb 16 2007 Robin Norwood <rnorwood@redhat.com> - 1.30-2
380860
- Resolves: rhbz#226239 - Remove tabs from spec file for package review
380860
380860
* Tue Sep 19 2006 Robin Norwood <rnorwood@redhat.com> - 1.30-1
380860
- Bump to 1.30
380860
380860
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.29-1.1
380860
- rebuild
380860
380860
* Wed Mar 08 2006 Jason Vas Dias <jvdias@redhat.com> - 1.29-1
380860
- Upgrade to upstream version 1.29
380860
380860
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.28-1
380860
- Upgrade to upstream version 1.28
380860
- Rebuild for perl-5.8.8
380860
380860
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
380860
- rebuilt for new gcc
380860
380860
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
380860
- 1.26
380860
380860
* Mon Apr 25 2005 Warren Togami <wtogami@redhat.com> - 1.23-4
380860
- remove beehive workaround
380860
380860
* Sun Apr 03 2005 Jose Pedro Oliveira <jpo@di.uminho.pt> - 1.23-1
380860
- Update to 1.23.
380860
- Bring up to date with current Fedora.Extras perl spec template.
380860
380860
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.08-3
380860
- rebuild
380860
380860
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.08-1
380860
- update to upstream 1.08
380860
380860
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
380860
- rebuilt
380860
380860
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
380860
- automated release bump and build
380860
380860
* Fri Feb 08 2002 cturner@redhat.com
380860
- Specfile autogenerated
380860