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