mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
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 <jmulligan@redhat.com>
This commit is contained in:
parent
3981d3d384
commit
d141ce597d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user