Fix patch issue in spec file

(cherry picked from commit 4dcf9b249eaeb35c075d5bcaf178147948fc896d)
This commit is contained in:
Jie Yang 2021-08-24 11:29:20 +08:00 committed by openeuler-sync-bot
parent 4716f7565a
commit 51459757cb

View File

@ -6,13 +6,22 @@
Name: stratovirt
Version: 2.0.0
Release: 3
Release: 4
Summary: StratoVirt is an opensource VMM(Virtual Machine Manager) which aims to perform next generation virtualization.
License: Mulan PSL v2
URL: https://gitee.com/openeuler/StratoVirt
Source0: %{name}-%{version}.tar.gz
Patch001: 0001-fix-spelling-errors-in-project.patch
Patch002: 0002-migration-fix-an-error-during-migration-interface-on.patch
Patch003: 0003-migration-fix-an-errors-during-the-PL011-device-stat.patch
Patch004: 0004-machine-standard_vm-fix-inappropriate-file-open-perm.patch
Patch005: 0005-kernel_config-update-kernel-config-5.10-on-aarch64-p.patch
Patch006: 0006-syscall-add-syscall-newfstatat-in-x86_64-unknown-lin.patch
Patch007: 0007-vfio-fix-the-problem-of-dma-mapping-failed.patch
Patch008: 0008-virtio-fix-dev_id-initialization-for-virtio-pci-and-.patch
ExclusiveArch: x86_64 aarch64
%ifarch aarch64
@ -30,15 +39,6 @@ Based on Rust programming language, StratoVirt is lightweight, efficient and saf
Summary: %{summary}
Patch001: 0001-fix-spelling-errors-in-project.patch
Patch002: 0002-migration-fix-an-error-during-migration-interface-on.patch
Patch003: 0003-migration-fix-an-errors-during-the-PL011-device-stat.patch
Patch004: 0004-machine-standard_vm-fix-inappropriate-file-open-perm.patch
Patch005: 0005-kernel_config-update-kernel-config-5.10-on-aarch64-p.patch
Patch006: 0006-syscall-add-syscall-newfstatat-in-x86_64-unknown-lin.patch
Patch007: 0007-vfio-fix-the-problem-of-dma-mapping-failed.patch
Patch008: 0008-virtio-fix-dev_id-initialization-for-virtio-pci-and-.patch
%files -n stratovirt
%{_bindir}/stratovirt