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) <Requires>: 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 <esyr@redhat.com> Resolves: #2135047
This commit is contained in:
parent
cd7e9e8a2f
commit
90757faf53
@ -58,8 +58,21 @@ Version: 205
|
|||||||
Summary: Macros and scripts for building kernel module packages
|
Summary: Macros and scripts for building kernel module packages
|
||||||
Requires: redhat-rpm-config >= 205
|
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
|
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
|
%description -n kernel-rpm-macros
|
||||||
Macros and scripts for building kernel module packages.
|
Macros and scripts for building kernel module packages.
|
||||||
|
Loading…
Reference in New Issue
Block a user