|
|
@ -1,17 +1,15 @@
|
|
|
|
Name: perl-Archive-Zip
|
|
|
|
Name: perl-Archive-Zip
|
|
|
|
Version: 1.68
|
|
|
|
Version: 1.60
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Perl library for accessing Zip archives
|
|
|
|
Summary: Perl library for accessing Zip archives
|
|
|
|
# lib/Archive/Zip/Member.pm: (GPL+ or Artistic) and BSD
|
|
|
|
# lib/Archive/Zip/Member.pm: (GPL+ or Artistic) and BSD
|
|
|
|
# (The _mapPermissionsToUnix() comments are
|
|
|
|
# (The _mapPermissionsToUnix() comments are
|
|
|
|
# copied from BSD-licensed unzip)
|
|
|
|
# copied from BSD-licensed unzip)
|
|
|
|
# other files: GPL+ or Artistic
|
|
|
|
# other files: GPL+ or Artistic
|
|
|
|
License: (GPL+ or Artistic) and BSD
|
|
|
|
License: (GPL+ or Artistic) and BSD
|
|
|
|
URL: https://metacpan.org/release/Archive-Zip
|
|
|
|
URL: http://search.cpan.org/dist/Archive-Zip/
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# For a Git binary patch
|
|
|
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
@ -21,10 +19,12 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
# Run-time
|
|
|
|
# Run-time
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
|
|
|
|
|
BuildRequires: perl(bytes)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Compress::Raw::Zlib)
|
|
|
|
BuildRequires: perl(Compress::Raw::Zlib)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
@ -43,6 +43,7 @@ BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(File::Spec::Unix)
|
|
|
|
BuildRequires: perl(File::Spec::Unix)
|
|
|
|
# IO::Scalar not used
|
|
|
|
# IO::Scalar not used
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::MockModule)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
@ -68,22 +69,26 @@ existing Zip files, or from existing directories, files, or strings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -S git -n Archive-Zip-%{version}
|
|
|
|
%setup -q -n Archive-Zip-%{version}
|
|
|
|
for F in examples/*.pl; do
|
|
|
|
for F in examples/*.pl; do
|
|
|
|
perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
|
|
|
|
perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
%{make_build}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes examples/
|
|
|
|
%doc Changes examples/
|
|
|
|
%{_bindir}/crc32
|
|
|
|
%{_bindir}/crc32
|
|
|
@ -92,64 +97,8 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.68-6
|
|
|
|
* Thu Apr 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.60-2
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.68-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.68-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Petr Pisar <ppisar@redhat.com> - 1.68-3
|
|
|
|
|
|
|
|
- Remove an unused build-time dependency on Test::MockModule
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.68-2
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 13 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.68-1
|
|
|
|
|
|
|
|
- 1.68 bump
|
|
|
|
|
|
|
|
- Use make_* macros
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.67-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 07 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.67-1
|
|
|
|
|
|
|
|
- 1.67 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 17 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.66-1
|
|
|
|
|
|
|
|
- 1.66 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 09 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.65-1
|
|
|
|
|
|
|
|
- 1.65 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.64-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.64-3
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.64-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 13 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.64-1
|
|
|
|
|
|
|
|
- 1.64 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-1
|
|
|
|
|
|
|
|
- 1.63 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 20 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-1
|
|
|
|
|
|
|
|
- 1.62 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 10 2018 Petr Pisar <ppisar@redhat.com> - 1.60-4
|
|
|
|
|
|
|
|
- Fix CVE-2018-10860 (a directory and symbolic link traversal) (bug #1596132)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-3
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-2
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|