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