Accepting request 833587 from home:bfrogers:branches:Virtualization
- In an effort to "Close the Leap Gap", remove use of is_opensuse from the spec file, so that the same packages built for SLE can be reused for Leap. Some sub-packages will not be included for SLE which are included for Leap. They wil be provided in Package Hub for SLE users as unsupported packages. - Add infrastructure to do package splits when split-off package isn't required and doesn't (otherwise) include any previously installed files. This version of qemu has split out non-essential functionality into loadable modules, as noted in Aug 20, 2020 log entry, which describes the emergency Split-Provides. That approach will be superseded by this planned approach, and those dummy doc files will be removed in time Here is the new mapping: subpackage continuity file provided (files are dummies) ========== ============================================ qemu-chardev-baum /usr/share/qemu/forsplits/00 qemu-hw-display-qxl /usr/share/qemu/forsplits/01 qemu-hw-usb-redirect /usr/share/qemu/forsplits/02 qemu-hw-usb-smartcard /usr/share/qemu/forsplits/03 - Fix path of qemu-pr-helper. It was a mistake to move it from %_bindir to _libexecdir. In more recent qemu code it's been moved back, so undo this mistake by providing it at the same location as it has been all along OBS-URL: https://build.opensuse.org/request/show/833587 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=570
This commit is contained in:
parent
51435c6292
commit
4c9cabc593
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:054c58f5b1cdb6d78098cb77f119d414a5a2ad4950869a00eb6df2201ecddbbf
|
oid sha256:cd3bfd521435e18a39b881d92d0d740094e3729e98b18158a260a94cb184fd0d
|
||||||
size 35496
|
size 34852
|
||||||
|
8
pkg-split.txt
Normal file
8
pkg-split.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
This file is provided to handle package splits in the case where functionality
|
||||||
|
split out into a new, optional package does not (otherwise) have associated,
|
||||||
|
installed files. The split out package provides this previously installed file
|
||||||
|
simply to help the package resolver identify the packages needed to maintain
|
||||||
|
current functionality.
|
||||||
|
|
||||||
|
If you determine the package providing this file is not needed, it may be
|
||||||
|
uninstalled.
|
35
qemu.changes
35
qemu.changes
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 10 21:42:02 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
||||||
|
|
||||||
|
- In an effort to "Close the Leap Gap", remove use of is_opensuse
|
||||||
|
from the spec file, so that the same packages built for SLE can
|
||||||
|
be reused for Leap. Some sub-packages will not be included for
|
||||||
|
SLE which are included for Leap. They wil be provided in Package
|
||||||
|
Hub for SLE users as unsupported packages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 10 14:51:35 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
||||||
|
|
||||||
|
- Add infrastructure to do package splits when split-off package
|
||||||
|
isn't required and doesn't (otherwise) include any previously
|
||||||
|
installed files. This version of qemu has split out non-essential
|
||||||
|
functionality into loadable modules, as noted in Aug 20, 2020 log
|
||||||
|
entry, which describes the emergency Split-Provides. That approach
|
||||||
|
will be superseded by this planned approach, and those dummy doc
|
||||||
|
files will be removed in time
|
||||||
|
Here is the new mapping:
|
||||||
|
subpackage continuity file provided (files are dummies)
|
||||||
|
========== ============================================
|
||||||
|
qemu-chardev-baum /usr/share/qemu/forsplits/00
|
||||||
|
qemu-hw-display-qxl /usr/share/qemu/forsplits/01
|
||||||
|
qemu-hw-usb-redirect /usr/share/qemu/forsplits/02
|
||||||
|
qemu-hw-usb-smartcard /usr/share/qemu/forsplits/03
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 9 02:38:13 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
||||||
|
|
||||||
|
- Fix path of qemu-pr-helper. It was a mistake to move it from
|
||||||
|
%_bindir to _libexecdir. In more recent qemu code it's been moved
|
||||||
|
back, so undo this mistake by providing it at the same location
|
||||||
|
as it has been all along
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 1 18:10:17 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
Tue Sep 1 18:10:17 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
||||||
|
|
||||||
|
285
qemu.spec
285
qemu.spec
@ -65,19 +65,13 @@
|
|||||||
%define legacy_qemu_kvm 1
|
%define legacy_qemu_kvm 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%define with_glusterfs 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch x86_64 aarch64 ppc64le s390x
|
%ifarch x86_64 aarch64 ppc64le s390x
|
||||||
%define with_rbd 1
|
%define with_rbd 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%ifarch x86_64 ppc64le
|
%ifarch x86_64 ppc64le
|
||||||
%define with_daxctl 1
|
%define with_daxctl 1
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild
|
# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild
|
||||||
%define flavor @BUILD_FLAVOR@%{nil}
|
%define flavor @BUILD_FLAVOR@%{nil}
|
||||||
@ -125,10 +119,11 @@ Source13: supported.s390.txt
|
|||||||
Source14: 50-seabios-256k.json
|
Source14: 50-seabios-256k.json
|
||||||
Source15: 60-seabios-128k.json
|
Source15: 60-seabios-128k.json
|
||||||
Source200: qemu-rpmlintrc
|
Source200: qemu-rpmlintrc
|
||||||
Source201: qemu-ga-ref.html
|
Source201: pkg-split.txt
|
||||||
Source202: qemu-ga-ref.txt
|
Source202: qemu-ga-ref.html
|
||||||
Source203: qemu-qmp-ref.html
|
Source203: qemu-ga-ref.txt
|
||||||
Source204: qemu-qmp-ref.txt
|
Source204: qemu-qmp-ref.html
|
||||||
|
Source205: qemu-qmp-ref.txt
|
||||||
Source300: bundles.tar.xz
|
Source300: bundles.tar.xz
|
||||||
Source301: update_git.sh
|
Source301: update_git.sh
|
||||||
Source302: config.sh
|
Source302: config.sh
|
||||||
@ -137,53 +132,53 @@ Source303: README.PACKAGING
|
|||||||
# This patch queue is auto-generated - see README.PACKAGING for process
|
# This patch queue is auto-generated - see README.PACKAGING for process
|
||||||
|
|
||||||
# Patches applied in base project:
|
# Patches applied in base project:
|
||||||
Patch00000: docs-fix-trace-docs-build-with-sphinx-3..patch
|
Patch00000: usb-fix-setup_len-init-CVE-2020-14364.patch
|
||||||
Patch00001: hw-hyperv-vmbus-Fix-32bit-compilation.patch
|
Patch00001: docs-fix-trace-docs-build-with-sphinx-3..patch
|
||||||
Patch00002: XXX-dont-dump-core-on-sigabort.patch
|
Patch00002: hw-hyperv-vmbus-Fix-32bit-compilation.patch
|
||||||
Patch00003: qemu-binfmt-conf-Modify-default-path.patch
|
Patch00003: XXX-dont-dump-core-on-sigabort.patch
|
||||||
Patch00004: qemu-cvs-gettimeofday.patch
|
Patch00004: qemu-binfmt-conf-Modify-default-path.patch
|
||||||
Patch00005: qemu-cvs-ioctl_debug.patch
|
Patch00005: qemu-cvs-gettimeofday.patch
|
||||||
Patch00006: qemu-cvs-ioctl_nodirection.patch
|
Patch00006: qemu-cvs-ioctl_debug.patch
|
||||||
Patch00007: linux-user-add-binfmt-wrapper-for-argv-0.patch
|
Patch00007: qemu-cvs-ioctl_nodirection.patch
|
||||||
Patch00008: PPC-KVM-Disable-mmu-notifier-check.patch
|
Patch00008: linux-user-add-binfmt-wrapper-for-argv-0.patch
|
||||||
Patch00009: linux-user-binfmt-support-host-binaries.patch
|
Patch00009: PPC-KVM-Disable-mmu-notifier-check.patch
|
||||||
Patch00010: linux-user-Fake-proc-cpuinfo.patch
|
Patch00010: linux-user-binfmt-support-host-binaries.patch
|
||||||
Patch00011: linux-user-use-target_ulong.patch
|
Patch00011: linux-user-Fake-proc-cpuinfo.patch
|
||||||
Patch00012: Make-char-muxer-more-robust-wrt-small-FI.patch
|
Patch00012: linux-user-use-target_ulong.patch
|
||||||
Patch00013: linux-user-lseek-explicitly-cast-non-set.patch
|
Patch00013: Make-char-muxer-more-robust-wrt-small-FI.patch
|
||||||
Patch00014: AIO-Reduce-number-of-threads-for-32bit-h.patch
|
Patch00014: linux-user-lseek-explicitly-cast-non-set.patch
|
||||||
Patch00015: xen_disk-Add-suse-specific-flush-disable.patch
|
Patch00015: AIO-Reduce-number-of-threads-for-32bit-h.patch
|
||||||
Patch00016: qemu-bridge-helper-reduce-security-profi.patch
|
Patch00016: xen_disk-Add-suse-specific-flush-disable.patch
|
||||||
Patch00017: qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch
|
Patch00017: qemu-bridge-helper-reduce-security-profi.patch
|
||||||
Patch00018: linux-user-properly-test-for-infinite-ti.patch
|
Patch00018: qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch
|
||||||
Patch00019: roms-Makefile-pass-a-packaging-timestamp.patch
|
Patch00019: linux-user-properly-test-for-infinite-ti.patch
|
||||||
Patch00020: Raise-soft-address-space-limit-to-hard-l.patch
|
Patch00020: roms-Makefile-pass-a-packaging-timestamp.patch
|
||||||
Patch00021: increase-x86_64-physical-bits-to-42.patch
|
Patch00021: Raise-soft-address-space-limit-to-hard-l.patch
|
||||||
Patch00022: i8254-Fix-migration-from-SLE11-SP2.patch
|
Patch00022: increase-x86_64-physical-bits-to-42.patch
|
||||||
Patch00023: acpi_piix4-Fix-migration-from-SLE11-SP2.patch
|
Patch00023: i8254-Fix-migration-from-SLE11-SP2.patch
|
||||||
Patch00024: Switch-order-of-libraries-for-mpath-supp.patch
|
Patch00024: acpi_piix4-Fix-migration-from-SLE11-SP2.patch
|
||||||
Patch00025: Make-installed-scripts-explicitly-python.patch
|
Patch00025: Switch-order-of-libraries-for-mpath-supp.patch
|
||||||
Patch00026: hw-smbios-handle-both-file-formats-regar.patch
|
Patch00026: Make-installed-scripts-explicitly-python.patch
|
||||||
Patch00027: xen-add-block-resize-support-for-xen-dis.patch
|
Patch00027: hw-smbios-handle-both-file-formats-regar.patch
|
||||||
Patch00028: tests-qemu-iotests-Triple-timeout-of-i-o.patch
|
Patch00028: xen-add-block-resize-support-for-xen-dis.patch
|
||||||
Patch00029: tests-Fix-block-tests-to-be-compatible-w.patch
|
Patch00029: tests-qemu-iotests-Triple-timeout-of-i-o.patch
|
||||||
Patch00030: xen-ignore-live-parameter-from-xen-save-.patch
|
Patch00030: tests-Fix-block-tests-to-be-compatible-w.patch
|
||||||
Patch00031: Conditionalize-ui-bitmap-installation-be.patch
|
Patch00031: xen-ignore-live-parameter-from-xen-save-.patch
|
||||||
Patch00032: tests-change-error-message-in-test-162.patch
|
Patch00032: Conditionalize-ui-bitmap-installation-be.patch
|
||||||
Patch00033: hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch
|
Patch00033: tests-change-error-message-in-test-162.patch
|
||||||
Patch00034: hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch
|
Patch00034: hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch
|
||||||
Patch00035: hw-intc-exynos4210_gic-provide-more-room.patch
|
Patch00035: hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch
|
||||||
Patch00036: configure-only-populate-roms-if-softmmu.patch
|
Patch00036: hw-intc-exynos4210_gic-provide-more-room.patch
|
||||||
Patch00037: pc-bios-s390-ccw-net-avoid-warning-about.patch
|
Patch00037: configure-only-populate-roms-if-softmmu.patch
|
||||||
Patch00038: roms-change-cross-compiler-naming-to-be-.patch
|
Patch00038: pc-bios-s390-ccw-net-avoid-warning-about.patch
|
||||||
Patch00039: test-add-mapping-from-arch-of-i686-to-qe.patch
|
Patch00039: roms-change-cross-compiler-naming-to-be-.patch
|
||||||
Patch00040: roms-Makefile-enable-cross-compile-for-b.patch
|
Patch00040: test-add-mapping-from-arch-of-i686-to-qe.patch
|
||||||
Patch00041: configure-remove-pkgversion-from-CONFIG_.patch
|
Patch00041: roms-Makefile-enable-cross-compile-for-b.patch
|
||||||
Patch00042: docs-add-SUSE-support-statements-to-html.patch
|
Patch00042: configure-remove-pkgversion-from-CONFIG_.patch
|
||||||
Patch00043: s390x-Fix-stringop-truncation-issue-repo.patch
|
Patch00043: docs-add-SUSE-support-statements-to-html.patch
|
||||||
Patch00044: Revert-qht-constify-qht_statistics_init.patch
|
Patch00044: s390x-Fix-stringop-truncation-issue-repo.patch
|
||||||
Patch00045: qht-Revert-some-constification-in-qht.c.patch
|
Patch00045: Revert-qht-constify-qht_statistics_init.patch
|
||||||
Patch00046: usb-fix-setup_len-init-CVE-2020-14364.patch
|
Patch00046: qht-Revert-some-constification-in-qht.c.patch
|
||||||
# Patches applied in roms/seabios/:
|
# Patches applied in roms/seabios/:
|
||||||
Patch01000: seabios-use-python2-explicitly-as-needed.patch
|
Patch01000: seabios-use-python2-explicitly-as-needed.patch
|
||||||
Patch01001: seabios-switch-to-python3-as-needed.patch
|
Patch01001: seabios-switch-to-python3-as-needed.patch
|
||||||
@ -274,16 +269,12 @@ BuildRequires: glib2-devel >= 2.48
|
|||||||
%if build_x86_firmware_from_source
|
%if build_x86_firmware_from_source
|
||||||
BuildRequires: glibc-devel-32bit
|
BuildRequires: glibc-devel-32bit
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
BuildRequires: glusterfs-devel >= 3
|
BuildRequires: glusterfs-devel >= 3
|
||||||
%endif
|
|
||||||
BuildRequires: gtk3-devel >= 3.22
|
BuildRequires: gtk3-devel >= 3.22
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: libcacard-devel >= 2.5.1
|
BuildRequires: libcacard-devel >= 2.5.1
|
||||||
%endif
|
|
||||||
BuildRequires: libcap-ng-devel
|
BuildRequires: libcap-ng-devel
|
||||||
BuildRequires: libdrm-devel
|
BuildRequires: libdrm-devel
|
||||||
BuildRequires: libepoxy-devel
|
BuildRequires: libepoxy-devel
|
||||||
@ -296,9 +287,7 @@ BuildRequires: libjpeg-devel
|
|||||||
%if 0%{?with_daxctl}
|
%if 0%{?with_daxctl}
|
||||||
BuildRequires: libndctl-devel
|
BuildRequires: libndctl-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: libnfs-devel >= 1.9.3
|
BuildRequires: libnfs-devel >= 1.9.3
|
||||||
%endif
|
|
||||||
%ifnarch %arm s390x
|
%ifnarch %arm s390x
|
||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
%endif
|
%endif
|
||||||
@ -312,27 +301,21 @@ BuildRequires: libpulse-devel
|
|||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
BuildRequires: librbd-devel
|
BuildRequires: librbd-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?is_opensuse}
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: libSDL2-devel
|
BuildRequires: libSDL2-devel
|
||||||
BuildRequires: libSDL2_image-devel
|
BuildRequires: libSDL2_image-devel
|
||||||
%endif
|
|
||||||
BuildRequires: libseccomp-devel >= 2.3.0
|
BuildRequires: libseccomp-devel >= 2.3.0
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: libslirp-devel >= 4.2.0
|
BuildRequires: libslirp-devel >= 4.2.0
|
||||||
%endif
|
|
||||||
BuildRequires: libspice-server-devel >= 0.12.5
|
BuildRequires: libspice-server-devel >= 0.12.5
|
||||||
BuildRequires: libssh-devel >= 0.8
|
BuildRequires: libssh-devel >= 0.8
|
||||||
BuildRequires: libusb-1_0-devel >= 1.0.13
|
BuildRequires: libusb-1_0-devel >= 1.0.13
|
||||||
BuildRequires: libvdeplug-devel
|
BuildRequires: libvdeplug-devel
|
||||||
BuildRequires: pkgconfig(libudev)
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: lzfse-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: Mesa-devel
|
|
||||||
BuildRequires: libxkbcommon-devel
|
BuildRequires: libxkbcommon-devel
|
||||||
|
BuildRequires: lzfse-devel
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: multipath-tools-devel
|
BuildRequires: multipath-tools-devel
|
||||||
|
BuildRequires: pkgconfig(libudev)
|
||||||
%if build_x86_firmware_from_source
|
%if build_x86_firmware_from_source
|
||||||
BuildRequires: nasm
|
BuildRequires: nasm
|
||||||
%endif
|
%endif
|
||||||
@ -365,18 +348,12 @@ BuildRequires: bc
|
|||||||
BuildRequires: qemu-arm = %{qemuver}
|
BuildRequires: qemu-arm = %{qemuver}
|
||||||
BuildRequires: qemu-audio-alsa = %{qemuver}
|
BuildRequires: qemu-audio-alsa = %{qemuver}
|
||||||
BuildRequires: qemu-audio-pa = %{qemuver}
|
BuildRequires: qemu-audio-pa = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-audio-sdl = %{qemuver}
|
BuildRequires: qemu-audio-sdl = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-block-curl = %{qemuver}
|
BuildRequires: qemu-block-curl = %{qemuver}
|
||||||
BuildRequires: qemu-block-dmg = %{qemuver}
|
BuildRequires: qemu-block-dmg = %{qemuver}
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
BuildRequires: qemu-block-gluster = %{qemuver}
|
BuildRequires: qemu-block-gluster = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-block-iscsi = %{qemuver}
|
BuildRequires: qemu-block-iscsi = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-block-nfs = %{qemuver}
|
BuildRequires: qemu-block-nfs = %{qemuver}
|
||||||
%endif
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
BuildRequires: qemu-block-rbd = %{qemuver}
|
BuildRequires: qemu-block-rbd = %{qemuver}
|
||||||
%endif
|
%endif
|
||||||
@ -389,13 +366,9 @@ BuildRequires: qemu-extra = %{qemuver}
|
|||||||
BuildRequires: qemu-guest-agent = %{qemuver}
|
BuildRequires: qemu-guest-agent = %{qemuver}
|
||||||
BuildRequires: qemu-hw-display-qxl = %{qemuver}
|
BuildRequires: qemu-hw-display-qxl = %{qemuver}
|
||||||
BuildRequires: qemu-hw-usb-redirect = %{qemuver}
|
BuildRequires: qemu-hw-usb-redirect = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-hw-usb-smartcard = %{qemuver}
|
BuildRequires: qemu-hw-usb-smartcard = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-ipxe = 1.0.0+
|
BuildRequires: qemu-ipxe = 1.0.0+
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-ksm = %{qemuver}
|
BuildRequires: qemu-ksm = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-lang = %{qemuver}
|
BuildRequires: qemu-lang = %{qemuver}
|
||||||
BuildRequires: qemu-ppc = %{qemuver}
|
BuildRequires: qemu-ppc = %{qemuver}
|
||||||
BuildRequires: qemu-s390 = %{qemuver}
|
BuildRequires: qemu-s390 = %{qemuver}
|
||||||
@ -404,9 +377,7 @@ BuildRequires: qemu-sgabios = 8
|
|||||||
BuildRequires: qemu-tools = %{qemuver}
|
BuildRequires: qemu-tools = %{qemuver}
|
||||||
BuildRequires: qemu-ui-curses = %{qemuver}
|
BuildRequires: qemu-ui-curses = %{qemuver}
|
||||||
BuildRequires: qemu-ui-gtk = %{qemuver}
|
BuildRequires: qemu-ui-gtk = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-ui-sdl = %{qemuver}
|
BuildRequires: qemu-ui-sdl = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-ui-spice-app = %{qemuver}
|
BuildRequires: qemu-ui-spice-app = %{qemuver}
|
||||||
BuildRequires: qemu-vgabios = %{sbver}
|
BuildRequires: qemu-vgabios = %{sbver}
|
||||||
BuildRequires: qemu-x86 = %{qemuver}
|
BuildRequires: qemu-x86 = %{qemuver}
|
||||||
@ -424,18 +395,11 @@ Recommends: kvm_stat
|
|||||||
Recommends: qemu-block-curl
|
Recommends: qemu-block-curl
|
||||||
Recommends: qemu-hw-display-qxl
|
Recommends: qemu-hw-display-qxl
|
||||||
Recommends: qemu-hw-usb-redirect
|
Recommends: qemu-hw-usb-redirect
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Recommends: qemu-hw-usb-smartcard
|
Recommends: qemu-hw-usb-smartcard
|
||||||
%endif
|
|
||||||
Recommends: qemu-tools
|
Recommends: qemu-tools
|
||||||
Recommends: qemu-ui-curses
|
Recommends: qemu-ui-curses
|
||||||
Recommends: qemu-ui-gtk
|
Recommends: qemu-ui-gtk
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Recommends: qemu-ui-sdl
|
Recommends: qemu-ui-sdl
|
||||||
%else
|
|
||||||
Obsoletes: qemu-audio-sdl <= %{qemuver}
|
|
||||||
Obsoletes: qemu-ui-sdl <= %{qemuver}
|
|
||||||
%endif
|
|
||||||
Recommends: qemu-ui-spice-app
|
Recommends: qemu-ui-spice-app
|
||||||
Recommends: qemu-x86
|
Recommends: qemu-x86
|
||||||
%ifarch ppc ppc64 ppc64le
|
%ifarch ppc ppc64 ppc64le
|
||||||
@ -454,13 +418,9 @@ Recommends: qemu-arm
|
|||||||
Suggests: qemu-arm
|
Suggests: qemu-arm
|
||||||
%endif
|
%endif
|
||||||
Suggests: qemu-block-dmg
|
Suggests: qemu-block-dmg
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
Suggests: qemu-block-gluster
|
Suggests: qemu-block-gluster
|
||||||
%endif
|
|
||||||
Suggests: qemu-block-iscsi
|
Suggests: qemu-block-iscsi
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Suggests: qemu-block-nfs
|
Suggests: qemu-block-nfs
|
||||||
%endif
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
Suggests: qemu-block-rbd
|
Suggests: qemu-block-rbd
|
||||||
%endif
|
%endif
|
||||||
@ -468,9 +428,7 @@ Suggests: qemu-block-ssh
|
|||||||
Suggests: qemu-chardev-baum
|
Suggests: qemu-chardev-baum
|
||||||
Suggests: qemu-extra
|
Suggests: qemu-extra
|
||||||
Suggests: qemu-lang
|
Suggests: qemu-lang
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Recommends: qemu-ksm = %{qemuver}
|
Recommends: qemu-ksm = %{qemuver}
|
||||||
%endif
|
|
||||||
Suggests: qemu-microvm
|
Suggests: qemu-microvm
|
||||||
Suggests: qemu-vhost-user-gpu
|
Suggests: qemu-vhost-user-gpu
|
||||||
Provides: qemu-audio-oss = %{qemuver}
|
Provides: qemu-audio-oss = %{qemuver}
|
||||||
@ -633,7 +591,6 @@ Release: 0
|
|||||||
%description audio-pa
|
%description audio-pa
|
||||||
This package contains a module for Pulse Audio based audio support for QEMU.
|
This package contains a module for Pulse Audio based audio support for QEMU.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package audio-sdl
|
%package audio-sdl
|
||||||
Summary: SDL based audio support for QEMU
|
Summary: SDL based audio support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -643,7 +600,6 @@ Release: 0
|
|||||||
|
|
||||||
%description audio-sdl
|
%description audio-sdl
|
||||||
This package contains a module for SDL based audio support for QEMU.
|
This package contains a module for SDL based audio support for QEMU.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package block-curl
|
%package block-curl
|
||||||
Summary: cURL block support for QEMU
|
Summary: cURL block support for QEMU
|
||||||
@ -668,7 +624,6 @@ Release: 0
|
|||||||
This package contains a module for accessing Mac OS X image files from
|
This package contains a module for accessing Mac OS X image files from
|
||||||
qemu-img tool and QEMU system emulation.
|
qemu-img tool and QEMU system emulation.
|
||||||
|
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
%package block-gluster
|
%package block-gluster
|
||||||
Summary: GlusterFS block support for QEMU
|
Summary: GlusterFS block support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -679,7 +634,6 @@ Release: 0
|
|||||||
%description block-gluster
|
%description block-gluster
|
||||||
This package contains a module for accessing network-based image files over a
|
This package contains a module for accessing network-based image files over a
|
||||||
GlusterFS network connection from qemu-img tool and QEMU system emulation.
|
GlusterFS network connection from qemu-img tool and QEMU system emulation.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package block-iscsi
|
%package block-iscsi
|
||||||
Summary: iSCSI block support for QEMU
|
Summary: iSCSI block support for QEMU
|
||||||
@ -692,7 +646,6 @@ Release: 0
|
|||||||
This package contains a module for accessing network-based image files over an
|
This package contains a module for accessing network-based image files over an
|
||||||
iSCSI network connection from qemu-img tool and QEMU system emulation.
|
iSCSI network connection from qemu-img tool and QEMU system emulation.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package block-nfs
|
%package block-nfs
|
||||||
Summary: direct Network File System support for QEMU
|
Summary: direct Network File System support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -702,7 +655,6 @@ Release: 0
|
|||||||
|
|
||||||
%description block-nfs
|
%description block-nfs
|
||||||
This package contains a module for directly accessing nfs based image files.
|
This package contains a module for directly accessing nfs based image files.
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
%package block-rbd
|
%package block-rbd
|
||||||
@ -760,7 +712,6 @@ Provides: %name:%_docdir/%name/qemu-qmp-ref.html
|
|||||||
%description hw-usb-redirect
|
%description hw-usb-redirect
|
||||||
This package contains a module for USB redirection support.
|
This package contains a module for USB redirection support.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package hw-usb-smartcard
|
%package hw-usb-smartcard
|
||||||
Summary: USB smartcard support for QEMU
|
Summary: USB smartcard support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -771,7 +722,6 @@ Provides: %name:%_docdir/%name/qemu-qmp-ref.txt
|
|||||||
|
|
||||||
%description hw-usb-smartcard
|
%description hw-usb-smartcard
|
||||||
This package contains a modules for USB smartcard support.
|
This package contains a modules for USB smartcard support.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package ui-curses
|
%package ui-curses
|
||||||
Summary: Curses based UI support for QEMU
|
Summary: Curses based UI support for QEMU
|
||||||
@ -793,7 +743,6 @@ Release: 0
|
|||||||
%description ui-gtk
|
%description ui-gtk
|
||||||
This package contains a module for doing GTK based UI for QEMU.
|
This package contains a module for doing GTK based UI for QEMU.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package ui-sdl
|
%package ui-sdl
|
||||||
Summary: SDL based UI support for QEMU
|
Summary: SDL based UI support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -803,7 +752,6 @@ Release: 0
|
|||||||
|
|
||||||
%description ui-sdl
|
%description ui-sdl
|
||||||
This package contains a module for doing SDL based UI for QEMU.
|
This package contains a module for doing SDL based UI for QEMU.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package ui-spice-app
|
%package ui-spice-app
|
||||||
Summary: Spice UI support for QEMU
|
Summary: Spice UI support for QEMU
|
||||||
@ -935,7 +883,6 @@ BuildArch: noarch
|
|||||||
Provides EDK II based firmware.
|
Provides EDK II based firmware.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package ksm
|
%package ksm
|
||||||
Summary: Kernel Samepage Merging services
|
Summary: Kernel Samepage Merging services
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -949,7 +896,6 @@ Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature, that
|
|||||||
merges anonymous (private) pages (not pagecache ones).
|
merges anonymous (private) pages (not pagecache ones).
|
||||||
|
|
||||||
This package provides a service file for starting and stopping KSM.
|
This package provides a service file for starting and stopping KSM.
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif # ! qemu-testsuite
|
%endif # ! qemu-testsuite
|
||||||
%endif # ! qemu-linux-user
|
%endif # ! qemu-linux-user
|
||||||
@ -957,10 +903,10 @@ This package provides a service file for starting and stopping KSM.
|
|||||||
# ========================================================================
|
# ========================================================================
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{srcname}-%{expand:%%(SV=%{srcver};echo ${SV%%%%+git*})}
|
%setup -q -n %{srcname}-%{expand:%%(SV=%{srcver};echo ${SV%%%%+git*})}
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%patch00000 -p1
|
%patch00000 -p1
|
||||||
%endif
|
%if 0%{?suse_version} > 1500
|
||||||
%patch00001 -p1
|
%patch00001 -p1
|
||||||
|
%endif
|
||||||
%patch00002 -p1
|
%patch00002 -p1
|
||||||
%patch00003 -p1
|
%patch00003 -p1
|
||||||
%patch00004 -p1
|
%patch00004 -p1
|
||||||
@ -1001,10 +947,10 @@ This package provides a service file for starting and stopping KSM.
|
|||||||
%patch00039 -p1
|
%patch00039 -p1
|
||||||
%patch00040 -p1
|
%patch00040 -p1
|
||||||
%patch00041 -p1
|
%patch00041 -p1
|
||||||
%if %{legacy_qemu_kvm} && 0%{?is_opensuse} == 0
|
|
||||||
%patch00042 -p1
|
%patch00042 -p1
|
||||||
%endif
|
%if %{legacy_qemu_kvm} && 0%{?is_opensuse} == 0
|
||||||
%patch00043 -p1
|
%patch00043 -p1
|
||||||
|
%endif
|
||||||
%patch00044 -p1
|
%patch00044 -p1
|
||||||
%patch00045 -p1
|
%patch00045 -p1
|
||||||
%patch00046 -p1
|
%patch00046 -p1
|
||||||
@ -1177,18 +1123,14 @@ cd %mybuilddir
|
|||||||
--enable-tools --enable-guest-agent \
|
--enable-tools --enable-guest-agent \
|
||||||
--enable-modules \
|
--enable-modules \
|
||||||
--disable-module-upgrades \
|
--disable-module-upgrades \
|
||||||
%if 0%{?is_opensuse}
|
%if 1
|
||||||
--enable-slirp=system \
|
--enable-slirp=system \
|
||||||
%else
|
%else
|
||||||
--enable-slirp=git \
|
--enable-slirp=git \
|
||||||
%endif
|
%endif
|
||||||
--enable-pie \
|
--enable-pie \
|
||||||
--enable-docs \
|
--enable-docs \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--audio-drv-list="pa alsa sdl" \
|
--audio-drv-list="pa alsa sdl" \
|
||||||
%else
|
|
||||||
--audio-drv-list="pa alsa" \
|
|
||||||
%endif
|
|
||||||
--enable-attr \
|
--enable-attr \
|
||||||
--disable-auth-pam \
|
--disable-auth-pam \
|
||||||
--enable-bochs \
|
--enable-bochs \
|
||||||
@ -1204,11 +1146,7 @@ cd %mybuilddir
|
|||||||
--enable-dmg \
|
--enable-dmg \
|
||||||
--enable-fdt \
|
--enable-fdt \
|
||||||
--enable-gcrypt \
|
--enable-gcrypt \
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
--enable-glusterfs \
|
--enable-glusterfs \
|
||||||
%else
|
|
||||||
--disable-glusterfs \
|
|
||||||
%endif
|
|
||||||
--enable-gnutls \
|
--enable-gnutls \
|
||||||
--enable-gtk \
|
--enable-gtk \
|
||||||
--disable-hax \
|
--disable-hax \
|
||||||
@ -1226,11 +1164,7 @@ cd %mybuilddir
|
|||||||
--disable-libdaxctl \
|
--disable-libdaxctl \
|
||||||
%endif
|
%endif
|
||||||
--enable-libiscsi \
|
--enable-libiscsi \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-libnfs \
|
--enable-libnfs \
|
||||||
%else
|
|
||||||
--disable-libnfs \
|
|
||||||
%endif
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
--enable-libpmem \
|
--enable-libpmem \
|
||||||
%else
|
%else
|
||||||
@ -1240,11 +1174,7 @@ cd %mybuilddir
|
|||||||
--enable-libusb \
|
--enable-libusb \
|
||||||
--disable-libxml2 \
|
--disable-libxml2 \
|
||||||
--enable-linux-aio \
|
--enable-linux-aio \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-lzfse \
|
--enable-lzfse \
|
||||||
%else
|
|
||||||
--disable-lzfse \
|
|
||||||
%endif
|
|
||||||
--enable-lzo \
|
--enable-lzo \
|
||||||
--disable-malloc-trim \
|
--disable-malloc-trim \
|
||||||
%if %{with system_membarrier}
|
%if %{with system_membarrier}
|
||||||
@ -1275,20 +1205,11 @@ cd %mybuilddir
|
|||||||
--enable-replication \
|
--enable-replication \
|
||||||
--disable-safe-stack \
|
--disable-safe-stack \
|
||||||
--disable-sanitizers \
|
--disable-sanitizers \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-sdl \
|
--enable-sdl \
|
||||||
--enable-sdl-image \
|
--enable-sdl-image \
|
||||||
%else
|
|
||||||
--disable-sdl \
|
|
||||||
--disable-sdl-image \
|
|
||||||
%endif
|
|
||||||
--enable-seccomp \
|
--enable-seccomp \
|
||||||
--enable-sheepdog \
|
--enable-sheepdog \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-smartcard \
|
--enable-smartcard \
|
||||||
%else
|
|
||||||
--disable-smartcard \
|
|
||||||
%endif
|
|
||||||
--enable-snappy \
|
--enable-snappy \
|
||||||
--enable-spice \
|
--enable-spice \
|
||||||
--disable-tcmalloc \
|
--disable-tcmalloc \
|
||||||
@ -1653,12 +1574,10 @@ install -D -p -m 0644 %{SOURCE8} %{buildroot}/usr/lib/udev/rules.d/80-qemu-ga.ru
|
|||||||
install -D -m 0755 scripts/analyze-migration.py %{buildroot}%_bindir/analyze-migration.py
|
install -D -m 0755 scripts/analyze-migration.py %{buildroot}%_bindir/analyze-migration.py
|
||||||
install -D -m 0755 scripts/vmstate-static-checker.py %{buildroot}%_bindir/vmstate-static-checker.py
|
install -D -m 0755 scripts/vmstate-static-checker.py %{buildroot}%_bindir/vmstate-static-checker.py
|
||||||
install -D -m 0755 %{SOURCE9} %{buildroot}%_libexecdir/supportconfig/plugins/%name
|
install -D -m 0755 %{SOURCE9} %{buildroot}%_libexecdir/supportconfig/plugins/%name
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
install -D -m 0644 %{SOURCE10} %{buildroot}%_docdir/qemu-arm/supported.txt
|
install -D -m 0644 %{SOURCE10} %{buildroot}%_docdir/qemu-arm/supported.txt
|
||||||
install -D -m 0644 %{SOURCE11} %{buildroot}%_docdir/qemu-ppc/supported.txt
|
install -D -m 0644 %{SOURCE11} %{buildroot}%_docdir/qemu-ppc/supported.txt
|
||||||
install -D -m 0644 %{SOURCE12} %{buildroot}%_docdir/qemu-x86/supported.txt
|
install -D -m 0644 %{SOURCE12} %{buildroot}%_docdir/qemu-x86/supported.txt
|
||||||
install -D -m 0644 %{SOURCE13} %{buildroot}%_docdir/qemu-s390/supported.txt
|
install -D -m 0644 %{SOURCE13} %{buildroot}%_docdir/qemu-s390/supported.txt
|
||||||
%endif
|
|
||||||
%if %{legacy_qemu_kvm}
|
%if %{legacy_qemu_kvm}
|
||||||
cat > %{buildroot}%_bindir/qemu-kvm << 'EOF'
|
cat > %{buildroot}%_bindir/qemu-kvm << 'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -1671,7 +1590,6 @@ exec %_bindir/qemu-system-x86_64 -machine accel=kvm "$@"
|
|||||||
EOF
|
EOF
|
||||||
chmod 755 %{buildroot}%_bindir/qemu-kvm
|
chmod 755 %{buildroot}%_bindir/qemu-kvm
|
||||||
install -D -m 0644 %{SOURCE5} %{buildroot}%_mandir/man1/qemu-kvm.1.gz
|
install -D -m 0644 %{SOURCE5} %{buildroot}%_mandir/man1/qemu-kvm.1.gz
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
install -d %{buildroot}%_docdir/qemu-kvm
|
install -d %{buildroot}%_docdir/qemu-kvm
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
ln -s ../qemu-s390/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt
|
ln -s ../qemu-s390/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt
|
||||||
@ -1681,23 +1599,27 @@ ln -s ../qemu-x86/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt
|
|||||||
rst2html --exit-status=2 %{buildroot}%_docdir/qemu-x86/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.html
|
rst2html --exit-status=2 %{buildroot}%_docdir/qemu-x86/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.html
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
%if %{kvm_available}
|
%if %{kvm_available}
|
||||||
install -D -m 0644 %{SOURCE1} %{buildroot}/usr/lib/udev/rules.d/80-kvm.rules
|
install -D -m 0644 %{SOURCE1} %{buildroot}/usr/lib/udev/rules.d/80-kvm.rules
|
||||||
%endif
|
%endif
|
||||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
||||||
%endif
|
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/modules-load.d/kvm.conf
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/modules-load.d/kvm.conf
|
||||||
%endif
|
%endif
|
||||||
install -D -m 0644 %{SOURCE201} %{buildroot}%_docdir/%name/qemu-ga-ref.html
|
install -D -m 0644 %{SOURCE202} %{buildroot}%_docdir/%name/qemu-ga-ref.html
|
||||||
install -D -m 0644 %{SOURCE202} %{buildroot}%_docdir/%name/qemu-ga-ref.txt
|
install -D -m 0644 %{SOURCE203} %{buildroot}%_docdir/%name/qemu-ga-ref.txt
|
||||||
install -D -m 0644 %{SOURCE203} %{buildroot}%_docdir/%name/qemu-qmp-ref.html
|
install -D -m 0644 %{SOURCE204} %{buildroot}%_docdir/%name/qemu-qmp-ref.html
|
||||||
%if 0%{?is_opensuse}
|
install -D -m 0644 %{SOURCE205} %{buildroot}%_docdir/%name/qemu-qmp-ref.txt
|
||||||
install -D -m 0644 %{SOURCE204} %{buildroot}%_docdir/%name/qemu-qmp-ref.txt
|
mv %{buildroot}%_libexecdir/qemu-pr-helper %{buildroot}%_bindir/qemu-pr-helper
|
||||||
%endif
|
install -D -m 0644 %{SOURCE201} %{buildroot}%_datadir/%name/forsplits/pkg-split.txt
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/00
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/01
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/02
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/03
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/04
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/05
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/06
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
# ========================================================================
|
# ========================================================================
|
||||||
@ -1755,7 +1677,6 @@ fi
|
|||||||
%postun guest-agent
|
%postun guest-agent
|
||||||
%service_del_postun qemu-ga@.service
|
%service_del_postun qemu-ga@.service
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%pre ksm
|
%pre ksm
|
||||||
%service_add_pre ksm.service
|
%service_add_pre ksm.service
|
||||||
|
|
||||||
@ -1767,7 +1688,6 @@ fi
|
|||||||
|
|
||||||
%postun ksm
|
%postun ksm
|
||||||
%service_del_postun ksm.service
|
%service_del_postun ksm.service
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif # qemu
|
%endif # qemu
|
||||||
|
|
||||||
@ -1781,9 +1701,6 @@ fi
|
|||||||
%dir %_datadir/icons/hicolor
|
%dir %_datadir/icons/hicolor
|
||||||
%dir %_datadir/icons/hicolor/*/
|
%dir %_datadir/icons/hicolor/*/
|
||||||
%dir %_datadir/icons/hicolor/*/apps
|
%dir %_datadir/icons/hicolor/*/apps
|
||||||
%dir %_datadir/%name
|
|
||||||
%dir %_datadir/%name/firmware
|
|
||||||
%dir %_datadir/%name/vhost-user
|
|
||||||
%_datadir/applications/qemu.desktop
|
%_datadir/applications/qemu.desktop
|
||||||
%_datadir/icons/hicolor/16x16/apps/qemu.png
|
%_datadir/icons/hicolor/16x16/apps/qemu.png
|
||||||
%_datadir/icons/hicolor/24x24/apps/qemu.png
|
%_datadir/icons/hicolor/24x24/apps/qemu.png
|
||||||
@ -1795,10 +1712,18 @@ fi
|
|||||||
%_datadir/icons/hicolor/256x256/apps/qemu.png
|
%_datadir/icons/hicolor/256x256/apps/qemu.png
|
||||||
%_datadir/icons/hicolor/512x512/apps/qemu.png
|
%_datadir/icons/hicolor/512x512/apps/qemu.png
|
||||||
%_datadir/icons/hicolor/scalable/apps/qemu.svg
|
%_datadir/icons/hicolor/scalable/apps/qemu.svg
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/firmware
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/pkg-split.txt
|
||||||
|
%_datadir/%name/forsplits/04
|
||||||
|
%_datadir/%name/forsplits/05
|
||||||
|
%_datadir/%name/forsplits/06
|
||||||
%_datadir/%name/keymaps
|
%_datadir/%name/keymaps
|
||||||
%_datadir/%name/qemu-ifup
|
%_datadir/%name/qemu-ifup
|
||||||
%_datadir/%name/qemu-nsis.bmp
|
%_datadir/%name/qemu-nsis.bmp
|
||||||
%_datadir/%name/trace-events-all
|
%_datadir/%name/trace-events-all
|
||||||
|
%dir %_datadir/%name/vhost-user
|
||||||
%_datadir/%name/vhost-user/50-qemu-virtiofsd.json
|
%_datadir/%name/vhost-user/50-qemu-virtiofsd.json
|
||||||
%dir %_docdir/%name/interop
|
%dir %_docdir/%name/interop
|
||||||
%dir %_docdir/%name/interop/_static
|
%dir %_docdir/%name/interop/_static
|
||||||
@ -1955,10 +1880,8 @@ fi
|
|||||||
%_datadir/%name/linuxboot_dma.bin
|
%_datadir/%name/linuxboot_dma.bin
|
||||||
%_datadir/%name/multiboot.bin
|
%_datadir/%name/multiboot.bin
|
||||||
%_datadir/%name/pvh.bin
|
%_datadir/%name/pvh.bin
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-x86
|
%dir %_docdir/qemu-x86
|
||||||
%_docdir/qemu-x86/supported.txt
|
%_docdir/qemu-x86/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files ppc
|
%files ppc
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -1972,29 +1895,23 @@ fi
|
|||||||
%_datadir/%name/slof.bin
|
%_datadir/%name/slof.bin
|
||||||
%_datadir/%name/u-boot.e500
|
%_datadir/%name/u-boot.e500
|
||||||
%_datadir/%name/u-boot-sam460-20100605.bin
|
%_datadir/%name/u-boot-sam460-20100605.bin
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-ppc
|
%dir %_docdir/qemu-ppc
|
||||||
%_docdir/qemu-ppc/supported.txt
|
%_docdir/qemu-ppc/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files s390
|
%files s390
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_bindir/qemu-system-s390x
|
%_bindir/qemu-system-s390x
|
||||||
%_datadir/%name/s390-ccw.img
|
%_datadir/%name/s390-ccw.img
|
||||||
%_datadir/%name/s390-netboot.img
|
%_datadir/%name/s390-netboot.img
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-s390
|
%dir %_docdir/qemu-s390
|
||||||
%_docdir/qemu-s390/supported.txt
|
%_docdir/qemu-s390/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files arm
|
%files arm
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_bindir/qemu-system-arm
|
%_bindir/qemu-system-arm
|
||||||
%_bindir/qemu-system-aarch64
|
%_bindir/qemu-system-aarch64
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-arm
|
%dir %_docdir/qemu-arm
|
||||||
%_docdir/qemu-arm/supported.txt
|
%_docdir/qemu-arm/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files extra
|
%files extra
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -2041,13 +1958,11 @@ fi
|
|||||||
%files kvm
|
%files kvm
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_bindir/qemu-kvm
|
%_bindir/qemu-kvm
|
||||||
%_mandir/man1/qemu-kvm.1.gz
|
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-kvm
|
%dir %_docdir/qemu-kvm
|
||||||
%_docdir/qemu-kvm/kvm-supported.html
|
%_docdir/qemu-kvm/kvm-supported.html
|
||||||
%_docdir/qemu-kvm/kvm-supported.txt
|
%_docdir/qemu-kvm/kvm-supported.txt
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%_mandir/man1/qemu-kvm.1.gz
|
||||||
|
|
||||||
%files audio-alsa
|
%files audio-alsa
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -2059,12 +1974,10 @@ fi
|
|||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/audio-pa.so
|
%_libdir/%name/audio-pa.so
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files audio-sdl
|
%files audio-sdl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/audio-sdl.so
|
%_libdir/%name/audio-sdl.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files block-curl
|
%files block-curl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -2075,28 +1988,22 @@ fi
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-dmg-bz2.so
|
%_libdir/%name/block-dmg-bz2.so
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%_libdir/%name/block-dmg-lzfse.so
|
%_libdir/%name/block-dmg-lzfse.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
%files block-gluster
|
%files block-gluster
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-gluster.so
|
%_libdir/%name/block-gluster.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files block-iscsi
|
%files block-iscsi
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-iscsi.so
|
%_libdir/%name/block-iscsi.so
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files block-nfs
|
%files block-nfs
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-nfs.so
|
%_libdir/%name/block-nfs.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
%files block-rbd
|
%files block-rbd
|
||||||
@ -2112,33 +2019,43 @@ fi
|
|||||||
|
|
||||||
%files chardev-baum
|
%files chardev-baum
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/00
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-ga-ref.html
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/chardev-baum.so
|
%_libdir/%name/chardev-baum.so
|
||||||
%_docdir/%name/qemu-ga-ref.html
|
|
||||||
|
|
||||||
%files hw-display-qxl
|
%files hw-display-qxl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/01
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-ga-ref.txt
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/hw-display-qxl.so
|
%_libdir/%name/hw-display-qxl.so
|
||||||
%_docdir/%name/qemu-ga-ref.txt
|
|
||||||
|
|
||||||
%files hw-usb-redirect
|
%files hw-usb-redirect
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/02
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-qmp-ref.html
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/hw-usb-redirect.so
|
%_libdir/%name/hw-usb-redirect.so
|
||||||
%_docdir/%name/qemu-qmp-ref.html
|
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files hw-usb-smartcard
|
%files hw-usb-smartcard
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/03
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-qmp-ref.txt
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/hw-usb-smartcard.so
|
%_libdir/%name/hw-usb-smartcard.so
|
||||||
%_docdir/%name/qemu-qmp-ref.txt
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files ui-curses
|
%files ui-curses
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -2150,12 +2067,10 @@ fi
|
|||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/ui-gtk.so
|
%_libdir/%name/ui-gtk.so
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files ui-sdl
|
%files ui-sdl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/ui-sdl.so
|
%_libdir/%name/ui-sdl.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files ui-spice-app
|
%files ui-spice-app
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -2255,10 +2170,10 @@ fi
|
|||||||
%_bindir/qemu-io
|
%_bindir/qemu-io
|
||||||
%_bindir/qemu-keymap
|
%_bindir/qemu-keymap
|
||||||
%_bindir/qemu-nbd
|
%_bindir/qemu-nbd
|
||||||
|
%_bindir/qemu-pr-helper
|
||||||
%_bindir/qemu-storage-daemon
|
%_bindir/qemu-storage-daemon
|
||||||
%_bindir/vmstate-static-checker.py
|
%_bindir/vmstate-static-checker.py
|
||||||
%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper
|
%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper
|
||||||
%_libexecdir/qemu-pr-helper
|
|
||||||
%_libexecdir/virtfs-proxy-helper
|
%_libexecdir/virtfs-proxy-helper
|
||||||
%_libexecdir/virtiofsd
|
%_libexecdir/virtiofsd
|
||||||
%_mandir/man1/qemu-img.1.gz
|
%_mandir/man1/qemu-img.1.gz
|
||||||
@ -2276,11 +2191,9 @@ fi
|
|||||||
%{_unitdir}/qemu-ga@.service
|
%{_unitdir}/qemu-ga@.service
|
||||||
/usr/lib/udev/rules.d/80-qemu-ga.rules
|
/usr/lib/udev/rules.d/80-qemu-ga.rules
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files ksm
|
%files ksm
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_unitdir}/ksm.service
|
%{_unitdir}/ksm.service
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif # qemu
|
%endif # qemu
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
|
177
qemu.spec.in
177
qemu.spec.in
@ -65,19 +65,13 @@
|
|||||||
%define legacy_qemu_kvm 1
|
%define legacy_qemu_kvm 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%define with_glusterfs 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch x86_64 aarch64 ppc64le s390x
|
%ifarch x86_64 aarch64 ppc64le s390x
|
||||||
%define with_rbd 1
|
%define with_rbd 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%ifarch x86_64 ppc64le
|
%ifarch x86_64 ppc64le
|
||||||
%define with_daxctl 1
|
%define with_daxctl 1
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild
|
# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild
|
||||||
%define flavor @BUILD_FLAVOR@%{nil}
|
%define flavor @BUILD_FLAVOR@%{nil}
|
||||||
@ -122,10 +116,11 @@ Source13: supported.s390.txt
|
|||||||
Source14: 50-seabios-256k.json
|
Source14: 50-seabios-256k.json
|
||||||
Source15: 60-seabios-128k.json
|
Source15: 60-seabios-128k.json
|
||||||
Source200: qemu-rpmlintrc
|
Source200: qemu-rpmlintrc
|
||||||
Source201: qemu-ga-ref.html
|
Source201: pkg-split.txt
|
||||||
Source202: qemu-ga-ref.txt
|
Source202: qemu-ga-ref.html
|
||||||
Source203: qemu-qmp-ref.html
|
Source203: qemu-ga-ref.txt
|
||||||
Source204: qemu-qmp-ref.txt
|
Source204: qemu-qmp-ref.html
|
||||||
|
Source205: qemu-qmp-ref.txt
|
||||||
Source300: bundles.tar.xz
|
Source300: bundles.tar.xz
|
||||||
Source301: update_git.sh
|
Source301: update_git.sh
|
||||||
Source302: config.sh
|
Source302: config.sh
|
||||||
@ -202,16 +197,12 @@ BuildRequires: glib2-devel >= 2.48
|
|||||||
%if build_x86_firmware_from_source
|
%if build_x86_firmware_from_source
|
||||||
BuildRequires: glibc-devel-32bit
|
BuildRequires: glibc-devel-32bit
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
BuildRequires: glusterfs-devel >= 3
|
BuildRequires: glusterfs-devel >= 3
|
||||||
%endif
|
|
||||||
BuildRequires: gtk3-devel >= 3.22
|
BuildRequires: gtk3-devel >= 3.22
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: libcacard-devel >= 2.5.1
|
BuildRequires: libcacard-devel >= 2.5.1
|
||||||
%endif
|
|
||||||
BuildRequires: libcap-ng-devel
|
BuildRequires: libcap-ng-devel
|
||||||
BuildRequires: libdrm-devel
|
BuildRequires: libdrm-devel
|
||||||
BuildRequires: libepoxy-devel
|
BuildRequires: libepoxy-devel
|
||||||
@ -224,9 +215,7 @@ BuildRequires: libjpeg-devel
|
|||||||
%if 0%{?with_daxctl}
|
%if 0%{?with_daxctl}
|
||||||
BuildRequires: libndctl-devel
|
BuildRequires: libndctl-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: libnfs-devel >= 1.9.3
|
BuildRequires: libnfs-devel >= 1.9.3
|
||||||
%endif
|
|
||||||
%ifnarch %arm s390x
|
%ifnarch %arm s390x
|
||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
%endif
|
%endif
|
||||||
@ -240,22 +229,16 @@ BuildRequires: libpulse-devel
|
|||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
BuildRequires: librbd-devel
|
BuildRequires: librbd-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: libSDL2-devel
|
BuildRequires: libSDL2-devel
|
||||||
BuildRequires: libSDL2_image-devel
|
BuildRequires: libSDL2_image-devel
|
||||||
%endif
|
|
||||||
BuildRequires: libseccomp-devel >= 2.3.0
|
BuildRequires: libseccomp-devel >= 2.3.0
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: libslirp-devel >= 4.2.0
|
BuildRequires: libslirp-devel >= 4.2.0
|
||||||
%endif
|
|
||||||
BuildRequires: libspice-server-devel >= 0.12.5
|
BuildRequires: libspice-server-devel >= 0.12.5
|
||||||
BuildRequires: libssh-devel >= 0.8
|
BuildRequires: libssh-devel >= 0.8
|
||||||
BuildRequires: pkgconfig(libudev)
|
BuildRequires: pkgconfig(libudev)
|
||||||
BuildRequires: libusb-1_0-devel >= 1.0.13
|
BuildRequires: libusb-1_0-devel >= 1.0.13
|
||||||
BuildRequires: libvdeplug-devel
|
BuildRequires: libvdeplug-devel
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: lzfse-devel
|
BuildRequires: lzfse-devel
|
||||||
%endif
|
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: libxkbcommon-devel
|
BuildRequires: libxkbcommon-devel
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
@ -293,18 +276,12 @@ BuildRequires: bc
|
|||||||
BuildRequires: qemu-arm = %{qemuver}
|
BuildRequires: qemu-arm = %{qemuver}
|
||||||
BuildRequires: qemu-audio-alsa = %{qemuver}
|
BuildRequires: qemu-audio-alsa = %{qemuver}
|
||||||
BuildRequires: qemu-audio-pa = %{qemuver}
|
BuildRequires: qemu-audio-pa = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-audio-sdl = %{qemuver}
|
BuildRequires: qemu-audio-sdl = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-block-curl = %{qemuver}
|
BuildRequires: qemu-block-curl = %{qemuver}
|
||||||
BuildRequires: qemu-block-dmg = %{qemuver}
|
BuildRequires: qemu-block-dmg = %{qemuver}
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
BuildRequires: qemu-block-gluster = %{qemuver}
|
BuildRequires: qemu-block-gluster = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-block-iscsi = %{qemuver}
|
BuildRequires: qemu-block-iscsi = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-block-nfs = %{qemuver}
|
BuildRequires: qemu-block-nfs = %{qemuver}
|
||||||
%endif
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
BuildRequires: qemu-block-rbd = %{qemuver}
|
BuildRequires: qemu-block-rbd = %{qemuver}
|
||||||
%endif
|
%endif
|
||||||
@ -317,13 +294,9 @@ BuildRequires: qemu-extra = %{qemuver}
|
|||||||
BuildRequires: qemu-guest-agent = %{qemuver}
|
BuildRequires: qemu-guest-agent = %{qemuver}
|
||||||
BuildRequires: qemu-hw-display-qxl = %{qemuver}
|
BuildRequires: qemu-hw-display-qxl = %{qemuver}
|
||||||
BuildRequires: qemu-hw-usb-redirect = %{qemuver}
|
BuildRequires: qemu-hw-usb-redirect = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-hw-usb-smartcard = %{qemuver}
|
BuildRequires: qemu-hw-usb-smartcard = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-ipxe = 1.0.0+
|
BuildRequires: qemu-ipxe = 1.0.0+
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-ksm = %{qemuver}
|
BuildRequires: qemu-ksm = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-lang = %{qemuver}
|
BuildRequires: qemu-lang = %{qemuver}
|
||||||
BuildRequires: qemu-ppc = %{qemuver}
|
BuildRequires: qemu-ppc = %{qemuver}
|
||||||
BuildRequires: qemu-s390 = %{qemuver}
|
BuildRequires: qemu-s390 = %{qemuver}
|
||||||
@ -332,9 +305,7 @@ BuildRequires: qemu-sgabios = 8
|
|||||||
BuildRequires: qemu-tools = %{qemuver}
|
BuildRequires: qemu-tools = %{qemuver}
|
||||||
BuildRequires: qemu-ui-curses = %{qemuver}
|
BuildRequires: qemu-ui-curses = %{qemuver}
|
||||||
BuildRequires: qemu-ui-gtk = %{qemuver}
|
BuildRequires: qemu-ui-gtk = %{qemuver}
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: qemu-ui-sdl = %{qemuver}
|
BuildRequires: qemu-ui-sdl = %{qemuver}
|
||||||
%endif
|
|
||||||
BuildRequires: qemu-ui-spice-app = %{qemuver}
|
BuildRequires: qemu-ui-spice-app = %{qemuver}
|
||||||
BuildRequires: qemu-vgabios = %{sbver}
|
BuildRequires: qemu-vgabios = %{sbver}
|
||||||
BuildRequires: qemu-x86 = %{qemuver}
|
BuildRequires: qemu-x86 = %{qemuver}
|
||||||
@ -352,18 +323,11 @@ Recommends: kvm_stat
|
|||||||
Recommends: qemu-block-curl
|
Recommends: qemu-block-curl
|
||||||
Recommends: qemu-hw-display-qxl
|
Recommends: qemu-hw-display-qxl
|
||||||
Recommends: qemu-hw-usb-redirect
|
Recommends: qemu-hw-usb-redirect
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Recommends: qemu-hw-usb-smartcard
|
Recommends: qemu-hw-usb-smartcard
|
||||||
%endif
|
|
||||||
Recommends: qemu-tools
|
Recommends: qemu-tools
|
||||||
Recommends: qemu-ui-curses
|
Recommends: qemu-ui-curses
|
||||||
Recommends: qemu-ui-gtk
|
Recommends: qemu-ui-gtk
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Recommends: qemu-ui-sdl
|
Recommends: qemu-ui-sdl
|
||||||
%else
|
|
||||||
Obsoletes: qemu-audio-sdl <= %{qemuver}
|
|
||||||
Obsoletes: qemu-ui-sdl <= %{qemuver}
|
|
||||||
%endif
|
|
||||||
Recommends: qemu-ui-spice-app
|
Recommends: qemu-ui-spice-app
|
||||||
Recommends: qemu-x86
|
Recommends: qemu-x86
|
||||||
%ifarch ppc ppc64 ppc64le
|
%ifarch ppc ppc64 ppc64le
|
||||||
@ -382,13 +346,9 @@ Recommends: qemu-arm
|
|||||||
Suggests: qemu-arm
|
Suggests: qemu-arm
|
||||||
%endif
|
%endif
|
||||||
Suggests: qemu-block-dmg
|
Suggests: qemu-block-dmg
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
Suggests: qemu-block-gluster
|
Suggests: qemu-block-gluster
|
||||||
%endif
|
|
||||||
Suggests: qemu-block-iscsi
|
Suggests: qemu-block-iscsi
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Suggests: qemu-block-nfs
|
Suggests: qemu-block-nfs
|
||||||
%endif
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
Suggests: qemu-block-rbd
|
Suggests: qemu-block-rbd
|
||||||
%endif
|
%endif
|
||||||
@ -396,9 +356,7 @@ Suggests: qemu-block-ssh
|
|||||||
Suggests: qemu-chardev-baum
|
Suggests: qemu-chardev-baum
|
||||||
Suggests: qemu-extra
|
Suggests: qemu-extra
|
||||||
Suggests: qemu-lang
|
Suggests: qemu-lang
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
Recommends: qemu-ksm = %{qemuver}
|
Recommends: qemu-ksm = %{qemuver}
|
||||||
%endif
|
|
||||||
Suggests: qemu-microvm
|
Suggests: qemu-microvm
|
||||||
Suggests: qemu-vhost-user-gpu
|
Suggests: qemu-vhost-user-gpu
|
||||||
Provides: qemu-audio-oss = %{qemuver}
|
Provides: qemu-audio-oss = %{qemuver}
|
||||||
@ -561,7 +519,6 @@ Release: 0
|
|||||||
%description audio-pa
|
%description audio-pa
|
||||||
This package contains a module for Pulse Audio based audio support for QEMU.
|
This package contains a module for Pulse Audio based audio support for QEMU.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package audio-sdl
|
%package audio-sdl
|
||||||
Summary: SDL based audio support for QEMU
|
Summary: SDL based audio support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -571,7 +528,6 @@ Release: 0
|
|||||||
|
|
||||||
%description audio-sdl
|
%description audio-sdl
|
||||||
This package contains a module for SDL based audio support for QEMU.
|
This package contains a module for SDL based audio support for QEMU.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package block-curl
|
%package block-curl
|
||||||
Summary: cURL block support for QEMU
|
Summary: cURL block support for QEMU
|
||||||
@ -596,7 +552,6 @@ Release: 0
|
|||||||
This package contains a module for accessing Mac OS X image files from
|
This package contains a module for accessing Mac OS X image files from
|
||||||
qemu-img tool and QEMU system emulation.
|
qemu-img tool and QEMU system emulation.
|
||||||
|
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
%package block-gluster
|
%package block-gluster
|
||||||
Summary: GlusterFS block support for QEMU
|
Summary: GlusterFS block support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -607,7 +562,6 @@ Release: 0
|
|||||||
%description block-gluster
|
%description block-gluster
|
||||||
This package contains a module for accessing network-based image files over a
|
This package contains a module for accessing network-based image files over a
|
||||||
GlusterFS network connection from qemu-img tool and QEMU system emulation.
|
GlusterFS network connection from qemu-img tool and QEMU system emulation.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package block-iscsi
|
%package block-iscsi
|
||||||
Summary: iSCSI block support for QEMU
|
Summary: iSCSI block support for QEMU
|
||||||
@ -620,7 +574,6 @@ Release: 0
|
|||||||
This package contains a module for accessing network-based image files over an
|
This package contains a module for accessing network-based image files over an
|
||||||
iSCSI network connection from qemu-img tool and QEMU system emulation.
|
iSCSI network connection from qemu-img tool and QEMU system emulation.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package block-nfs
|
%package block-nfs
|
||||||
Summary: direct Network File System support for QEMU
|
Summary: direct Network File System support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -630,7 +583,6 @@ Release: 0
|
|||||||
|
|
||||||
%description block-nfs
|
%description block-nfs
|
||||||
This package contains a module for directly accessing nfs based image files.
|
This package contains a module for directly accessing nfs based image files.
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
%package block-rbd
|
%package block-rbd
|
||||||
@ -688,7 +640,6 @@ Provides: %name:%_docdir/%name/qemu-qmp-ref.html
|
|||||||
%description hw-usb-redirect
|
%description hw-usb-redirect
|
||||||
This package contains a module for USB redirection support.
|
This package contains a module for USB redirection support.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package hw-usb-smartcard
|
%package hw-usb-smartcard
|
||||||
Summary: USB smartcard support for QEMU
|
Summary: USB smartcard support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -699,7 +650,6 @@ Provides: %name:%_docdir/%name/qemu-qmp-ref.txt
|
|||||||
|
|
||||||
%description hw-usb-smartcard
|
%description hw-usb-smartcard
|
||||||
This package contains a modules for USB smartcard support.
|
This package contains a modules for USB smartcard support.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package ui-curses
|
%package ui-curses
|
||||||
Summary: Curses based UI support for QEMU
|
Summary: Curses based UI support for QEMU
|
||||||
@ -721,7 +671,6 @@ Release: 0
|
|||||||
%description ui-gtk
|
%description ui-gtk
|
||||||
This package contains a module for doing GTK based UI for QEMU.
|
This package contains a module for doing GTK based UI for QEMU.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package ui-sdl
|
%package ui-sdl
|
||||||
Summary: SDL based UI support for QEMU
|
Summary: SDL based UI support for QEMU
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -731,7 +680,6 @@ Release: 0
|
|||||||
|
|
||||||
%description ui-sdl
|
%description ui-sdl
|
||||||
This package contains a module for doing SDL based UI for QEMU.
|
This package contains a module for doing SDL based UI for QEMU.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package ui-spice-app
|
%package ui-spice-app
|
||||||
Summary: Spice UI support for QEMU
|
Summary: Spice UI support for QEMU
|
||||||
@ -863,7 +811,6 @@ BuildArch: noarch
|
|||||||
Provides EDK II based firmware.
|
Provides EDK II based firmware.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package ksm
|
%package ksm
|
||||||
Summary: Kernel Samepage Merging services
|
Summary: Kernel Samepage Merging services
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -877,7 +824,6 @@ Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature, that
|
|||||||
merges anonymous (private) pages (not pagecache ones).
|
merges anonymous (private) pages (not pagecache ones).
|
||||||
|
|
||||||
This package provides a service file for starting and stopping KSM.
|
This package provides a service file for starting and stopping KSM.
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif # ! qemu-testsuite
|
%endif # ! qemu-testsuite
|
||||||
%endif # ! qemu-linux-user
|
%endif # ! qemu-linux-user
|
||||||
@ -1032,18 +978,14 @@ cd %mybuilddir
|
|||||||
--enable-tools --enable-guest-agent \
|
--enable-tools --enable-guest-agent \
|
||||||
--enable-modules \
|
--enable-modules \
|
||||||
--disable-module-upgrades \
|
--disable-module-upgrades \
|
||||||
%if 0%{?is_opensuse}
|
%if 1
|
||||||
--enable-slirp=system \
|
--enable-slirp=system \
|
||||||
%else
|
%else
|
||||||
--enable-slirp=git \
|
--enable-slirp=git \
|
||||||
%endif
|
%endif
|
||||||
--enable-pie \
|
--enable-pie \
|
||||||
--enable-docs \
|
--enable-docs \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--audio-drv-list="pa alsa sdl" \
|
--audio-drv-list="pa alsa sdl" \
|
||||||
%else
|
|
||||||
--audio-drv-list="pa alsa" \
|
|
||||||
%endif
|
|
||||||
--enable-attr \
|
--enable-attr \
|
||||||
--disable-auth-pam \
|
--disable-auth-pam \
|
||||||
--enable-bochs \
|
--enable-bochs \
|
||||||
@ -1059,11 +1001,7 @@ cd %mybuilddir
|
|||||||
--enable-dmg \
|
--enable-dmg \
|
||||||
--enable-fdt \
|
--enable-fdt \
|
||||||
--enable-gcrypt \
|
--enable-gcrypt \
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
--enable-glusterfs \
|
--enable-glusterfs \
|
||||||
%else
|
|
||||||
--disable-glusterfs \
|
|
||||||
%endif
|
|
||||||
--enable-gnutls \
|
--enable-gnutls \
|
||||||
--enable-gtk \
|
--enable-gtk \
|
||||||
--disable-hax \
|
--disable-hax \
|
||||||
@ -1081,11 +1019,7 @@ cd %mybuilddir
|
|||||||
--disable-libdaxctl \
|
--disable-libdaxctl \
|
||||||
%endif
|
%endif
|
||||||
--enable-libiscsi \
|
--enable-libiscsi \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-libnfs \
|
--enable-libnfs \
|
||||||
%else
|
|
||||||
--disable-libnfs \
|
|
||||||
%endif
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
--enable-libpmem \
|
--enable-libpmem \
|
||||||
%else
|
%else
|
||||||
@ -1095,11 +1029,7 @@ cd %mybuilddir
|
|||||||
--enable-libusb \
|
--enable-libusb \
|
||||||
--disable-libxml2 \
|
--disable-libxml2 \
|
||||||
--enable-linux-aio \
|
--enable-linux-aio \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-lzfse \
|
--enable-lzfse \
|
||||||
%else
|
|
||||||
--disable-lzfse \
|
|
||||||
%endif
|
|
||||||
--enable-lzo \
|
--enable-lzo \
|
||||||
--disable-malloc-trim \
|
--disable-malloc-trim \
|
||||||
%if %{with system_membarrier}
|
%if %{with system_membarrier}
|
||||||
@ -1130,20 +1060,11 @@ cd %mybuilddir
|
|||||||
--enable-replication \
|
--enable-replication \
|
||||||
--disable-safe-stack \
|
--disable-safe-stack \
|
||||||
--disable-sanitizers \
|
--disable-sanitizers \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-sdl \
|
--enable-sdl \
|
||||||
--enable-sdl-image \
|
--enable-sdl-image \
|
||||||
%else
|
|
||||||
--disable-sdl \
|
|
||||||
--disable-sdl-image \
|
|
||||||
%endif
|
|
||||||
--enable-seccomp \
|
--enable-seccomp \
|
||||||
--enable-sheepdog \
|
--enable-sheepdog \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--enable-smartcard \
|
--enable-smartcard \
|
||||||
%else
|
|
||||||
--disable-smartcard \
|
|
||||||
%endif
|
|
||||||
--enable-snappy \
|
--enable-snappy \
|
||||||
--enable-spice \
|
--enable-spice \
|
||||||
--disable-tcmalloc \
|
--disable-tcmalloc \
|
||||||
@ -1508,12 +1429,10 @@ install -D -p -m 0644 %{SOURCE8} %{buildroot}/usr/lib/udev/rules.d/80-qemu-ga.ru
|
|||||||
install -D -m 0755 scripts/analyze-migration.py %{buildroot}%_bindir/analyze-migration.py
|
install -D -m 0755 scripts/analyze-migration.py %{buildroot}%_bindir/analyze-migration.py
|
||||||
install -D -m 0755 scripts/vmstate-static-checker.py %{buildroot}%_bindir/vmstate-static-checker.py
|
install -D -m 0755 scripts/vmstate-static-checker.py %{buildroot}%_bindir/vmstate-static-checker.py
|
||||||
install -D -m 0755 %{SOURCE9} %{buildroot}%_libexecdir/supportconfig/plugins/%name
|
install -D -m 0755 %{SOURCE9} %{buildroot}%_libexecdir/supportconfig/plugins/%name
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
install -D -m 0644 %{SOURCE10} %{buildroot}%_docdir/qemu-arm/supported.txt
|
install -D -m 0644 %{SOURCE10} %{buildroot}%_docdir/qemu-arm/supported.txt
|
||||||
install -D -m 0644 %{SOURCE11} %{buildroot}%_docdir/qemu-ppc/supported.txt
|
install -D -m 0644 %{SOURCE11} %{buildroot}%_docdir/qemu-ppc/supported.txt
|
||||||
install -D -m 0644 %{SOURCE12} %{buildroot}%_docdir/qemu-x86/supported.txt
|
install -D -m 0644 %{SOURCE12} %{buildroot}%_docdir/qemu-x86/supported.txt
|
||||||
install -D -m 0644 %{SOURCE13} %{buildroot}%_docdir/qemu-s390/supported.txt
|
install -D -m 0644 %{SOURCE13} %{buildroot}%_docdir/qemu-s390/supported.txt
|
||||||
%endif
|
|
||||||
%if %{legacy_qemu_kvm}
|
%if %{legacy_qemu_kvm}
|
||||||
cat > %{buildroot}%_bindir/qemu-kvm << 'EOF'
|
cat > %{buildroot}%_bindir/qemu-kvm << 'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -1526,7 +1445,6 @@ exec %_bindir/qemu-system-x86_64 -machine accel=kvm "$@"
|
|||||||
EOF
|
EOF
|
||||||
chmod 755 %{buildroot}%_bindir/qemu-kvm
|
chmod 755 %{buildroot}%_bindir/qemu-kvm
|
||||||
install -D -m 0644 %{SOURCE5} %{buildroot}%_mandir/man1/qemu-kvm.1.gz
|
install -D -m 0644 %{SOURCE5} %{buildroot}%_mandir/man1/qemu-kvm.1.gz
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
install -d %{buildroot}%_docdir/qemu-kvm
|
install -d %{buildroot}%_docdir/qemu-kvm
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
ln -s ../qemu-s390/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt
|
ln -s ../qemu-s390/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt
|
||||||
@ -1536,23 +1454,27 @@ ln -s ../qemu-x86/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.txt
|
|||||||
rst2html --exit-status=2 %{buildroot}%_docdir/qemu-x86/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.html
|
rst2html --exit-status=2 %{buildroot}%_docdir/qemu-x86/supported.txt %{buildroot}%_docdir/qemu-kvm/kvm-supported.html
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
%if %{kvm_available}
|
%if %{kvm_available}
|
||||||
install -D -m 0644 %{SOURCE1} %{buildroot}/usr/lib/udev/rules.d/80-kvm.rules
|
install -D -m 0644 %{SOURCE1} %{buildroot}/usr/lib/udev/rules.d/80-kvm.rules
|
||||||
%endif
|
%endif
|
||||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
||||||
%endif
|
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/modules-load.d/kvm.conf
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/modules-load.d/kvm.conf
|
||||||
%endif
|
%endif
|
||||||
install -D -m 0644 %{SOURCE201} %{buildroot}%_docdir/%name/qemu-ga-ref.html
|
install -D -m 0644 %{SOURCE202} %{buildroot}%_docdir/%name/qemu-ga-ref.html
|
||||||
install -D -m 0644 %{SOURCE202} %{buildroot}%_docdir/%name/qemu-ga-ref.txt
|
install -D -m 0644 %{SOURCE203} %{buildroot}%_docdir/%name/qemu-ga-ref.txt
|
||||||
install -D -m 0644 %{SOURCE203} %{buildroot}%_docdir/%name/qemu-qmp-ref.html
|
install -D -m 0644 %{SOURCE204} %{buildroot}%_docdir/%name/qemu-qmp-ref.html
|
||||||
%if 0%{?is_opensuse}
|
install -D -m 0644 %{SOURCE205} %{buildroot}%_docdir/%name/qemu-qmp-ref.txt
|
||||||
install -D -m 0644 %{SOURCE204} %{buildroot}%_docdir/%name/qemu-qmp-ref.txt
|
mv %{buildroot}%_libexecdir/qemu-pr-helper %{buildroot}%_bindir/qemu-pr-helper
|
||||||
%endif
|
install -D -m 0644 %{SOURCE201} %{buildroot}%_datadir/%name/forsplits/pkg-split.txt
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/00
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/01
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/02
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/03
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/04
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/05
|
||||||
|
ln -s pkg-split.txt %{buildroot}%_datadir/%name/forsplits/06
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
# ========================================================================
|
# ========================================================================
|
||||||
@ -1610,7 +1532,6 @@ fi
|
|||||||
%postun guest-agent
|
%postun guest-agent
|
||||||
%service_del_postun qemu-ga@.service
|
%service_del_postun qemu-ga@.service
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%pre ksm
|
%pre ksm
|
||||||
%service_add_pre ksm.service
|
%service_add_pre ksm.service
|
||||||
|
|
||||||
@ -1622,7 +1543,6 @@ fi
|
|||||||
|
|
||||||
%postun ksm
|
%postun ksm
|
||||||
%service_del_postun ksm.service
|
%service_del_postun ksm.service
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif # qemu
|
%endif # qemu
|
||||||
|
|
||||||
@ -1636,9 +1556,6 @@ fi
|
|||||||
%dir %_datadir/icons/hicolor
|
%dir %_datadir/icons/hicolor
|
||||||
%dir %_datadir/icons/hicolor/*/
|
%dir %_datadir/icons/hicolor/*/
|
||||||
%dir %_datadir/icons/hicolor/*/apps
|
%dir %_datadir/icons/hicolor/*/apps
|
||||||
%dir %_datadir/%name
|
|
||||||
%dir %_datadir/%name/firmware
|
|
||||||
%dir %_datadir/%name/vhost-user
|
|
||||||
%_datadir/applications/qemu.desktop
|
%_datadir/applications/qemu.desktop
|
||||||
%_datadir/icons/hicolor/16x16/apps/qemu.png
|
%_datadir/icons/hicolor/16x16/apps/qemu.png
|
||||||
%_datadir/icons/hicolor/24x24/apps/qemu.png
|
%_datadir/icons/hicolor/24x24/apps/qemu.png
|
||||||
@ -1650,10 +1567,18 @@ fi
|
|||||||
%_datadir/icons/hicolor/256x256/apps/qemu.png
|
%_datadir/icons/hicolor/256x256/apps/qemu.png
|
||||||
%_datadir/icons/hicolor/512x512/apps/qemu.png
|
%_datadir/icons/hicolor/512x512/apps/qemu.png
|
||||||
%_datadir/icons/hicolor/scalable/apps/qemu.svg
|
%_datadir/icons/hicolor/scalable/apps/qemu.svg
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/firmware
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/pkg-split.txt
|
||||||
|
%_datadir/%name/forsplits/04
|
||||||
|
%_datadir/%name/forsplits/05
|
||||||
|
%_datadir/%name/forsplits/06
|
||||||
%_datadir/%name/keymaps
|
%_datadir/%name/keymaps
|
||||||
%_datadir/%name/qemu-ifup
|
%_datadir/%name/qemu-ifup
|
||||||
%_datadir/%name/qemu-nsis.bmp
|
%_datadir/%name/qemu-nsis.bmp
|
||||||
%_datadir/%name/trace-events-all
|
%_datadir/%name/trace-events-all
|
||||||
|
%dir %_datadir/%name/vhost-user
|
||||||
%_datadir/%name/vhost-user/50-qemu-virtiofsd.json
|
%_datadir/%name/vhost-user/50-qemu-virtiofsd.json
|
||||||
%dir %_docdir/%name/interop
|
%dir %_docdir/%name/interop
|
||||||
%dir %_docdir/%name/interop/_static
|
%dir %_docdir/%name/interop/_static
|
||||||
@ -1810,10 +1735,8 @@ fi
|
|||||||
%_datadir/%name/linuxboot_dma.bin
|
%_datadir/%name/linuxboot_dma.bin
|
||||||
%_datadir/%name/multiboot.bin
|
%_datadir/%name/multiboot.bin
|
||||||
%_datadir/%name/pvh.bin
|
%_datadir/%name/pvh.bin
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-x86
|
%dir %_docdir/qemu-x86
|
||||||
%_docdir/qemu-x86/supported.txt
|
%_docdir/qemu-x86/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files ppc
|
%files ppc
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -1827,29 +1750,23 @@ fi
|
|||||||
%_datadir/%name/slof.bin
|
%_datadir/%name/slof.bin
|
||||||
%_datadir/%name/u-boot.e500
|
%_datadir/%name/u-boot.e500
|
||||||
%_datadir/%name/u-boot-sam460-20100605.bin
|
%_datadir/%name/u-boot-sam460-20100605.bin
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-ppc
|
%dir %_docdir/qemu-ppc
|
||||||
%_docdir/qemu-ppc/supported.txt
|
%_docdir/qemu-ppc/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files s390
|
%files s390
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_bindir/qemu-system-s390x
|
%_bindir/qemu-system-s390x
|
||||||
%_datadir/%name/s390-ccw.img
|
%_datadir/%name/s390-ccw.img
|
||||||
%_datadir/%name/s390-netboot.img
|
%_datadir/%name/s390-netboot.img
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-s390
|
%dir %_docdir/qemu-s390
|
||||||
%_docdir/qemu-s390/supported.txt
|
%_docdir/qemu-s390/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files arm
|
%files arm
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_bindir/qemu-system-arm
|
%_bindir/qemu-system-arm
|
||||||
%_bindir/qemu-system-aarch64
|
%_bindir/qemu-system-aarch64
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-arm
|
%dir %_docdir/qemu-arm
|
||||||
%_docdir/qemu-arm/supported.txt
|
%_docdir/qemu-arm/supported.txt
|
||||||
%endif
|
|
||||||
|
|
||||||
%files extra
|
%files extra
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -1896,13 +1813,11 @@ fi
|
|||||||
%files kvm
|
%files kvm
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_bindir/qemu-kvm
|
%_bindir/qemu-kvm
|
||||||
%_mandir/man1/qemu-kvm.1.gz
|
|
||||||
%if 0%{?is_opensuse} == 0
|
|
||||||
%dir %_docdir/qemu-kvm
|
%dir %_docdir/qemu-kvm
|
||||||
%_docdir/qemu-kvm/kvm-supported.html
|
%_docdir/qemu-kvm/kvm-supported.html
|
||||||
%_docdir/qemu-kvm/kvm-supported.txt
|
%_docdir/qemu-kvm/kvm-supported.txt
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%_mandir/man1/qemu-kvm.1.gz
|
||||||
|
|
||||||
%files audio-alsa
|
%files audio-alsa
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -1914,12 +1829,10 @@ fi
|
|||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/audio-pa.so
|
%_libdir/%name/audio-pa.so
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files audio-sdl
|
%files audio-sdl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/audio-sdl.so
|
%_libdir/%name/audio-sdl.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files block-curl
|
%files block-curl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -1930,28 +1843,22 @@ fi
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-dmg-bz2.so
|
%_libdir/%name/block-dmg-bz2.so
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%_libdir/%name/block-dmg-lzfse.so
|
%_libdir/%name/block-dmg-lzfse.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_glusterfs}
|
|
||||||
%files block-gluster
|
%files block-gluster
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-gluster.so
|
%_libdir/%name/block-gluster.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files block-iscsi
|
%files block-iscsi
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-iscsi.so
|
%_libdir/%name/block-iscsi.so
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files block-nfs
|
%files block-nfs
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/block-nfs.so
|
%_libdir/%name/block-nfs.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?with_rbd}
|
%if 0%{?with_rbd}
|
||||||
%files block-rbd
|
%files block-rbd
|
||||||
@ -1967,33 +1874,43 @@ fi
|
|||||||
|
|
||||||
%files chardev-baum
|
%files chardev-baum
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/00
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-ga-ref.html
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/chardev-baum.so
|
%_libdir/%name/chardev-baum.so
|
||||||
%_docdir/%name/qemu-ga-ref.html
|
|
||||||
|
|
||||||
%files hw-display-qxl
|
%files hw-display-qxl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/01
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-ga-ref.txt
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/hw-display-qxl.so
|
%_libdir/%name/hw-display-qxl.so
|
||||||
%_docdir/%name/qemu-ga-ref.txt
|
|
||||||
|
|
||||||
%files hw-usb-redirect
|
%files hw-usb-redirect
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/02
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-qmp-ref.html
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/hw-usb-redirect.so
|
%_libdir/%name/hw-usb-redirect.so
|
||||||
%_docdir/%name/qemu-qmp-ref.html
|
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files hw-usb-smartcard
|
%files hw-usb-smartcard
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%dir %_datadir/%name
|
||||||
|
%dir %_datadir/%name/forsplits
|
||||||
|
%_datadir/%name/forsplits/03
|
||||||
%dir %_docdir/%name
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/qemu-qmp-ref.txt
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/hw-usb-smartcard.so
|
%_libdir/%name/hw-usb-smartcard.so
|
||||||
%_docdir/%name/qemu-qmp-ref.txt
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files ui-curses
|
%files ui-curses
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -2005,12 +1922,10 @@ fi
|
|||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/ui-gtk.so
|
%_libdir/%name/ui-gtk.so
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files ui-sdl
|
%files ui-sdl
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%dir %_libdir/%name
|
%dir %_libdir/%name
|
||||||
%_libdir/%name/ui-sdl.so
|
%_libdir/%name/ui-sdl.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files ui-spice-app
|
%files ui-spice-app
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -2110,10 +2025,10 @@ fi
|
|||||||
%_bindir/qemu-io
|
%_bindir/qemu-io
|
||||||
%_bindir/qemu-keymap
|
%_bindir/qemu-keymap
|
||||||
%_bindir/qemu-nbd
|
%_bindir/qemu-nbd
|
||||||
|
%_bindir/qemu-pr-helper
|
||||||
%_bindir/qemu-storage-daemon
|
%_bindir/qemu-storage-daemon
|
||||||
%_bindir/vmstate-static-checker.py
|
%_bindir/vmstate-static-checker.py
|
||||||
%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper
|
%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper
|
||||||
%_libexecdir/qemu-pr-helper
|
|
||||||
%_libexecdir/virtfs-proxy-helper
|
%_libexecdir/virtfs-proxy-helper
|
||||||
%_libexecdir/virtiofsd
|
%_libexecdir/virtiofsd
|
||||||
%_mandir/man1/qemu-img.1.gz
|
%_mandir/man1/qemu-img.1.gz
|
||||||
@ -2131,11 +2046,9 @@ fi
|
|||||||
%{_unitdir}/qemu-ga@.service
|
%{_unitdir}/qemu-ga@.service
|
||||||
/usr/lib/udev/rules.d/80-qemu-ga.rules
|
/usr/lib/udev/rules.d/80-qemu-ga.rules
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files ksm
|
%files ksm
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_unitdir}/ksm.service
|
%{_unitdir}/ksm.service
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif # qemu
|
%endif # qemu
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
|
@ -574,9 +574,9 @@ rm -rf $BUNDLE_DIR
|
|||||||
rm -f qemu.changes.added
|
rm -f qemu.changes.added
|
||||||
fi
|
fi
|
||||||
# Decide if there is a better way to handle the no change case:
|
# Decide if there is a better way to handle the no change case:
|
||||||
if [[ "0" = "$(expr $CHANGED_COUNT + $DELETED_COUNT + $ADDED_COUNT)" ]]; then
|
# if [[ "0" = "$(expr $CHANGED_COUNT + $DELETED_COUNT + $ADDED_COUNT)" ]]; then
|
||||||
osc revert bundles.tar.xz
|
# osc revert bundles.tar.xz
|
||||||
fi
|
# fi
|
||||||
echo "git patch summary"
|
echo "git patch summary"
|
||||||
echo " unchanged: $UNCHANGED_COUNT"
|
echo " unchanged: $UNCHANGED_COUNT"
|
||||||
echo " changed: $CHANGED_COUNT"
|
echo " changed: $CHANGED_COUNT"
|
||||||
|
@ -2,7 +2,7 @@ From: Gerd Hoffmann <kraxel@redhat.com>
|
|||||||
Date: Tue, 25 Aug 2020 07:36:36 +0200
|
Date: Tue, 25 Aug 2020 07:36:36 +0200
|
||||||
Subject: usb: fix setup_len init (CVE-2020-14364)
|
Subject: usb: fix setup_len init (CVE-2020-14364)
|
||||||
|
|
||||||
Git-commit: 0000000000000000000000000000000000000000
|
Git-commit: b946434f2659a182afc17e155be6791ebfb302eb
|
||||||
References: bsc#1175441, CVE-2020-14364
|
References: bsc#1175441, CVE-2020-14364
|
||||||
|
|
||||||
Store calculated setup_len in a local variable, verify it, and only
|
Store calculated setup_len in a local variable, verify it, and only
|
||||||
|
Loading…
Reference in New Issue
Block a user