Update to 2.095

- New upstream release 2.095 (no changes)
- Modernize spec using %{make_build} and %{make_install}
This commit is contained in:
Paul Howarth 2020-07-21 10:38:43 +01:00
parent 0582eab336
commit aaef409608
2 changed files with 16 additions and 9 deletions

View File

@ -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 <paul@city-fan.org> - 2.095-1
- Update to 2.095 (no changes)
- Modernize spec using %%{make_build} and %%{make_install}
* Mon Jul 13 2020 Paul Howarth <paul@city-fan.org> - 2.094-1
- Update to 2.094
- Fix issue with Append mode and SvOOK (GH#4)

View File

@ -1 +1 @@
SHA512 (Compress-Raw-Lzma-2.094.tar.gz) = 555afecbf58320fdb532908df0bc2db0b3bbc2afbba7fad99f1b68957a93c29317b60595f906b90ca28e55c89b4d3cb5286e9b4059c3f6a2bc9f2c52c0a2d0db
SHA512 (Compress-Raw-Lzma-2.095.tar.gz) = b29c9a087edb5a6b354a9f502b475cfe0e0890f7c6cd231e30dce9263db20a89af52895295e5a8c0516c550a6362dac682aaf50873ac6af4e5c867c01cad9269