Accepting request 578435 from filesystems:ceph:mimic
bsc#1081836 OBS-URL: https://build.opensuse.org/request/show/578435 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=167
This commit is contained in:
@@ -45,7 +45,11 @@
|
||||
%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
|
||||
@@ -72,7 +76,7 @@
|
||||
# main package definition
|
||||
#################################################################################
|
||||
Name: ceph-test
|
||||
Version: 13.0.1.1987+g4a523803f8
|
||||
Version: 13.0.1.2078+g85df538001
|
||||
Release: 0%{?dist}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Epoch: 2
|
||||
@@ -88,7 +92,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.1-1987-g4a523803f8.tar.bz2
|
||||
Source0: %{?_remote_tarball_prefix}ceph-13.0.1-2078-g85df538001.tar.bz2
|
||||
%if 0%{?suse_version}
|
||||
Source96: checkin.sh
|
||||
Source97: README-checkin.txt
|
||||
@@ -393,7 +397,7 @@ This package contains Ceph benchmarks and test tools.
|
||||
%endif
|
||||
%endif
|
||||
%prep
|
||||
%autosetup -p1 -n ceph-13.0.1-1987-g4a523803f8
|
||||
%autosetup -p1 -n ceph-13.0.1-2078-g85df538001
|
||||
|
||||
%build
|
||||
|
||||
@@ -455,7 +459,6 @@ cmake .. \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
|
||||
-DWITH_EMBEDDED=OFF \
|
||||
-DWITH_MANPAGE=ON \
|
||||
-DWITH_SYSTEMD=ON \
|
||||
-DWITH_PYTHON3=ON \
|
||||
%if %{with python2}
|
||||
-DWITH_PYTHON2=ON \
|
||||
@@ -463,6 +466,7 @@ 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