diff --git a/.gitignore b/.gitignore index 5d650b7..f3d59b7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ Compress-Bzip2-2.09.tar.gz /Compress-Bzip2-2.24.tar.gz /Compress-Bzip2-2.25.tar.gz /Compress-Bzip2-2.26.tar.gz +/Compress-Bzip2-2.27.tar.gz diff --git a/perl-Compress-Bzip2.spec b/perl-Compress-Bzip2.spec index 698f401..2421516 100644 --- a/perl-Compress-Bzip2.spec +++ b/perl-Compress-Bzip2.spec @@ -6,8 +6,8 @@ %endif Name: perl-Compress-Bzip2 -Version: 2.26 -Release: 16%{?dist} +Version: 2.27 +Release: 1%{?dist} Summary: Interface to Bzip2 compression library # bzlib-src/win-tst-dlltest.c (unbundled): Public Domain # bzlib-src/LICENSE (unbundled): BSD @@ -20,9 +20,10 @@ BuildRequires: bzip2-devel >= 1.0.5 BuildRequires: findutils BuildRequires: gcc BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= 5.8.1 BuildRequires: perl(Config) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Spec) @@ -66,12 +67,12 @@ the preferred IO::Compress::Bzip2 instead. %setup -q -n Compress-Bzip2-%{version} # Remove bundled bzip2 library find bzlib-src -mindepth 1 -type f \! -name 'sample*' -delete -sed -i -e '/^bzlib-src\//d' MANIFEST +perl -i -ne 'print $_ unless m{^bzlib-src/}d' MANIFEST find bzlib-src -type f >>MANIFEST %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \ - NO_PACKLIST=1 NO_PERLLOCAL=1 +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 \ + OPTIMIZE="$RPM_OPT_FLAGS" %make_build %install @@ -90,6 +91,9 @@ make test %{_mandir}/man3/*.3pm* %changelog +* Wed May 27 2020 Petr Pisar - 2.27-1 +- 2.27 bump + * Tue Feb 04 2020 Petr Pisar - 2.26-16 - NO_PERLLOCAL=1 needs a recent ExtUtils::MakeMaker diff --git a/sources b/sources index b22c6f1..6bf8e67 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Compress-Bzip2-2.26.tar.gz) = be1670303496a9f48989777468234d52276b34e6c0fdb6e99d2199134f353f1ee32e0489a3797ab3a2d4777bb5f03f78dff39f3bf75b8cc511b754da2b7e4959 +SHA512 (Compress-Bzip2-2.27.tar.gz) = 4c3ff0354a0fd4b561ed80f9a8cc63a98921a1dd584535805e5158d492424b5fb67aac6e02be76209910584f10dcebe3d3e954999346ed6cdf192aa340c2d2cd