The %pre script in libvirt-daemon is specific to qemu, so only include
it if building with qemu support.
fi
%if %{with_libvirtd}
+ %if %{with_qemu}
%pre daemon
- %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
+ %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
# We want soft static allocation of well-known ids, as disk images
# are commonly shared across NFS mounts by id rather than name; see
# https://fedoraproject.org/wiki/Packaging:UsersAndGroups
fi
fi
exit 0
+ %endif
%endif
%post daemon