From e1c9d3ecec495d98adb048400ca6215a03ff3230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 14 Feb 2020 16:33:24 +0100 Subject: [PATCH] Unbundle test dependencies --- perl-Compress-Raw-Lzma.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/perl-Compress-Raw-Lzma.spec b/perl-Compress-Raw-Lzma.spec index 25d3af1..190965a 100644 --- a/perl-Compress-Raw-Lzma.spec +++ b/perl-Compress-Raw-Lzma.spec @@ -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 - 2.093-3 +- Unbundle test dependencies + * Wed Jan 29 2020 Fedora Release Engineering - 2.093-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild