From 700ee28bbfe9b50482e6d34734c856f829bbe23f Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 22 Mar 2023 16:55:25 -0700 Subject: Packages: check rpm database for actual provides. Previously, we required an exact non-virtual package, however it's fine if some package has a fully-virtual provides for what we need. --- pkg/rpm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile index b3265eac..93502942 100644 --- a/pkg/rpm/Makefile +++ b/pkg/rpm/Makefile @@ -142,7 +142,7 @@ check-build-depends-%: esac ; \ not_installed= ; \ for pkg in $${pkgs}; do \ - rpm -qi $${pkg} >/dev/null 2>&1 ; \ + rpm -qi --whatprovides $${pkg} >/dev/null 2>&1 ; \ if [ $$? -ne 0 ]; then \ not_installed="$${not_installed} $${pkg}" ; \ fi ; \ -- cgit