]> git.pld-linux.org Git - packages/qemu.git/blobdiff - qemu.spec
- added qemu-pr-helper systemd files from Fedora
[packages/qemu.git] / qemu.spec
index 6f7d048d60f5122479a138bdc6babb00216f7a00..810055e7343e60c568e16469be15f78744c4e536 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -61,6 +61,8 @@ Source11:     %{name}-guest-agent.service
 Source12:      99-%{name}-guest-agent.rules
 Source13:      %{name}-guest-agent.init
 Source14:      %{name}-guest-agent.logrotate
+Source15:      %{name}-pr-helper.service
+Source16:      %{name}-pr-helper.socket
 Patch0:                %{name}-cflags.patch
 Patch1:                %{name}-whitelist.patch
 Patch2:                %{name}-user-execve.patch
@@ -1031,7 +1033,7 @@ build static \
        --disable-nettle \
        --disable-pie \
        --disable-sdl \
-       --enable-slirp=internal \
+       --disable-slirp \
        --disable-spice \
        --disable-system \
        --disable-tcmalloc \
@@ -1100,6 +1102,8 @@ install -p %{SOURCE12} $RPM_BUILD_ROOT/lib/udev/rules.d
 install -p %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/qemu-ga
 install -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/qemu-ga
 
+cp -p %{SOURCE15} %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}
+
 # Install binfmt
 BINFMT_CPUS=" \
 %ifnarch %{ix86} %{x8664} x32
@@ -1219,6 +1223,7 @@ fi
 %triggerpostun common -- qemu-common < 1.6.1-4
 %systemd_trigger ksm.service
 %systemd_trigger ksmtuned.service
+%systemd_trigger qemu-pr-helper.service
 
 %post user
 %systemd_service_restart systemd-binfmt.service
@@ -1261,6 +1266,8 @@ fi
 %attr(640,root,qemu) %config(noreplace) %verify(not md5 mtime size) /etc/qemu/bridge.conf
 %{systemdunitdir}/ksm.service
 %{systemdunitdir}/ksmtuned.service
+%{systemdunitdir}/qemu-pr-helper.service
+%{systemdunitdir}/qemu-pr-helper.socket
 %attr(755,root,root) %{_bindir}/elf2dmp
 %attr(755,root,root) %{_bindir}/ivshmem-client
 %attr(755,root,root) %{_bindir}/ivshmem-server
This page took 0.085853 seconds and 4 git commands to generate.