fix: merge requires
This commit is contained in:
parent
b84dde3277
commit
4d287a414d
@ -10,9 +10,10 @@ Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Class-Inspect
|
||||
BuildArch: noarch
|
||||
|
||||
# Correct for lots of packages, other common choices include eg. Module::Build
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec) >= 0.80
|
||||
BuildRequires: make perl-generators
|
||||
# build
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) perl(File::Spec) >= 0.80
|
||||
# Test
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
@ -51,8 +52,8 @@ make test
|
||||
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
# For noarch packages: vendorlib
|
||||
%{perl_vendorlib}/*
|
||||
# For arch-specific packages: vendorarch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user