minor spec file fix

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=131
This commit is contained in:
James Fehlig 2011-07-01 16:12:34 +00:00 committed by Git OBS Bridge
parent de798baff8
commit 6827150426

View File

@ -707,6 +707,7 @@ then
< %{_datadir}/libvirt/networks/default.xml \
> %{_sysconfdir}/libvirt/qemu/networks/default.xml
fi
%endif
# Create qemu user:group if necessary
if test "%{qemu_user}" = "qemu"; then
%{_bindir}/getent group qemu >/dev/null || \
@ -716,7 +717,6 @@ if test "%{qemu_user}" = "qemu"; then
%{_sbindir}/useradd -r -g qemu $group_opts -d / -s /sbin/nologin \
-c "qemu user" qemu
fi
%endif
%if 0%{?sles_version}
%{fillup_and_insserv -y libvirtd}
%else