summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorArend van Spriel <arend.vanspriel@broadcom.com>2023-01-11 11:11:56 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2023-01-11 20:42:34 +0900
commit169dd78043f7f4eabdef8d7ba0d4ddffe5cb3930 (patch)
tree03ffd3de45d7fab10e18ee37ee062f212e88ecba /scripts
parent0f9c608d4a1eb852d6769d2fc5906c71c02565ae (diff)
downloadlinux-169dd78043f7f4eabdef8d7ba0d4ddffe5cb3930.tar.bz2
scripts: rpm: make clear that mkspec script contains 4.13 feature
A fix was made in the mkspec script that uses a feature, ie. the OR expression, which requires RPM 4.13. However, the script indicates another minimum version. Lower versions may have success by using the --no-deps option as suggested, but feels like bumping the version to 4.13 is reasonable as it put me on the wrong track at first with RPM 4.11 on my Centos7 machine. Fixes: 02a893bc9975 ("kbuild: rpm-pkg: add libelf-devel as alternative for BuildRequires") Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package/mkspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index adab28fa7f89..094e52c979a8 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Output a simple RPM spec file.
-# This version assumes a minimum of RPM 4.0.3.
+# This version assumes a minimum of RPM 4.13
#
# The only gothic bit here is redefining install_post to avoid
# stripping the symbols from files in the kernel which we want