Hi Fedora kernel maintainers! Could you please consider applying below
small tweak to kernel.spec (all branches, ideally) the next time you
change it? A change like this would be helpful for the Kernel vanilla
repositories, as "git am" afaics will endlessly wait for input from
STDIN right now if "%{patches}" is empty – which is the case currently
if one sets "nopatches 1" in the spec file :-/

tia! Ciao, Thorsten


diff --git a/kernel.spec b/kernel.spec
index e98df4a..ef4f76e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1536,9 +1536,11 @@ ApplyPatch %{stable_patch_01}
 %endif

 # Note: Even in the "nopatches" path some patches (build tweaks and compile
-# fixes) will always get applied; see patch defition above for details
+# fixes) might get applied; see patch defition above for details

+%if 0%{?patches}
 git am %{patches}
+%endif

 # END OF PATCH APPLICATIONS
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to