Accepting request 735795 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/735795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Archive-Zip?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2019-11-06 12:46:51 +00:00 committed by Git OBS Bridge
commit de42adafb8
4 changed files with 98 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de5f84f2148038363d557b1fa33f58edc208111f789f7299fe3d8f6e11b4d17d
size 192005

3
Archive-Zip-1.67.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be2274344c7659bf9189838dc6b9a59ec6f957c74ddfd35ff2780d56f4592774
size 212270

View File

@ -1,3 +1,90 @@
-------------------------------------------------------------------
Mon Oct 7 09:05:51 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- Update to 1.67
see /usr/share/doc/packages/perl-Archive-Zip/Changes
1.67 Sun 06 Oct 2019
- Fixed compatibility issues with zip64 format (defined-or, pack)
- Fixed hard-coded version fields introduced in version 1.66
- Fixed merge glitch with tests 26 and 27
- Fixed merge glitch with bzip passthrough
- Updated bzip test file to avoid zip bomb detection
-------------------------------------------------------------------
Wed Sep 18 08:15:38 UTC 2019 - <timueller+perl@suse.de>
- updated to 1.66
see /usr/share/doc/packages/perl-Archive-Zip/Changes
1.66 Mon 16 Sep 2019
- Refactored low-level methods for reading and writing zip files
in zip64 format. Added new parameters and return values to
most of these. Extended constants in Archive::Zip to cover
zip64 formats and lengths.
- Added public APIs
Archive::Zip::Archive::zip64
Archive::Zip::Archive::desiredZip64Mode
Archive::Zip::Archive::versionMadeBy
Archive::Zip::Archive::versionNeededToExtract
Archive::Zip::Member::zip64
Archive::Zip::Member::desiredZip64Mode
and constants
Archive::Zip::ZIP64_AS_NEEDED
Archive::Zip::ZIP64_EOCD
Archive::Zip::ZIP64_HEADERS
plus POD on these.
- Added tests for zip64 format in t/21_zip64.t and more test zip
files below t/data. Extended tests in t/02_main.t to perform
all existing tests in all possible desired zip64 modes.
- Extended methods
Archive::Zip::Member::localExtraField
Archive::Zip::Member::cdExtraField
to perform format checks when called as setters and to reject
any zip64 extended information extra fields passed by the user.
Extended POD and tests in t/02_main.t accordingly.
- Setting {'compressedSize'} after writing central directory
header.
- Added new optional parameter $noFormatError to method
Archive::Zip::_readSignature to silence any format errros when
testing for signatures.
- Added error handling for potentially failed object conversion
after calling method Archive::Zip::Member::_become. Factored
in method Archive::Zip::Member::_becomeDirectoryIfNecessary
into caller.
- Changed methods
Archive::Zip::Archive::contents
Archive::Zip::Member::contents
(and all inheriting from these) to consistently return a pair
($contents, $status) when called in list context and a scalar
$contents when called in scalar context. Extended tests in
t/02_main.t accordingly.
- Changed method Archive::Zip::Member::extractToFileHandle to
accept a file name instead of a file handle when extracting
symbolic links. Changed lower-level and higher-level methods
to use that feature. Cleaned up code related to the handling
of symbolic links. Added creation of intermediate directories
in method Archive::Zip::Member::extractToFileNamed for symbolic
links as well. Reporting errors from symlink call as AZ-error.
Added POD and test zip file t/data/symlink.zip and tests in
t/26_symlinks.t for these changes.
- Cleaned up code and added comment related to that highly
dubious (?) {'wasWritten'} logic.
-------------------------------------------------------------------
Tue Sep 10 09:02:19 UTC 2019 - <timueller+perl@suse.de>
- updated to 1.65
see /usr/share/doc/packages/perl-Archive-Zip/Changes
1.65 Sat 7 Sep 2019
- Fix for members using bzip compression [github/pmqs]
- NetBSD doesn't mind empty zips [github/pmqs]
- Solaris test failure, Add diag to failing test to collect data [github/pmqs]
- Test for presence of Test::MockModule [github/pmqs]
- Fix skip line for Windows [github/pmqs]
- Skip tests that assume /tmp on Windows [github/pmqs]
-------------------------------------------------------------------
Mon Sep 24 08:40:02 UTC 2018 - pmonrealgonzalez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Archive-Zip
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,27 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Archive-Zip
Name: perl-Archive-Zip
Version: 1.64
Version: 1.67
Release: 0
%define cpan_name Archive-Zip
Summary: Provide an interface to ZIP archive files
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/pod/Archive::Zip
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Compress::Raw::Zlib) >= 2.017
BuildRequires: perl(Test::MockModule)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Compress::Raw::Zlib) >= 2.017
BuildArch: noarch
%{perl_requires}
%description
@ -65,7 +66,7 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make %{?_smp_mflags} test
make test
%install
%perl_make_install