From 22089ac3ab0238dcc4eb7f64233736f3a2f34240 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Tue, 21 Jul 2026 13:05:22 +0200 Subject: [PATCH] Drop EL9-unavailable BuildRequires (qemu-system-i386, gitlint) - RHEL/EL9 has no /usr/bin/qemu-system-i386 (no i386 system emulator); qemu-kvm provides the x86_64 emulator os-autoinst uses. Matches the old 4.6 packaging. - gitlint is not packaged for EL9 (only the git-commit lint author test needs it). --- SPECS/os-autoinst.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SPECS/os-autoinst.spec b/SPECS/os-autoinst.spec index 62f050a..de9b102 100644 --- a/SPECS/os-autoinst.spec +++ b/SPECS/os-autoinst.spec @@ -91,8 +91,11 @@ Patch: 0001-Add-ppc64le-support-to-QEMU-backend.patch # file dep on /usr/bin/Xvnc (as it's in different packages in # different releases) # SUSE just has 'ipxe-bootimgs', we have -aarch64 and -x86 +# AlmaLinux/EL9: RHEL ships no /usr/bin/qemu-system-i386 (no i386 system +# emulator); qemu-kvm provides the x86_64 emulator os-autoinst uses. +# gitlint is not packaged for EL9 (only the git-commit lint test needs it). # The following line is generated from dependencies.yaml (upstream) -%define test_base_requires %main_requires cpio icewm perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Pod::Coverage) perl(Test::Compile) perl(Test::Mock::Time) perl(Test::MockModule) perl(Test::MockObject) perl(Test::MockRandom) perl(Test::Mojo) perl(Test::Most) perl(Test::Output) perl(Test::Perl::Critic) perl(Test::Pod) perl(Test::Warnings) >= 0.029 procps python3-setuptools qemu-kvm /usr/bin/qemu-img /usr/bin/qemu-system-i386 socat /usr/bin/Xvnc xterm xterm-console +%define test_base_requires %main_requires cpio icewm perl(Benchmark) perl(Devel::Cover) perl(FindBin) perl(Pod::Coverage) perl(Test::Compile) perl(Test::Mock::Time) perl(Test::MockModule) perl(Test::MockObject) perl(Test::MockRandom) perl(Test::Mojo) perl(Test::Most) perl(Test::Output) perl(Test::Perl::Critic) perl(Test::Pod) perl(Test::Warnings) >= 0.029 procps python3-setuptools qemu-kvm /usr/bin/qemu-img socat /usr/bin/Xvnc xterm xterm-console # The following line is generated from dependencies.yaml (upstream) %define test_version_only_requires perl(Mojo::IOLoop::ReadWriteProcess) >= 0.28 # diff from SUSE: it's python3-pillow-tk, not python3-Pillow-tk, and @@ -102,7 +105,7 @@ Patch: 0001-Add-ppc64le-support-to-QEMU-backend.patch # we don't use lua_support_requires because perl-Inline-Lua isn't # packaged on Fedora at all # The following line is generated from dependencies.yaml (upstream) -%define test_requires %build_requires %ocr_requires %test_base_requires %yamllint_requires ipxe-bootimgs-x86 ipxe-bootimgs-aarch64 ffmpeg-free perl(Inline::Python) perl(YAML::PP) python3-pillow-tk gitlint python3-pytest python3-pytest-cov python3-pytest-mock python3-pytest-xdist +%define test_requires %build_requires %ocr_requires %test_base_requires %yamllint_requires ipxe-bootimgs-x86 ipxe-bootimgs-aarch64 ffmpeg-free perl(Inline::Python) perl(YAML::PP) python3-pillow-tk python3-pytest python3-pytest-cov python3-pytest-mock python3-pytest-xdist %ifnarch s390x # The following line is generated from dependencies.yaml %define devel_non_s390_requires ShellCheck