From: Jan Stancek jstancek@redhat.com
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@redhat.com
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@lists.fedoraproject.org