]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
install-deps.sh: install python3-devel for python related rpm macros
authorKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 02:40:53 +0000 (10:40 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 03:00:52 +0000 (11:00 +0800)
commit7a93cb2ba0e2e7bc5bfaca607764907250ca8178
treeba0f311bc48f1ae0f7c8e53aa063d8526c91bda0
parentfb6290b1fab0bd8a73043f2d68210c010e2fb425
install-deps.sh: install python3-devel for python related rpm macros

python3-devel depends on python-rpm-macros, which in turn depends on
python-srpm-macros. the latter offers `python3_pkgversion` macro, which
is necessary for prepare the build dependencies of rpm packages.

this change avoids the unnecessary `$yumdnf` calls, and to simplify the
code.

Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh