Name: perl-Compress-Bzip2 Version: 2.26 Release: 12 Summary: This module provides a Compress::Zlib like Perl interface to the bzip2 library License: GPL+ or Artistic URL: https://metacpan.org/release/Compress-Bzip2 Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz Patch1: backport-Fix-various-obj-NULL-derefs.patch BuildRequires: findutils gcc make bzip2-devel >= 1.0.5 sed perl(ExtUtils::MakeMaker) BuildRequires: perl-interpreter perl-generators perl(Test::More) perl-devel Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(constant) >= 1.04 %{?perl_default_filter} %description This module provides a Compress::Zlib like Perl interface to the bzip2 library. It uses the low level interface to the bzip2 algorithm, and reimplements all high level routines. %package_help %prep %setup -q -n Compress-Bzip2-%{version} %patch1 -p1 find bzlib-src -mindepth 1 -type f \! -name 'sample*' -delete sed -i -e '/^bzlib-src\//d' MANIFEST find bzlib-src -type f >>MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 OPTIMIZE="%{optflags}" %make_build %install %make_install %{_fixperms} %{buildroot} %check make test %files %license COPYING %doc README.md %{perl_vendorarch}/Compress/ %{perl_vendorarch}/auto/Compress/ %files help %doc ANNOUNCE Changes NEWS %{_mandir}/man3/*.3pm* %changelog * Tue Oct 24 2023 wangjiang - 2.26-12 - fix various obj NULL derefs * Wed May 13 2020 openEuler Buildteam - 2.26-11 - Add build requires of perl-devel * Wed Jan 8 2020 openEuler Buildteam - 2.26-10 - Package init