From 90757faf53962e416abdd4073931fb6e70c0859e Mon Sep 17 00:00:00 2001 From: Eugene Syromiatnikov Date: Sun, 5 Feb 2023 01:26:32 +0100 Subject: [PATCH] kernel-srpm-macros.spec: update Requires: for binaries used in scripts Add "Requies:" tags for binearies used in various scripts, namely brp-kmod-compress, brp-kmod-set-exec-bit, find-provides.ksyms, find-requires.ksyms, and kmodtool. * kernel-srpm-macros.spec (%package -n kernel-rpm-macros) : Add %{_bindir}/xz, %{_bindir}/find, %{_bindir}/sed, %{_bindir}/awk, %{_bindir}/grep, %{_bindir}/nm, %{_bindir}/objdump, %{_bindir}/readelf, %{_sbindir}/modinfo, %{_sbindir}/modprobe. Signed-off-by: Eugene Syromiatnikov Resolves: #2135047 --- kernel-srpm-macros.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/kernel-srpm-macros.spec b/kernel-srpm-macros.spec index a3ad983..dcc16e8 100644 --- a/kernel-srpm-macros.spec +++ b/kernel-srpm-macros.spec @@ -58,8 +58,21 @@ Version: 205 Summary: Macros and scripts for building kernel module packages Requires: redhat-rpm-config >= 205 -# for brp-kmod-set-exec-bit +# for brp-kmod-compress +Requires: %{_bindir}/xz +# for brp-kmod-compress, brp-kmod-set-exec-bit Requires: %{_bindir}/find +# for find-provides.ksyms, find-requires.ksyms, kmodtool +Requires: %{_bindir}/sed +# for find-provides.ksyms, find-requires.ksyms +Requires: %{_bindir}/awk +Requires: %{_bindir}/grep +Requires: %{_bindir}/nm +Requires: %{_bindir}/objdump +Requires: %{_bindir}/readelf +# for find-requires.ksyms +Requires: %{_sbindir}/modinfo +Requires: %{_sbindir}/modprobe %description -n kernel-rpm-macros Macros and scripts for building kernel module packages.