diff --git a/t/file.spec b/t/file.spec index 844028f..b92537e 100644 --- a/t/file.spec +++ b/t/file.spec @@ -13,6 +13,7 @@ BuildRequires: perl >= 1:5.6.0 BuildRequires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) ExclusiveArch: megaCPU +ExcludeArch: crapOS %description If you have two arrays and you want to know if they are the same or diff --git a/t/parse-rpm-spec.t b/t/parse-rpm-spec.t index 84376c4..33321ac 100644 --- a/t/parse-rpm-spec.t +++ b/t/parse-rpm-spec.t @@ -23,6 +23,7 @@ is($spec->buildrequires->[0], 'perl >= 1:5.6.0', 'First build requirement is correct'); is($spec->exclusivearch, 'megaCPU', 'Correct exclusive architecture'); +is($spec->excludearch, 'crapCPU', 'Correct excluded architecture'); dies_ok { Parse::RPM::Spec->new } 'No spec file given';