From: Don Zickus <[email protected]>

Fix dist-buildcheck-reqs

The check for rpmspec buildrequires wasn't working because of a Makefile
typo.  Verified by deleting known buildreqs.

Signed-off-by: Don Zickus <[email protected]>

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -462,7 +462,7 @@ dist-git-version-check:
        fi
 
 dist-buildreq-check: setup-source
-       @PKGLIST="rpm-build $(rpmspec -q --buildrequires $(SOURCES)/$(SPECFILE) 
| cut -d ' ' -f 1)"; \
+       @PKGLIST="rpm-build $$(rpmspec -q --buildrequires 
$(SOURCES)/$(SPECFILE) | cut -d ' ' -f 1)"; \
        MISSING=""; \
        for pkg in $$PKGLIST; do \
                rpm -q --whatprovides $$pkg >/dev/null || MISSING="$$MISSING 
$$pkg"; \

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1773
_______________________________________________
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]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to