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:
@@ -142,7 +142,7 @@ check-build-depends-%:
|
|||||||
esac ; \
|
esac ; \
|
||||||
not_installed= ; \
|
not_installed= ; \
|
||||||
for pkg in $${pkgs}; do \
|
for pkg in $${pkgs}; do \
|
||||||
rpm -qi $${pkg} >/dev/null 2>&1 ; \
|
rpm -qi --whatprovides $${pkg} >/dev/null 2>&1 ; \
|
||||||
if [ $$? -ne 0 ]; then \
|
if [ $$? -ne 0 ]; then \
|
||||||
not_installed="$${not_installed} $${pkg}" ; \
|
not_installed="$${not_installed} $${pkg}" ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
|
|||||||
Reference in New Issue
Block a user