9191%bcond_with lua_packages
9292%endif
9393%endif
94- %bcond_with seastar
94+ %bcond_with crimson
9595%if 0%{?suse_version} || 0%{?openEuler}
9696%bcond_with jaeger
9797%else
150150%{!?python3_pkgversion: %global python3_pkgversion 3}
151151%{!?python3_version_nodots: %global python3_version_nodots 3}
152152%{!?python3_version: %global python3_version 3}
153- %if 0%{with seastar }
153+ %if 0%{with crimson }
154154%{!?gts_version: %global gts_version 13}
155155%else
156156%if 0%{?rhel} == 8
@@ -325,7 +325,7 @@ BuildRequires: xmlstarlet
325325BuildRequires: nasm
326326BuildRequires: lua-devel
327327BuildRequires: lmdb-devel
328- %if 0%{with seastar } || 0%{with jaeger}
328+ %if 0%{with crimson } || 0%{with jaeger}
329329BuildRequires: yaml-cpp-devel >= 0.6
330330%endif
331331%if 0%{with amqp_endpoint}
@@ -387,7 +387,7 @@ BuildRequires: utf8proc-devel
387387BuildRequires: qatlib-devel
388388BuildRequires: qatzip-devel
389389%endif
390- %if 0%{with seastar }
390+ %if 0%{with crimson }
391391BuildRequires: c-ares-devel
392392BuildRequires: gnutls-devel
393393BuildRequires: hwloc-devel
@@ -514,7 +514,7 @@ BuildRequires: redhat-rpm-config
514514%if 0%{?openEuler}
515515BuildRequires: openEuler-rpm-config
516516%endif
517- %if 0%{with seastar }
517+ %if 0%{with crimson }
518518%if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler}
519519BuildRequires: cryptopp-devel
520520%endif
@@ -943,7 +943,7 @@ Provides: ceph-test:/usr/bin/ceph-osdomap-tool
943943Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
944944Requires: sudo
945945Requires: libstoragemgmt
946- %if 0%{with seastar }
946+ %if 0%{with crimson }
947947Requires: protobuf
948948%endif
949949%if 0%{?weak_deps}
@@ -954,7 +954,7 @@ ceph-osd is the object storage daemon for the Ceph distributed file
954954system. It is responsible for storing objects on a local file system
955955and providing access to them over the network.
956956
957- %if 0%{with seastar }
957+ %if 0%{with crimson }
958958%package crimson-osd
959959Summary: Ceph Object Storage Daemon (crimson)
960960%if 0%{?suse_version}
@@ -1431,7 +1431,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
14311431export CXXFLAGS="$RPM_OPT_FLAGS"
14321432export LDFLAGS="$RPM_LD_FLAGS"
14331433
1434- %if 0%{with seastar }
1434+ %if 0%{with crimson }
14351435# seastar uses longjmp() to implement coroutine. and this annoys longjmp_chk()
14361436export CXXFLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g')
14371437# remove from CFLAGS too because it causes the arrow submodule to fail with:
@@ -1543,8 +1543,8 @@ cmake .. \
15431543 -DWITH_SYSTEM_QATLIB:BOOL=ON \
15441544 -DWITH_SYSTEM_QATZIP:BOOL=ON \
15451545%endif
1546- %if 0%{with seastar }
1547- -DWITH_SEASTAR :BOOL=ON \
1546+ %if 0%{with crimson }
1547+ -DWITH_CRIMSON :BOOL=ON \
15481548 -DWITH_JAEGER:BOOL=OFF \
15491549%endif
15501550 -DWITH_GRAFANA:BOOL=ON \
@@ -1591,7 +1591,7 @@ pushd %{_vpath_builddir}
15911591rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
15921592popd
15931593
1594- %if 0%{with seastar }
1594+ %if 0%{with crimson }
15951595# package crimson-osd with the name of ceph-osd
15961596install -m 0755 %{buildroot}%{_bindir}/crimson-osd %{buildroot}%{_bindir}/ceph-osd
15971597%endif
@@ -2364,7 +2364,7 @@ if [ $1 -ge 1 ] ; then
23642364 fi
23652365fi
23662366
2367- %if 0%{with seastar }
2367+ %if 0%{with crimson }
23682368%files crimson-osd
23692369%{_bindir}/crimson-osd
23702370%endif
26142614%{_bindir}/ceph-debugpack
26152615%{_bindir}/ceph-dedup-tool
26162616%{_bindir}/ceph-dedup-daemon
2617- %if 0%{with seastar }
2617+ %if 0%{with crimson }
26182618%{_bindir}/crimson-store-nbd
26192619%endif
26202620%{_mandir}/man8/ceph-debugpack.8*
0 commit comments