Accepting request 572046 from filesystems:ceph:mimic
%bcond_without python2 OBS-URL: https://build.opensuse.org/request/show/572046 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=159
This commit is contained in:
12
ceph.spec
12
ceph.spec
@@ -45,11 +45,7 @@
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%bcond_with python2
|
||||
%else
|
||||
%bcond_without python2
|
||||
%endif
|
||||
%if 0%{without python2}
|
||||
%global _defined_if_python2_absent 1
|
||||
%endif
|
||||
@@ -76,7 +72,7 @@
|
||||
# main package definition
|
||||
#################################################################################
|
||||
Name: ceph
|
||||
Version: 13.0.0.5171+g4d4101fe78
|
||||
Version: 13.0.1.1567+gae149ea5f9
|
||||
Release: 0%{?dist}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Epoch: 2
|
||||
@@ -92,7 +88,7 @@ License: LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
URL: http://ceph.com/
|
||||
Source0: %{?_remote_tarball_prefix}ceph-13.0.0-5171-g4d4101fe78.tar.bz2
|
||||
Source0: %{?_remote_tarball_prefix}ceph-13.0.1-1567-gae149ea5f9.tar.bz2
|
||||
%if 0%{?suse_version}
|
||||
# _insert_obs_source_lines_here
|
||||
%if 0%{?is_opensuse}
|
||||
@@ -829,7 +825,7 @@ python-rbd, python-rgw or python-cephfs instead.
|
||||
# common
|
||||
#################################################################################
|
||||
%prep
|
||||
%autosetup -p1 -n ceph-13.0.0-5171-g4d4101fe78
|
||||
%autosetup -p1 -n ceph-13.0.1-1567-gae149ea5f9
|
||||
|
||||
%build
|
||||
|
||||
@@ -891,6 +887,7 @@ cmake .. \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
|
||||
-DWITH_EMBEDDED=OFF \
|
||||
-DWITH_MANPAGE=ON \
|
||||
-DWITH_SYSTEMD=ON \
|
||||
-DWITH_PYTHON3=ON \
|
||||
%if %{with python2}
|
||||
-DWITH_PYTHON2=ON \
|
||||
@@ -898,7 +895,6 @@ cmake .. \
|
||||
-DWITH_PYTHON2=OFF \
|
||||
-DMGR_PYTHON_VERSION=3 \
|
||||
%endif
|
||||
-DWITH_SYSTEMD=ON \
|
||||
%if 0%{?rhel} && ! 0%{?centos}
|
||||
-DWITH_SUBMAN=ON \
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user