Conditionalize optional tests
This commit is contained in:
parent
e26c78a213
commit
6fad50f8b3
@ -1,3 +1,6 @@
|
||||
# Perform optional tests
|
||||
%bcond_without perl_Compress_Raw_Lzma_enables_optional_test
|
||||
|
||||
Name: perl-Compress-Raw-Lzma
|
||||
Version: 2.093
|
||||
Release: 2%{?dist}
|
||||
@ -35,12 +38,14 @@ BuildRequires: perl(XSLoader)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(threads::shared)
|
||||
%if %{with perl_Compress_Raw_Lzma_enables_optional_test}
|
||||
# Optional Tests
|
||||
BuildRequires: perl(Test::CPAN::Meta)
|
||||
BuildRequires: perl(Test::CPAN::Meta::JSON)
|
||||
BuildRequires: perl(Test::NoWarnings)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: xz
|
||||
%endif
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(XSLoader)
|
||||
|
Loading…
Reference in New Issue
Block a user