peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

d4803f Use explicit --(enable,disable)-spice args (rhbz #1239102)

Authored and Committed by Daniel P. Berrange 9 years ago
1 file changed. 10 lines added. 1 lines removed.
    Use explicit --(enable,disable)-spice args (rhbz #1239102)
    
        
file modified
+10 -1
qemu.spec CHANGED
@@ -40,7 +40,7 @@
40
40
Summary: QEMU is a FAST! processor emulator
41
41
Name: qemu
42
42
Version: 2.3.0
43
- Release: 13%{?dist}
43
+ Release: 14%{?dist}
44
44
Epoch: 2
45
45
License: GPLv2+ and LGPLv2+ and BSD
46
46
Group: Development/Tools
@@ -599,6 +599,11 @@ unicore32-linux-user aarch64-softmmu"
599
599
%define tcmallocflag --enable-tcmalloc
600
600
%endif
601
601
602
+ %if %{have_spice}
603
+ %define spiceflag --enable-spice
604
+ %else
605
+ %define spiceflag --disable-spice
606
+ %endif
602
607
603
608
./configure \
604
609
--prefix=%{_prefix} \
@@ -623,6 +628,7 @@ unicore32-linux-user aarch64-softmmu"
623
628
--enable-trace-backend=$tracebackends \
624
629
--enable-kvm \
625
630
%{tcmallocflag} \
631
+ %{spiceflag} \
626
632
--with-sdlabi="2.0" \
627
633
--with-gtkabi="3.0" \
628
634
%ifarch s390
@@ -1198,6 +1204,9 @@ getent passwd qemu >/dev/null || \
1198
1204
1199
1205
1200
1206
%changelog
1207
+ * Fri Jul 3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-14
1208
+ - Use explicit --(enable,disable)-spice args (rhbz #1239102)
1209
+
1201
1210
* Thu Jul 2 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2:2.3.0-13
1202
1211
- Build aarch64 with -fPIC (rhbz 1232499)
1203
1212