mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-06 03:39:29 +00:00
libvirt.spec.in: fix indentation
Fixes: cf32953f5b6ec30386f71b40cf458467752a6dca Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
cf32953f5b
commit
17f3a9114c
@ -541,10 +541,10 @@ Requires(posttrans): /usr/bin/systemctl
|
||||
Requires(preun): /usr/bin/systemctl
|
||||
# libvirtd depends on 'messagebus' service
|
||||
Requires: dbus
|
||||
%if %{with_account_add}
|
||||
%if %{with_account_add}
|
||||
# For uid creation during pre
|
||||
Requires(pre): shadow-utils
|
||||
%endif
|
||||
%endif
|
||||
# Needed by /usr/libexec/libvirt-guests.sh script.
|
||||
%if 0%{?fedora}
|
||||
Requires: gettext-runtime
|
||||
@ -1103,10 +1103,10 @@ Wireshark dissector plugin for better analysis of libvirt RPC traffic.
|
||||
%package login-shell
|
||||
Summary: Login shell for connecting users to an LXC container
|
||||
Requires: libvirt-libs = %{version}-%{release}
|
||||
%if %{with_account_add}
|
||||
%if %{with_account_add}
|
||||
# For uid creation during pre
|
||||
Requires(pre): shadow-utils
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description login-shell
|
||||
Provides the set-uid virt-login-shell binary that is used to
|
||||
@ -1806,12 +1806,12 @@ export VIR_TEST_DEBUG=1
|
||||
%pre daemon-common
|
||||
%libvirt_sysconfig_pre libvirt-guests
|
||||
%libvirt_systemd_oneshot_pre libvirt-guests
|
||||
%if %{with_account_add}
|
||||
%if %{with_account_add}
|
||||
# 'libvirt' group is just to allow password-less polkit access to libvirt
|
||||
# daemons. The uid number is irrelevant, so we use dynamic allocation.
|
||||
getent group libvirt >/dev/null || groupadd -r libvirt
|
||||
exit 0
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%posttrans daemon-common
|
||||
%libvirt_sysconfig_posttrans libvirt-guests
|
||||
@ -1934,7 +1934,7 @@ exit 0
|
||||
%libvirt_sysconfig_pre virtqemud
|
||||
%libvirt_systemd_unix_pre virtqemud
|
||||
|
||||
%if %{with_account_add}
|
||||
%if %{with_account_add}
|
||||
# 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://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/
|
||||
@ -1950,7 +1950,7 @@ if ! getent passwd 'qemu' >/dev/null; then
|
||||
fi
|
||||
fi
|
||||
exit 0
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%posttrans daemon-driver-qemu
|
||||
%libvirt_sysconfig_posttrans virtqemud
|
||||
@ -2077,10 +2077,10 @@ done
|
||||
|
||||
%if %{with_lxc}
|
||||
%pre login-shell
|
||||
%if %{with_account_add}
|
||||
%if %{with_account_add}
|
||||
getent group virtlogin >/dev/null || groupadd -r virtlogin
|
||||
exit 0
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user