From: Prarit Bhargava <prarit@xxxxxxxxxx> redhat/Makefile: Fix dist-brew and distg-brew targets The dist-brew and distg-brew targets are failing because the DIST variable is defined as ".el9 DISTRO=rhel BUILD_TARGET="--scratch rhel-9.1.0-test-pesign"". This occurs because make doesn't allow the setting of multiple variables on one line. Break the variable assignments into separate lines, and fix the dist-brew and distg-brew targets. Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -672,11 +672,15 @@ dist-vr-check: exit 1; \ fi -dist-brew: DIST=.el9 DISTRO=rhel BUILD_TARGET="--scratch rhel-$(RHEL_MAJOR).1.0-test-pesign" +dist-brew: DIST=.el9 +dist-brew: DISTRO=rhel +dist-brew: BUILD_TARGET=--scratch rhel-$(RHEL_MAJOR).1.0-test-pesign dist-brew dist-koji: dist-%: dist-vr-check dist-srpm $* $(BUILD_PROFILE) build $(BUILD_FLAGS) $(BUILD_TARGET) $(SRPMS)/$(RELEASETAG)$(DIST).src.rpm $(OUTPUT_FILE) -distg-brew: DIST=.el9 DISTRO=rhel BUILD_TARGET="--scratch rhel-$(RHEL_MAJOR).1.0-test-pesign" +distg-brew: DIST=.el9 +distg-brew: DISTRO=rhel +distg-brew: BUILD_TARGET=--scratch rhel-$(RHEL_MAJOR).1.0-test-pesign distg-brew distg-koji: distg-%: dist-vr-check $* $(BUILD_PROFILE) build $(BUILD_FLAGS) $(BUILD_TARGET) "$(RHGITURL)?redhat/koji#$(RHGITCOMMIT)" -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1894 _______________________________________________ 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 on the list, report it: https://pagure.io/fedora-infrastructure