From: John Mulligan Date: Wed, 20 Mar 2024 18:08:24 +0000 (-0400) Subject: ceph.spec.in: add smb module and python-dataclasses dependency X-Git-Tag: testing/wip-pdonnell-testing-20240503.010653-debug~22^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d141ce597d480537fcd5935df0414fca0aef0174;p=ceph-ci.git ceph.spec.in: add smb module and python-dataclasses dependency The only distro ceph squid+ is building for at the moment that does not already have a python version that includes dataclasses is centos/rhel 8. Add a dependency for the backport package on rhel8. Signed-off-by: John Mulligan --- diff --git a/ceph.spec.in b/ceph.spec.in index b65f6971fbd..653c9297202 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -739,6 +739,11 @@ Requires: python%{python3_pkgversion}-CherryPy Requires: python%{python3_pkgversion}-PyYAML Requires: python%{python3_pkgversion}-Werkzeug %endif +# RHEL8 has python 3.6 and that lacks dataclasses in the stdlib, so pull in the +# backport dataclasses module instead. +%if 0%{?rhel} <= 8 +Requires: python%{python3_pkgversion}-dataclasses +%endif %if 0%{?weak_deps} Recommends: ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release} %endif @@ -1981,6 +1986,7 @@ fi %{_datadir}/ceph/mgr/restful %{_datadir}/ceph/mgr/rgw %{_datadir}/ceph/mgr/selftest +%{_datadir}/ceph/mgr/smb %{_datadir}/ceph/mgr/snap_schedule %{_datadir}/ceph/mgr/stats %{_datadir}/ceph/mgr/status