On Mon, Dec 16, 2019 at 7:39 AM Thorsten Leemhuis <fedora@xxxxxxxxxxxxx> wrote: > 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 This does not build as is for the default case. Justin > > > 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 -- kernel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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/kernel@xxxxxxxxxxxxxxxxxxxxxxx > _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/kernel@xxxxxxxxxxxxxxxxxxxxxxx