From aaef409608318742f6fcc6e7767c36fffd8f7a3a Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 21 Jul 2020 10:38:43 +0100 Subject: [PATCH] Update to 2.095 - New upstream release 2.095 (no changes) - Modernize spec using %{make_build} and %{make_install} --- perl-Compress-Raw-Lzma.spec | 23 +++++++++++++++-------- sources | 2 +- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/perl-Compress-Raw-Lzma.spec b/perl-Compress-Raw-Lzma.spec index 6a33726..db0d828 100644 --- a/perl-Compress-Raw-Lzma.spec +++ b/perl-Compress-Raw-Lzma.spec @@ -2,7 +2,7 @@ %bcond_without perl_Compress_Raw_Lzma_enables_optional_test Name: perl-Compress-Raw-Lzma -Version: 2.094 +Version: 2.095 Release: 1%{?dist} Summary: Low-level interface to lzma compression library License: GPL+ or Artistic @@ -18,7 +18,7 @@ BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::Constant) -BuildRequires: perl(ExtUtils::MakeMaker) >= 5.16 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Copy) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(lib) @@ -61,17 +61,20 @@ It is used by IO::Compress::Lzma. %prep %setup -q -n Compress-Raw-Lzma-%{version} -# Remove bundled modules -rm -r t/Test/ +# Remove bundled test modules +rm -rv t/Test/ perl -i -ne 'print $_ unless m{^t/Test/}' MANIFEST %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +perl Makefile.PL \ + INSTALLDIRS=vendor \ + NO_PACKLIST=1 \ + NO_PERLLOCAL=1 \ + OPTIMIZE="%{optflags}" +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} -c %{buildroot} @@ -85,6 +88,10 @@ make test %{_mandir}/man3/Compress::Raw::Lzma.3* %changelog +* Tue Jul 21 2020 Paul Howarth - 2.095-1 +- Update to 2.095 (no changes) +- Modernize spec using %%{make_build} and %%{make_install} + * Mon Jul 13 2020 Paul Howarth - 2.094-1 - Update to 2.094 - Fix issue with Append mode and SvOOK (GH#4) diff --git a/sources b/sources index db7fc6f..b554252 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Compress-Raw-Lzma-2.094.tar.gz) = 555afecbf58320fdb532908df0bc2db0b3bbc2afbba7fad99f1b68957a93c29317b60595f906b90ca28e55c89b4d3cb5286e9b4059c3f6a2bc9f2c52c0a2d0db +SHA512 (Compress-Raw-Lzma-2.095.tar.gz) = b29c9a087edb5a6b354a9f502b475cfe0e0890f7c6cd231e30dce9263db20a89af52895295e5a8c0516c550a6362dac682aaf50873ac6af4e5c867c01cad9269