# - package sphinx docs (from doc/)
#
# Note on versioning: http://docs.ceph.com/docs/master/releases/
+# Reef (18.1.2) is in RC stage currently
#
# Conditional build:
%bcond_without java # Java binding
Summary: User space components of the Ceph file system
Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph
Name: ceph
-Version: 17.2.5
+Version: 17.2.7
Release: 1
License: LGPL v2.1 (libraries), GPL v2 (some programs)
Group: Base
Source0: http://download.ceph.com/tarballs/%{name}-%{version}.tar.gz
-# Source0-md5: e331cea04680ea8ff982a58c516d7611
+# Source0-md5: 843fb59f95f62e0e156539e49a2a3a9a
Source1: ceph.sysconfig
Source3: ceph.tmpfiles
Patch0: %{name}-python.patch
%{?with_kerberos:BuildRequires: heimdal-devel}
%{?with_seastar:BuildRequires: hwloc-devel >= 1.11.2}
%if %{with java}
-%{?use_jdk:%buildrequires_jdk}%{!?use_jdk:BuildRequires: jdk}
+%buildrequires_jdk
BuildRequires: %{?use_jdk:%{use_jdk}-jre-base-X11}%{!?use_jdk:jre-X11}
%endif
BuildRequires: keyutils-devel
BuildRequires: python3-Cython
BuildRequires: python3-PyYAML
BuildRequires: python3-devel >= 1:3.2
+BuildRequires: python3-modules >= 1:3.2
%{?with_tests:BuildRequires: python3-tox >= 2.9.1}
BuildRequires: rabbitmq-c-devel
%{?with_seastar:BuildRequires: ragel >= 6.10}
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ceph.conf
%if %{without tests}
-%{__rm} $RPM_BUILD_ROOT%{_javadir}/libcephfs-test.jar
%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/{ceph,ceph_volume}/tests
%endif