|
|
75c62b |
Name: perl-Archive-Zip
|
|
|
75c62b |
Version: 1.60
|
|
|
75c62b |
Release: 3%{?dist}
|
|
|
75c62b |
Summary: Perl library for accessing Zip archives
|
|
|
75c62b |
# lib/Archive/Zip/Member.pm: (GPL+ or Artistic) and BSD
|
|
|
75c62b |
# (The _mapPermissionsToUnix() comments are
|
|
|
75c62b |
# copied from BSD-licensed unzip)
|
|
|
75c62b |
# other files: GPL+ or Artistic
|
|
|
75c62b |
License: (GPL+ or Artistic) and BSD
|
|
|
75c62b |
URL: https://metacpan.org/release/Archive-Zip
|
|
|
75c62b |
Source0: https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz
|
|
|
75c62b |
# Fix CVE-2018-10860 (a directory and symbolic link traversal), bug #1596131,
|
|
|
75c62b |
# in upstream after 1.60.
|
|
|
75c62b |
Patch0: Archive-Zip-1.60-Prevent-from-traversing-symlinks-and-parent-director.patch
|
|
|
75c62b |
BuildArch: noarch
|
|
|
75c62b |
# For a Git binary patch
|
|
|
75c62b |
BuildRequires: git-core
|
|
|
75c62b |
BuildRequires: make
|
|
|
75c62b |
BuildRequires: perl-interpreter
|
|
|
75c62b |
BuildRequires: perl-generators
|
|
|
75c62b |
BuildRequires: perl(:VERSION) >= 5.4
|
|
|
75c62b |
BuildRequires: perl(Config)
|
|
|
75c62b |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
75c62b |
BuildRequires: perl(strict)
|
|
|
75c62b |
# Run-time
|
|
|
75c62b |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
75c62b |
BuildRequires: perl(bytes)
|
|
|
75c62b |
BuildRequires: perl(Carp)
|
|
|
75c62b |
BuildRequires: perl(Compress::Raw::Zlib)
|
|
|
75c62b |
BuildRequires: perl(constant)
|
|
|
75c62b |
BuildRequires: perl(Cwd)
|
|
|
75c62b |
BuildRequires: perl(Data::Dumper)
|
|
|
75c62b |
BuildRequires: perl(Encode)
|
|
|
75c62b |
BuildRequires: perl(Exporter)
|
|
|
75c62b |
BuildRequires: perl(File::Basename)
|
|
|
75c62b |
BuildRequires: perl(File::Copy)
|
|
|
75c62b |
BuildRequires: perl(File::Find)
|
|
|
75c62b |
BuildRequires: perl(File::Path)
|
|
|
75c62b |
BuildRequires: perl(File::Spec) >= 0.80
|
|
|
75c62b |
BuildRequires: perl(File::Temp)
|
|
|
75c62b |
BuildRequires: perl(FileHandle)
|
|
|
75c62b |
BuildRequires: perl(integer)
|
|
|
75c62b |
BuildRequires: perl(IO::File)
|
|
|
75c62b |
BuildRequires: perl(IO::Seekable)
|
|
|
75c62b |
BuildRequires: perl(Time::Local)
|
|
|
75c62b |
BuildRequires: perl(vars)
|
|
|
75c62b |
# Tests
|
|
|
75c62b |
BuildRequires: perl(File::Spec::Unix)
|
|
|
75c62b |
# IO::Scalar not used
|
|
|
75c62b |
BuildRequires: perl(lib)
|
|
|
75c62b |
BuildRequires: perl(Test::MockModule)
|
|
|
75c62b |
BuildRequires: perl(Test::More) >= 0.88
|
|
|
75c62b |
BuildRequires: perl(utf8)
|
|
|
75c62b |
BuildRequires: perl(warnings)
|
|
|
75c62b |
BuildRequires: unzip
|
|
|
75c62b |
BuildRequires: zip
|
|
|
75c62b |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
75c62b |
Requires: perl(Exporter)
|
|
|
75c62b |
Requires: perl(File::Spec) >= 0.80
|
|
|
75c62b |
|
|
|
75c62b |
# Remove under-specified dependencies
|
|
|
75c62b |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
|
|
|
75c62b |
|
|
|
75c62b |
%description
|
|
|
75c62b |
The Archive::Zip module allows a Perl program to create, manipulate,
|
|
|
75c62b |
read, and write Zip archive files.
|
|
|
75c62b |
Zip archives can be created, or you can read from existing zip files.
|
|
|
75c62b |
Once created, they can be written to files, streams, or strings.
|
|
|
75c62b |
Members can be added, removed, extracted, replaced, rearranged, and
|
|
|
75c62b |
enumerated. They can also be renamed or have their dates, comments,
|
|
|
75c62b |
or other attributes queried or modified. Their data can be compressed
|
|
|
75c62b |
or uncompressed as needed. Members can be created from members in
|
|
|
75c62b |
existing Zip files, or from existing directories, files, or strings.
|
|
|
75c62b |
|
|
|
75c62b |
|
|
|
75c62b |
%prep
|
|
|
75c62b |
%autosetup -S git -n Archive-Zip-%{version}
|
|
|
75c62b |
for F in examples/*.pl; do
|
|
|
75c62b |
perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
|
|
|
75c62b |
done
|
|
|
75c62b |
|
|
|
75c62b |
|
|
|
75c62b |
%build
|
|
|
75c62b |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
75c62b |
make %{?_smp_mflags}
|
|
|
75c62b |
|
|
|
75c62b |
|
|
|
75c62b |
%install
|
|
|
75c62b |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
75c62b |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
75c62b |
|
|
|
75c62b |
|
|
|
75c62b |
%check
|
|
|
75c62b |
make test
|
|
|
75c62b |
|
|
|
75c62b |
|
|
|
75c62b |
%files
|
|
|
75c62b |
%doc Changes examples/
|
|
|
75c62b |
%{_bindir}/crc32
|
|
|
75c62b |
%{perl_vendorlib}/Archive/
|
|
|
75c62b |
%{_mandir}/man3/Archive*.3*
|
|
|
75c62b |
|
|
|
75c62b |
|
|
|
75c62b |
%changelog
|
|
|
75c62b |
* Tue Jul 10 2018 Petr Pisar <ppisar@redhat.com> - 1.60-3
|
|
|
75c62b |
- Fix CVE-2018-10860 (a directory and symbolic link traversal) (bug #1596131)
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-2
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Dec 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-1
|
|
|
75c62b |
- 1.60 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Dec 19 2017 Petr Pisar <ppisar@redhat.com> - 1.59-6
|
|
|
75c62b |
- Fix shellbang in examples/selfex.pl documentation (CPAN RT#123913)
|
|
|
75c62b |
- Modernize spec file
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-5
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-4
|
|
|
75c62b |
- Perl 5.26 rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-3
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Sep 20 2016 Petr Pisar <ppisar@redhat.com> - 1.59-2
|
|
|
75c62b |
- License tag corrected to ((GPL+ or Artistic) and BSD)
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Aug 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-1
|
|
|
75c62b |
- 1.59 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Aug 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.58-1
|
|
|
75c62b |
- 1.58 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.57-2
|
|
|
75c62b |
- Perl 5.24 rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Apr 04 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.57-1
|
|
|
75c62b |
- 1.57 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.56-2
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Dec 21 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.56-1
|
|
|
75c62b |
- 1.56 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Dec 07 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.55-1
|
|
|
75c62b |
- 1.55 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Sep 25 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.53-1
|
|
|
75c62b |
- 1.53 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Sep 22 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.51-1
|
|
|
75c62b |
- 1.51 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Aug 26 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.50-1
|
|
|
75c62b |
- 1.50 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Aug 03 2015 Petr Pisar <ppisar@redhat.com> - 1.49-1
|
|
|
75c62b |
- 1.49 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Jun 19 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.48-1
|
|
|
75c62b |
- 1.48 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Jun 18 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.47-1
|
|
|
75c62b |
- 1.47 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-3
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-2
|
|
|
75c62b |
- Perl 5.22 rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Mar 25 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-1
|
|
|
75c62b |
- 1.46 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Feb 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.45-1
|
|
|
75c62b |
- 1.45 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.39-2
|
|
|
75c62b |
- Correct dependencies
|
|
|
75c62b |
- Improve sharpbang fix
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Oct 22 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.39-1
|
|
|
75c62b |
- 1.39 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Sep 10 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-1
|
|
|
75c62b |
- 1.38 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.37-3
|
|
|
75c62b |
- Perl 5.20 rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-2
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Jan 15 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.37-1
|
|
|
75c62b |
- 1.37 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Jan 02 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.36-1
|
|
|
75c62b |
- 1.36 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Dec 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.34-1
|
|
|
75c62b |
- 1.34 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Nov 22 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-1
|
|
|
75c62b |
- 1.33 bump
|
|
|
75c62b |
|
|
|
75c62b |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-13
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.30-12
|
|
|
75c62b |
- Perl 5.18 rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-11
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-10
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.30-9
|
|
|
75c62b |
- Perl 5.16 rebuild
|
|
|
75c62b |
- Specify all dependencies
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Mar 19 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.30-8
|
|
|
75c62b |
- 543660 apply patch from rt cpan 54827
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-7
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.30-6
|
|
|
75c62b |
- Perl mass rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-5
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.30-4
|
|
|
75c62b |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.30-3
|
|
|
75c62b |
- Mass rebuild with perl-5.12.0
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.30-2
|
|
|
75c62b |
- rebuild against perl 5.10.1
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Jul 27 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.30-1
|
|
|
75c62b |
- update to 1.30
|
|
|
75c62b |
|
|
|
75c62b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
|
|
|
75c62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 1.23-1
|
|
|
75c62b |
- Update to 1.23.
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-5
|
|
|
75c62b |
- Rebuild for perl 5.10 (again)
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-4
|
|
|
75c62b |
- rebuild for new perl
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Aug 23 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-3
|
|
|
75c62b |
- Fix license tag
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Jun 27 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-2
|
|
|
75c62b |
- Resolves: rhbz#226240
|
|
|
75c62b |
- Incorporate changes from Steven Pritchard's package review
|
|
|
75c62b |
- Fix find option order.
|
|
|
75c62b |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
75c62b |
- Remove check macro cruft.
|
|
|
75c62b |
- Update build dependencies.
|
|
|
75c62b |
- Package LICENSE.
|
|
|
75c62b |
- BR unzip, zip for better test coverage.
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 1.20-1
|
|
|
75c62b |
- Update to latest CPAN version: 1.20
|
|
|
75c62b |
- Fix broken changelog
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.16-1.2.1
|
|
|
75c62b |
- rebuild
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Feb 03 2006 Jason Vas Dias<jvdias@redhat.com> - 1.16-1.2
|
|
|
75c62b |
- rebuilt for new perl-5.8.8
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
75c62b |
- rebuilt for new gcc
|
|
|
75c62b |
|
|
|
75c62b |
* Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1
|
|
|
75c62b |
- Update to 1.16.
|
|
|
75c62b |
|
|
|
75c62b |
* Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
|
|
|
75c62b |
- Update to 1.14.
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Apr 8 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
75c62b |
- rebuilt
|
|
|
75c62b |
|
|
|
75c62b |
* Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
|
|
|
75c62b |
- Update to 1.12.
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Jul 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
|
|
|
75c62b |
- Update to 1.11.
|
|
|
75c62b |
- Bring up to date with current fedora.us Perl spec template.
|
|
|
75c62b |
|
|
|
75c62b |
* Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
|
|
|
75c62b |
- Update to 1.10.
|
|
|
75c62b |
- Reduce directory ownership bloat.
|
|
|
75c62b |
- Require perl(:MODULE_COMPAT_*).
|
|
|
75c62b |
|
|
|
75c62b |
* Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
|
|
|
75c62b |
- Update to 1.09.
|
|
|
75c62b |
|
|
|
75c62b |
* Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
|
|
|
75c62b |
- Update to 1.08.
|
|
|
75c62b |
|
|
|
75c62b |
* Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
|
|
|
75c62b |
- Update to 1.07.
|
|
|
75c62b |
|
|
|
75c62b |
* Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
|
|
|
75c62b |
- Update to 1.06.
|
|
|
75c62b |
- Specfile cleanups.
|
|
|
75c62b |
|
|
|
75c62b |
* Sun Jun 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1
|
|
|
75c62b |
- First build.
|