scripts: rpm: make clear that mkspec script contains 4.13 feature
authorArend van Spriel <arend.vanspriel@broadcom.com>
Wed, 11 Jan 2023 10:11:56 +0000 (11:11 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 11 Jan 2023 11:42:34 +0000 (20:42 +0900)
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>
scripts/package/mkspec

index adab28fa7f892f1704e498530f01ae3a69d5a05a..094e52c979a8cdbea1af95da6fcba93104e82ff4 100755 (executable)
@@ -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