Add failing test
This commit is contained in:
parent
b61e9b4921
commit
e1dd92a4f9
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ BuildRequires: perl >= 1:5.6.0
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
ExclusiveArch: megaCPU
|
ExclusiveArch: megaCPU
|
||||||
|
ExcludeArch: crapOS
|
||||||
|
|
||||||
%description
|
%description
|
||||||
If you have two arrays and you want to know if they are the same or
|
If you have two arrays and you want to know if they are the same or
|
||||||
|
|
|
@ -23,6 +23,7 @@ is($spec->buildrequires->[0], 'perl >= 1:5.6.0',
|
||||||
'First build requirement is correct');
|
'First build requirement is correct');
|
||||||
|
|
||||||
is($spec->exclusivearch, 'megaCPU', 'Correct exclusive architecture');
|
is($spec->exclusivearch, 'megaCPU', 'Correct exclusive architecture');
|
||||||
|
is($spec->excludearch, 'crapCPU', 'Correct excluded architecture');
|
||||||
|
|
||||||
dies_ok { Parse::RPM::Spec->new }
|
dies_ok { Parse::RPM::Spec->new }
|
||||||
'No spec file given';
|
'No spec file given';
|
||||||
|
|
Loading…
Add table
Reference in a new issue