Skip to content

Commit

Permalink
scripts: rpm: make clear that mkspec script contains 4.13 feature
Browse files Browse the repository at this point in the history
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: 02a893b ("kbuild: rpm-pkg: add libelf-devel as alternative for BuildRequires")
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
Arend van Spriel authored and masahir0y committed Jan 11, 2023
1 parent 0f9c608 commit 169dd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/mkspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 169dd78

Please sign in to comment.