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.
This commit is contained in:
Konstantin Pavlov
2023-03-22 16:55:25 -07:00
parent 6e16d7ac5b
commit 700ee28bbf

View File

@@ -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 ; \