|
|
8f044c |
Name: perl-IO-Zlib
|
|
|
8f044c |
# To compete with perl.spec
|
|
|
8f044c |
Epoch: 1
|
|
|
8f044c |
Version: 1.11
|
|
|
8f044c |
Release: 4%{?dist}
|
|
|
8f044c |
Summary: Perl IO:: style interface to Compress::Zlib
|
|
|
8f044c |
License: GPL+ or Artistic
|
|
|
8f044c |
URL: https://metacpan.org/release/IO-Zlib
|
|
|
8f044c |
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOMHUGHES/IO-Zlib-%{version}.tar.gz
|
|
|
8f044c |
BuildArch: noarch
|
|
|
8f044c |
BuildRequires: coreutils
|
|
|
8f044c |
BuildRequires: make
|
|
|
8f044c |
BuildRequires: perl-generators
|
|
|
8f044c |
BuildRequires: perl-interpreter
|
|
|
8f044c |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
8f044c |
BuildRequires: perl(strict)
|
|
|
8f044c |
BuildRequires: perl(warnings)
|
|
|
8f044c |
# Run-time:
|
|
|
8f044c |
BuildRequires: gzip
|
|
|
8f044c |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
8f044c |
BuildRequires: perl(Carp)
|
|
|
8f044c |
BuildRequires: perl(Compress::Zlib) >= 2
|
|
|
8f044c |
BuildRequires: perl(Fcntl)
|
|
|
8f044c |
# IO::Handle used if gzip backend is requested
|
|
|
8f044c |
BuildRequires: perl(IO::Handle)
|
|
|
8f044c |
BuildRequires: perl(Symbol)
|
|
|
8f044c |
BuildRequires: perl(Tie::Handle)
|
|
|
8f044c |
# The code defaults to Compress::Zlib, but a user can override it to gzip by
|
|
|
8f044c |
# importing :gzip_external symbol
|
|
|
8f044c |
Requires: gzip
|
|
|
8f044c |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
8f044c |
Requires: perl(Compress::Zlib) >= 2
|
|
|
8f044c |
Requires: perl(IO::Handle)
|
|
|
8f044c |
|
|
|
8f044c |
%description
|
|
|
8f044c |
IO::Zlib provides an IO:: style interface to Compress::Zlib and hence to
|
|
|
8f044c |
gzip/zlib-compressed files. It provides many of the same methods as the
|
|
|
8f044c |
IO::Handle interface.
|
|
|
8f044c |
|
|
|
8f044c |
%prep
|
|
|
8f044c |
%setup -q -n IO-Zlib-%{version}
|
|
|
8f044c |
|
|
|
8f044c |
%build
|
|
|
8f044c |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
8f044c |
%{make_build}
|
|
|
8f044c |
|
|
|
8f044c |
%install
|
|
|
8f044c |
%{make_install}
|
|
|
8f044c |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
8f044c |
|
|
|
8f044c |
%check
|
|
|
8f044c |
make test
|
|
|
8f044c |
|
|
|
8f044c |
%files
|
|
|
8f044c |
%doc ChangeLog README.md
|
|
|
8f044c |
%{perl_vendorlib}/*
|
|
|
8f044c |
%{_mandir}/man3/*
|
|
|
8f044c |
|
|
|
8f044c |
%changelog
|
|
|
8f044c |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.11-4
|
|
|
8f044c |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
8f044c |
Related: rhbz#1991688
|
|
|
8f044c |
|
|
|
8f044c |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.11-3
|
|
|
8f044c |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
8f044c |
|
|
|
8f044c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.11-2
|
|
|
8f044c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8f044c |
|
|
|
8f044c |
* Thu Sep 24 2020 Petr Pisar <ppisar@redhat.com> 1:1.11-1
|
|
|
8f044c |
- Specfile autogenerated by cpanspec 1.78.
|