From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3585#note_2289936602 Sorry for the cut-and-paste but does this resolve the problem? ` diff --git a/redhat/Makefile b/redhat/Makefile index b10a440c4229..44885f99b44d 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -184,6 +184,7 @@ endif UPSTREAM:=$(shell $(GIT) rev-parse -q --verify origin/$(UPSTREAM_BRANCH) || \ $(GIT) rev-parse -q --verify $(UPSTREAM_BRANCH)) +ifeq ($(filter dist-full-help dist-help dist-help-% dist- helper-%,$(MAKECMDGOALS)),) ifneq ("$(wildcard $(TOPDIR)/localversion-next)", "") # we are building linux-next MARKER:=$(shell $(GIT) describe $(UPSTREAM)) @@ -246,6 +247,7 @@ else endif endif endif +endif # This section contains the variables that represent the kernel rpm's NVR. # The NVR looks like, for example, kernel-5.17.0-0.rc8.551acdc3c3d2.124.test.fc35. ` -- _______________________________________________ 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 Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue