From: Jan Stancek <jstancek@xxxxxxxxxx> redhat: strip leading '(' in dist-get-buildreqs Quick fix for dist-get-buildreqs to strip '(' from '(python3-wheel', until we find a way a better way to support rich dependencies in BuildRequires. Signed-off-by: Jan Stancek <jstancek@xxxxxxxxxx> diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -642,7 +642,7 @@ dist-git-version-check: dist-get-buildreqs: ##misc returns list of packages listed as build requirements for this kernel. dist-get-buildreqs: 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 | sed 's/^(//' )"; \ MISSING=""; \ for pkg in $$PKGLIST; do \ rpm -q --whatprovides $$pkg >/dev/null || MISSING="$$MISSING $$pkg"; \ -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3826 -- _______________________________________________ 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