Skip to content

Instantly share code, notes, and snippets.

@nishigori
Created August 6, 2021 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishigori/d4b9aa50dd12de1df1000c17008f8e33 to your computer and use it in GitHub Desktop.
Save nishigori/d4b9aa50dd12de1df1000c17008f8e33 to your computer and use it in GitHub Desktop.
Patch of kernel-5.10.50-44.132.amzn2.src.rpm
--- source/kernel.spec 2021-08-06 05:35:19.202753004 +0000
+++ nishigori/kernel.spec 2021-08-06 06:09:24.573573006 +0000
@@ -707,10 +707,12 @@ AutoReqProv: no\
%if ! 0%{?fedora}\
Requires(pre): %{_bindir}/find\
Requires(post): %{_sbindir}/hardlink\
+Requires: gcc\
+%else\
+Requires: gcc10\
%endif\
Requires: perl\
Requires: elfutils-libelf-devel\
-Requires: gcc10\
%if "%{_gccver}" > "7"\
Provides: buildrequires(gcc) = %{_gccver}\
%endif\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment