diff --git a/package/yast2-samba-server.spec b/package/yast2-samba-server.spec index b36e6cc..b6cb785 100644 --- a/package/yast2-samba-server.spec +++ b/package/yast2-samba-server.spec @@ -38,6 +38,10 @@ BuildRequires: yast2-ldap BuildRequires: yast2-perl-bindings BuildRequires: yast2-users +# Test suite +BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake) +BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) + Requires: perl-Crypt-SmbHash # Yast2::ServiceWidget Requires: yast2 >= 4.1.0 @@ -61,6 +65,9 @@ configuration. %prep %setup -q +%check +rake test:unit + %build %yast_build