Accepting request 441248 from home:a_faerber:branches:Virtualization
Build with spice on all archs (boo#1009438) OBS-URL: https://build.opensuse.org/request/show/441248 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=321
This commit is contained in:
parent
f036a54ad6
commit
5ba6ba498c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 21 17:26:36 UTC 2016 - afaerber@suse.de
|
||||||
|
|
||||||
|
- Build with spice on all archs. (boo#1009438, michals)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 19 15:24:03 UTC 2016 - brogers@suse.com
|
Sat Nov 19 15:24:03 UTC 2016 - brogers@suse.com
|
||||||
|
|
||||||
|
@ -66,6 +66,10 @@
|
|||||||
%define with_seccomp 1
|
%define with_seccomp 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
%define with_spice 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: qemu-testsuite
|
Name: qemu-testsuite
|
||||||
Url: http://www.qemu.org/
|
Url: http://www.qemu.org/
|
||||||
Summary: Universal CPU emulator
|
Summary: Universal CPU emulator
|
||||||
@ -262,6 +266,9 @@ BuildRequires: librdmacm-devel
|
|||||||
%if 0%{?with_seccomp}
|
%if 0%{?with_seccomp}
|
||||||
BuildRequires: libseccomp-devel
|
BuildRequires: libseccomp-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?with_spice}
|
||||||
|
BuildRequires: libspice-server-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
BuildRequires: libssh2-devel
|
BuildRequires: libssh2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -285,6 +292,9 @@ BuildRequires: python
|
|||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
BuildRequires: snappy-devel
|
BuildRequires: snappy-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?with_spice}
|
||||||
|
BuildRequires: spice-protocol-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -319,12 +329,6 @@ BuildRequires: xfsprogs-devel
|
|||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%if 0%{?suse_version} >= 1140
|
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
BuildRequires: libspice-server-devel
|
|
||||||
BuildRequires: spice-protocol-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "qemu-testsuite"
|
%if "%{name}" == "qemu-testsuite"
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: qemu-arm = %version
|
BuildRequires: qemu-arm = %version
|
||||||
@ -956,12 +960,8 @@ echo '%{version}' > roms/seabios/.version
|
|||||||
%else
|
%else
|
||||||
--disable-snappy \
|
--disable-snappy \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?with_spice}
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
--enable-spice \
|
--enable-spice \
|
||||||
%else
|
|
||||||
--disable-spice \
|
|
||||||
%endif
|
|
||||||
%else
|
%else
|
||||||
--disable-spice \
|
--disable-spice \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 21 17:26:36 UTC 2016 - afaerber@suse.de
|
||||||
|
|
||||||
|
- Build with spice on all archs. (boo#1009438, michals)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 19 15:24:03 UTC 2016 - brogers@suse.com
|
Sat Nov 19 15:24:03 UTC 2016 - brogers@suse.com
|
||||||
|
|
||||||
|
22
qemu.spec
22
qemu.spec
@ -66,6 +66,10 @@
|
|||||||
%define with_seccomp 1
|
%define with_seccomp 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
%define with_spice 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: qemu
|
Name: qemu
|
||||||
Url: http://www.qemu.org/
|
Url: http://www.qemu.org/
|
||||||
Summary: Universal CPU emulator
|
Summary: Universal CPU emulator
|
||||||
@ -262,6 +266,9 @@ BuildRequires: librdmacm-devel
|
|||||||
%if 0%{?with_seccomp}
|
%if 0%{?with_seccomp}
|
||||||
BuildRequires: libseccomp-devel
|
BuildRequires: libseccomp-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?with_spice}
|
||||||
|
BuildRequires: libspice-server-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
BuildRequires: libssh2-devel
|
BuildRequires: libssh2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -285,6 +292,9 @@ BuildRequires: python
|
|||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
BuildRequires: snappy-devel
|
BuildRequires: snappy-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?with_spice}
|
||||||
|
BuildRequires: spice-protocol-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -319,12 +329,6 @@ BuildRequires: xfsprogs-devel
|
|||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%if 0%{?suse_version} >= 1140
|
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
BuildRequires: libspice-server-devel
|
|
||||||
BuildRequires: spice-protocol-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "qemu-testsuite"
|
%if "%{name}" == "qemu-testsuite"
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: qemu-arm = %version
|
BuildRequires: qemu-arm = %version
|
||||||
@ -956,12 +960,8 @@ echo '%{version}' > roms/seabios/.version
|
|||||||
%else
|
%else
|
||||||
--disable-snappy \
|
--disable-snappy \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?with_spice}
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
--enable-spice \
|
--enable-spice \
|
||||||
%else
|
|
||||||
--disable-spice \
|
|
||||||
%endif
|
|
||||||
%else
|
%else
|
||||||
--disable-spice \
|
--disable-spice \
|
||||||
%endif
|
%endif
|
||||||
|
22
qemu.spec.in
22
qemu.spec.in
@ -66,6 +66,10 @@
|
|||||||
%define with_seccomp 1
|
%define with_seccomp 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1140
|
||||||
|
%define with_spice 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: qemu
|
Name: qemu
|
||||||
Url: http://www.qemu.org/
|
Url: http://www.qemu.org/
|
||||||
Summary: Universal CPU emulator
|
Summary: Universal CPU emulator
|
||||||
@ -194,6 +198,9 @@ BuildRequires: librdmacm-devel
|
|||||||
%if 0%{?with_seccomp}
|
%if 0%{?with_seccomp}
|
||||||
BuildRequires: libseccomp-devel
|
BuildRequires: libseccomp-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?with_spice}
|
||||||
|
BuildRequires: libspice-server-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
BuildRequires: libssh2-devel
|
BuildRequires: libssh2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -217,6 +224,9 @@ BuildRequires: python
|
|||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
BuildRequires: snappy-devel
|
BuildRequires: snappy-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?with_spice}
|
||||||
|
BuildRequires: spice-protocol-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -251,12 +261,6 @@ BuildRequires: xfsprogs-devel
|
|||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%if 0%{?suse_version} >= 1140
|
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
BuildRequires: libspice-server-devel
|
|
||||||
BuildRequires: spice-protocol-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if "%{name}" == "qemu-testsuite"
|
%if "%{name}" == "qemu-testsuite"
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: qemu-arm = %version
|
BuildRequires: qemu-arm = %version
|
||||||
@ -820,12 +824,8 @@ echo '%{version}' > roms/seabios/.version
|
|||||||
%else
|
%else
|
||||||
--disable-snappy \
|
--disable-snappy \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?with_spice}
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
--enable-spice \
|
--enable-spice \
|
||||||
%else
|
|
||||||
--disable-spice \
|
|
||||||
%endif
|
|
||||||
%else
|
%else
|
||||||
--disable-spice \
|
--disable-spice \
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user