]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec: declare PyYAML and Jinja2 Requires for cephadm RPM 68368/head
authorKobi Ginon <kginon@redhat.com>
Wed, 20 May 2026 13:09:53 +0000 (16:09 +0300)
committerKobi Ginon <kginon@redhat.com>
Thu, 4 Jun 2026 00:06:06 +0000 (03:06 +0300)
commit33c1d671dea1cfe92e76a2d8dae649976ff22bf2
tree4ab96dd6adf9850d7e8eaf8c5cb13db5197df85d
parentdeb4a915e7c173b7b533e6c6e5978a92404b3fc1
ceph.spec: declare PyYAML and Jinja2 Requires for cephadm RPM

cephadm's zipapp imports yaml and jinja2. When the package is built
with cephadm_bundling and RPM-sourced deps (--without cephadm_pip_deps),
only BuildRequires were listed for jinja2 and no runtime Requires were
declared for PyYAML or Jinja2, so minimal "dnf install cephadm" could
fail with ModuleNotFoundError. The unbundled cephadm case also lacked
PyYAML.

Add matching BuildRequires/Requires in the rpm-bundle branch and
Requires (plus SUSE naming for Jinja2/PyYAML) in the no-bundle branch.

Fixes: https://tracker.ceph.com/issues/75389
Signed-off-by: Kobi Ginon <kginon@redhat.com>
ceph.spec.in