Accepting request 533501 from home:jfehlig:branches:Virtualization

A few more libvirt fixes for Factory/SLE15.

- spec: libvirt-daemon-qemu requires libvirt-daemon-driver-storage
  bsc#1062620

- spec: reload libvirtd Apparmor profile in %post
  bsc#1060860

OBS-URL: https://build.opensuse.org/request/show/533501
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=629
This commit is contained in:
James Fehlig 2017-10-11 22:42:29 +00:00 committed by Git OBS Bridge
parent de19f2680c
commit 3045be0fa6
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Oct 10 19:50:22 UTC 2017 - jfehlig@suse.com
- spec: libvirt-daemon-qemu requires libvirt-daemon-driver-storage
bsc#1062620
-------------------------------------------------------------------
Mon Oct 9 16:34:50 UTC 2017 - jfehlig@suse.com
- spec: reload libvirtd Apparmor profile in %post
bsc#1060860
-------------------------------------------------------------------
Fri Oct 6 22:46:12 UTC 2017 - jfehlig@suse.com

View File

@ -251,6 +251,7 @@ BuildRequires: libnl3-devel
BuildRequires: libpcap-devel
BuildRequires: libselinux-devel
%if %{with_apparmor}
BuildRequires: apparmor-rpm-macros
BuildRequires: libapparmor-devel
%endif
BuildRequires: dnsmasq >= 2.41
@ -703,6 +704,7 @@ Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
Requires: libvirt-daemon-driver-secret = %{version}-%{release}
Requires: libvirt-daemon-driver-storage = %{version}-%{release}
%description daemon-qemu
Server side daemon and driver required to manage the virtualization
@ -1260,6 +1262,9 @@ fi
%post daemon
/sbin/ldconfig
%if %{with_apparmor}
%apparmor_reload /etc/apparmor.d/usr.sbin.libvirtd
%endif
%service_add_post libvirtd.service
%service_add_post virtlockd.service virtlockd.socket
%service_add_post virtlogd.service virtlogd.socket