]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
admin/build-doc: support renamed python2 RPMs
authorJason Dillaman <dillaman@redhat.com>
Thu, 4 Jan 2018 14:55:16 +0000 (09:55 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 4 Jan 2018 14:55:16 +0000 (09:55 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
admin/build-doc

index 3796efe6cc1f5305b4cb10071afeb93ff25a19b1..b68f62955ab36fca97d59f775d48ee0e04a16147 100755 (executable)
@@ -21,7 +21,7 @@ if command -v dpkg >/dev/null; then
     fi
 elif command -v yum >/dev/null; then
     for package in python-devel python-pip python-virtualenv doxygen ditaa ant libxml2-devel libxslt-devel Cython graphviz; do
-       if ! rpm -q $package >/dev/null ; then
+       if ! rpm -q --whatprovides $package >/dev/null ; then
                missing="${missing:+$missing }$package"
        fi
     done