RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/perl-IO-Zlib#44c5f7a5159328011a43e474a2c61b40618d0ba1
This commit is contained in:
Troy Dawson 2020-10-20 07:30:25 -07:00
parent 4934fcdbc4
commit bc57934396
3 changed files with 63 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/IO-Zlib-1.11.tar.gz

61
perl-IO-Zlib.spec Normal file
View File

@ -0,0 +1,61 @@
Name: perl-IO-Zlib
# To compete with perl.spec
Epoch: 1
Version: 1.11
Release: 1%{?dist}
Summary: Perl IO:: style interface to Compress::Zlib
License: GPL+ or Artistic
URL: https://metacpan.org/release/IO-Zlib
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOMHUGHES/IO-Zlib-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: gzip
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(Carp)
BuildRequires: perl(Compress::Zlib) >= 2
BuildRequires: perl(Fcntl)
# IO::Handle used if gzip backend is requested
BuildRequires: perl(IO::Handle)
BuildRequires: perl(Symbol)
BuildRequires: perl(Tie::Handle)
# The code defaults to Compress::Zlib, but a user can override it to gzip by
# importing :gzip_external symbol
Requires: gzip
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Compress::Zlib) >= 2
Requires: perl(IO::Handle)
%description
IO::Zlib provides an IO:: style interface to Compress::Zlib and hence to
gzip/zlib-compressed files. It provides many of the same methods as the
IO::Handle interface.
%prep
%setup -q -n IO-Zlib-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc ChangeLog README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Sep 24 2020 Petr Pisar <ppisar@redhat.com> 1:1.11-1
- Specfile autogenerated by cpanspec 1.78.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (IO-Zlib-1.11.tar.gz) = ae7a8477ea0459ca123919155639154fffbd4f3cc2c7eda3c73e3ee6c3bd9f8cd205ed70496082c741e095f1b7799e2e7b2bec5dbfc8270987dadfe5d839c8b7