diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-03-22 16:55:25 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-03-22 16:55:25 -0700 |
commit | 700ee28bbfe9b50482e6d34734c856f829bbe23f (patch) | |
tree | 377ab067d82144ca3c15436199837ff6ecddc49d /pkg | |
parent | 6e16d7ac5bb86140a55ea30a35c69ee0df3eff8d (diff) | |
download | unit-700ee28bbfe9b50482e6d34734c856f829bbe23f.tar.gz unit-700ee28bbfe9b50482e6d34734c856f829bbe23f.tar.bz2 |
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.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/rpm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 ; \ |