Version 0.04.
Handle BuildArch definition. Thanks to Steve Goldner for pointing out the omission.
This commit is contained in:
parent
29340d719a
commit
2f20b0d347
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
use Test::More tests => 10;
|
||||
use Test::More tests => 11;
|
||||
BEGIN { use_ok('Parse::RPM::Spec') };
|
||||
|
||||
ok($spec = Parse::RPM::Spec->new( { file => 't/file.spec' } ));
|
||||
|
@ -11,5 +11,6 @@ is($spec->name, 'perl-Array-Compare');
|
|||
is($spec->version, '1.16');
|
||||
$spec->version('1.17');
|
||||
is($spec->version, '1.17');
|
||||
is($spec->buildarch, 'noarch');
|
||||
is(@{$spec->buildrequires}, 2);
|
||||
is($spec->buildrequires->[0], 'perl >= 1:5.6.0');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue