Unbundle test dependencies
This commit is contained in:
parent
6fad50f8b3
commit
e1c9d3ecec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: perl-Compress-Raw-Lzma
|
||||
Version: 2.093
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Low-level interface to lzma compression library
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Compress-Raw-Lzma
|
||||
@ -36,8 +36,7 @@ BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(XSLoader)
|
||||
# Test Suite
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(threads::shared)
|
||||
BuildRequires: perl(Test::More)
|
||||
%if %{with perl_Compress_Raw_Lzma_enables_optional_test}
|
||||
# Optional Tests
|
||||
BuildRequires: perl(Test::CPAN::Meta)
|
||||
@ -61,6 +60,9 @@ It is used by IO::Compress::Lzma.
|
||||
|
||||
%prep
|
||||
%setup -q -n Compress-Raw-Lzma-%{version}
|
||||
# Remove bundled modules
|
||||
rm -r t/Test
|
||||
perl -i -ne 'print $_ unless m{^t/Test/}' MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
@ -82,6 +84,9 @@ make test
|
||||
%{_mandir}/man3/Compress::Raw::Lzma.3*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 14 2020 Petr Pisar <ppisar@redhat.com> - 2.093-3
|
||||
- Unbundle test dependencies
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.093-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user