# main package definition
#################################################################################
Name: ceph
-Version: 15.2.8
+Version: 15.2.9
Release: 0%{?dist}
%if 0%{?fedora} || 0%{?rhel}
Epoch: 2
Group: System/Filesystems
%endif
URL: http://ceph.com/
-Source0: %{?_remote_tarball_prefix}ceph-15.2.8.tar.bz2
+Source0: %{?_remote_tarball_prefix}ceph-15.2.9.tar.bz2
%if 0%{?suse_version}
# _insert_obs_source_lines_here
ExclusiveArch: x86_64 aarch64 ppc64le s390x
%package -n cephadm
Summary: Utility to bootstrap Ceph clusters
+BuildArch: noarch
Requires: lvm2
-%if 0%{?suse_version}
-Requires: apparmor-abstractions
-%endif
Requires: python%{python3_pkgversion}
%if 0%{?weak_deps}
Recommends: podman
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%if 0%{?weak_deps}
Recommends: nvme-cli
+%if 0%{?suse_version}
+Requires: smartmontools
+%else
Recommends: smartmontools
%endif
+%endif
%description mon
ceph-mon is the cluster monitor daemon for the Ceph distributed file
system. One or more instances of ceph-mon form a Paxos part-time
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
%if 0%{?weak_deps}
Recommends: nvme-cli
+%if 0%{?suse_version}
+Requires: smartmontools
+%else
Recommends: smartmontools
%endif
+%endif
%description osd
ceph-osd is the object storage daemon for the Ceph distributed file
system. It is responsible for storing objects on a local file system
# common
#################################################################################
%prep
-%autosetup -p1 -n ceph-15.2.8
+%autosetup -p1 -n ceph-15.2.9
%build
# LTO can be enabled as soon as the following GCC bug is fixed:
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
# sudoers.d
-install -m 0600 -D sudoers.d/ceph-osd-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-osd-smartctl
+install -m 0440 -D sudoers.d/ceph-osd-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-osd-smartctl
%if 0%{?rhel} >= 8
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/*