Add upstream patch to remove deprecated -nodefconfig option.

This commit is contained in:
Richard W.M. Jones 2019-02-03 11:49:58 +00:00
parent 606333aa51
commit 244d9dcba6
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- qemu-sanity-check-1.1.5.old/qemu-sanity-check.in 2014-07-02 19:10:50.000000000 +0100
+++ qemu-sanity-check-1.1.5/qemu-sanity-check.in 2019-02-03 11:50:42.843269577 +0000
@@ -141,7 +141,7 @@
i=0
argv[$((i++))]="$qemu"
argv[$((i++))]="-nographic"
-argv[$((i++))]="-nodefconfig"
+argv[$((i++))]="-no-user-config"
argv[$((i++))]="-nodefaults"
argv[$((i++))]="-machine"
argv[$((i++))]="accel=$accel"

View File

@ -13,6 +13,9 @@ License: GPLv2+
URL: http://people.redhat.com/~rjones/qemu-sanity-check
Source0: http://people.redhat.com/~rjones/qemu-sanity-check/files/%{name}-%{version}.tar.gz
# Upstream patch to remove deprecated -nodefconfig option.
Patch1: 0001-Replace-nodefconfig-with-no-user-config.patch
# Non-upstream patch to disable test which fails on broken kernels
# which don't respond to panic=1 option properly.
Patch4: 0004-Disable-bad-userspace-test-Fedora-only.patch
@ -82,6 +85,7 @@ as %{name} except that this package does not depend on qemu or kernel.
%prep
%setup -q
%patch1 -p1
%patch4 -p1
# Rerun autotools because the patches touch configure.ac and Makefile.am.
@ -127,7 +131,8 @@ make DESTDIR=$RPM_BUILD_ROOT install
%changelog
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-11
* Sun Feb 03 2019 Richard W.M. Jones <rjones@redhat.com> - 1.1.5-11
- Add upstream patch to remove deprecated -nodefconfig option.
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-10