diff --git a/lxd.spec b/lxd.spec index 6444574..621b478 100644 --- a/lxd.spec +++ b/lxd.spec @@ -250,6 +250,11 @@ install -d -m 0755 %{buildroot}%{_localstatedir}/log/%{name} %fdupes %{buildroot} +%check +# Make sure the main binaries work enough to print help information. boo#1138769 +%{_bindir}/lxd help >/dev/null +%{_bindir}/lxc help >/dev/null + %pre # Group which owns the lxd socket, which allows people to administer it. getent group %{name} >/dev/null || groupadd -r %{name}