2023-05-24 08:31:23 +02:00
|
|
|
#!BuildConstraint: hardware:memory:size unit=G 10
|
|
|
|
#!BuildConstraint: hardware:disk:size unit=G 60
|
2016-07-22 19:22:52 +02:00
|
|
|
#
|
2022-06-10 01:53:56 +02:00
|
|
|
# spec file for package ceph
|
2016-07-22 19:22:52 +02:00
|
|
|
#
|
2019-03-15 15:24:05 +01:00
|
|
|
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
|
2016-07-22 19:22:52 +02:00
|
|
|
# at the top-level directory of this distribution and at
|
|
|
|
# https://github.com/ceph/ceph/blob/master/COPYING
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
2022-06-03 06:40:02 +02:00
|
|
|
# upon.
|
|
|
|
#
|
|
|
|
# This file is under the GNU Lesser General Public License, version 2.1
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://tracker.ceph.com/
|
2019-03-04 15:42:13 +01:00
|
|
|
#
|
2022-04-05 21:52:03 +02:00
|
|
|
|
2022-06-03 06:40:02 +02:00
|
|
|
#################################################################################
|
|
|
|
# conditional build section
|
|
|
|
#
|
|
|
|
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
|
|
|
|
# bcond syntax!
|
|
|
|
#################################################################################
|
2016-07-22 19:22:52 +02:00
|
|
|
%bcond_with make_check
|
2021-01-28 09:39:34 +01:00
|
|
|
%bcond_with zbd
|
2020-02-25 14:02:33 +01:00
|
|
|
%bcond_with cmake_verbose_logging
|
2019-11-21 18:07:01 +01:00
|
|
|
%bcond_without ceph_test_package
|
|
|
|
%bcond_with minimal_debugging_information
|
2021-04-12 10:49:40 +02:00
|
|
|
%ifarch s390
|
2016-08-26 15:55:14 +02:00
|
|
|
%bcond_with tcmalloc
|
2017-05-26 07:23:11 +02:00
|
|
|
%else
|
|
|
|
%bcond_without tcmalloc
|
2016-08-26 15:55:14 +02:00
|
|
|
%endif
|
2022-07-13 07:36:54 +02:00
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
%bcond_without system_pmdk
|
|
|
|
%else
|
2022-03-09 03:42:18 +01:00
|
|
|
%bcond_with system_pmdk
|
2022-07-13 07:36:54 +02:00
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%bcond_without selinux
|
2021-03-25 18:12:39 +01:00
|
|
|
%ifarch x86_64 ppc64le
|
|
|
|
%bcond_without rbd_rwl_cache
|
|
|
|
%bcond_without rbd_ssd_cache
|
|
|
|
%else
|
|
|
|
%bcond_with rbd_rwl_cache
|
|
|
|
%bcond_with rbd_ssd_cache
|
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{?rhel} >= 8
|
|
|
|
%bcond_with cephfs_java
|
|
|
|
%else
|
2017-11-25 16:48:00 +01:00
|
|
|
%bcond_without cephfs_java
|
2019-11-21 18:07:01 +01:00
|
|
|
%endif
|
|
|
|
%bcond_without amqp_endpoint
|
2020-02-03 14:06:48 +01:00
|
|
|
%bcond_without kafka_endpoint
|
2018-01-27 07:05:44 +01:00
|
|
|
%bcond_without lttng
|
2018-10-26 04:49:15 +02:00
|
|
|
%bcond_without libradosstriper
|
2019-03-19 13:42:08 +01:00
|
|
|
%bcond_without ocf
|
2021-09-22 02:58:23 +02:00
|
|
|
%global luarocks_package_name luarocks
|
|
|
|
%bcond_without lua_packages
|
2017-11-26 14:01:19 +01:00
|
|
|
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
2019-02-27 19:05:19 +01:00
|
|
|
%bcond_with amqp_endpoint
|
2020-05-19 17:53:47 +02:00
|
|
|
%bcond_with cephfs_java
|
2020-02-03 14:06:48 +01:00
|
|
|
%bcond_with kafka_endpoint
|
2018-10-26 04:49:15 +02:00
|
|
|
%bcond_with libradosstriper
|
2019-02-27 19:05:19 +01:00
|
|
|
%ifarch x86_64 aarch64 ppc64le
|
2016-07-22 19:22:52 +02:00
|
|
|
%bcond_without lttng
|
2021-03-25 18:12:39 +01:00
|
|
|
%bcond_without rbd_rwl_cache
|
|
|
|
%bcond_without rbd_ssd_cache
|
2017-11-25 16:48:00 +01:00
|
|
|
%else
|
|
|
|
%bcond_with lttng
|
2021-03-25 18:12:39 +01:00
|
|
|
%bcond_with rbd_rwl_cache
|
|
|
|
%bcond_with rbd_ssd_cache
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2020-05-19 17:53:47 +02:00
|
|
|
%bcond_with ocf
|
|
|
|
%bcond_with selinux
|
|
|
|
#Compat macro for _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
|
|
|
%global _fillupdir /var/adm/fillup-templates
|
|
|
|
%endif
|
2021-09-22 02:58:23 +02:00
|
|
|
#luarocks
|
|
|
|
%if 0%{?is_opensuse}
|
|
|
|
# openSUSE
|
|
|
|
%bcond_without lua_packages
|
|
|
|
%if 0%{?sle_version}
|
|
|
|
# openSUSE Leap
|
|
|
|
%global luarocks_package_name lua53-luarocks
|
|
|
|
%else
|
|
|
|
# openSUSE Tumbleweed
|
|
|
|
%global luarocks_package_name lua54-luarocks
|
|
|
|
%endif
|
|
|
|
%else
|
|
|
|
# SLE
|
|
|
|
%bcond_with lua_packages
|
|
|
|
%endif
|
2016-08-19 19:45:38 +02:00
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%bcond_with seastar
|
2021-01-28 09:39:34 +01:00
|
|
|
%bcond_with jaeger
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{?fedora} || 0%{?suse_version} >= 1500
|
|
|
|
# distros that ship cmd2 and/or colorama
|
|
|
|
%bcond_without cephfs_shell
|
|
|
|
%else
|
|
|
|
# distros that do _not_ ship cmd2/colorama
|
|
|
|
%bcond_with cephfs_shell
|
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
|
2019-11-21 18:07:01 +01:00
|
|
|
%global weak_deps 1
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if %{with selinux}
|
|
|
|
# get selinux policy version
|
2020-02-25 14:02:33 +01:00
|
|
|
# Force 0.0.0 policy version for centos builds to avoid repository sync issues between rhel and centos
|
|
|
|
%if 0%{?centos}
|
|
|
|
%global _selinux_policy_version 0.0.0
|
|
|
|
%else
|
2017-11-25 16:48:00 +01:00
|
|
|
%{!?_selinux_policy_version: %global _selinux_policy_version 0.0.0}
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
|
|
|
|
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
|
|
|
|
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
|
2016-08-26 15:55:14 +02:00
|
|
|
%{!?python3_pkgversion: %global python3_pkgversion 3}
|
2019-11-21 18:07:01 +01:00
|
|
|
%{!?python3_version_nodots: %global python3_version_nodots 3}
|
2019-04-30 11:44:22 +02:00
|
|
|
%{!?python3_version: %global python3_version 3}
|
2016-07-22 19:22:52 +02:00
|
|
|
|
2017-03-22 12:41:30 +01:00
|
|
|
# disable dwz which compresses the debuginfo
|
|
|
|
%global _find_debuginfo_dwz_opts %{nil}
|
2017-06-05 11:29:59 +02:00
|
|
|
|
2022-07-13 07:36:54 +02:00
|
|
|
%if 0%{with seastar}
|
|
|
|
# disable -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1, as gcc-toolset-{9,10}-annobin
|
|
|
|
# do not provide gcc-annobin.so anymore, despite that they provide annobin.so. but
|
|
|
|
# redhat-rpm-config still passes -fplugin=gcc-annobin to the compiler.
|
|
|
|
%undefine _annotated_build
|
|
|
|
%endif
|
|
|
|
|
2016-07-22 19:22:52 +02:00
|
|
|
#################################################################################
|
2017-03-22 12:41:30 +01:00
|
|
|
# main package definition
|
2016-07-22 19:22:52 +02:00
|
|
|
#################################################################################
|
2022-06-03 06:40:02 +02:00
|
|
|
Name: ceph-test
|
2023-05-12 00:51:50 +02:00
|
|
|
Version: 16.2.13.66+g54799ee0666
|
2022-06-03 06:40:02 +02:00
|
|
|
Release: 0%{?dist}
|
2017-06-05 11:29:59 +02:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
2019-03-04 15:42:13 +01:00
|
|
|
Epoch: 2
|
2017-06-05 11:29:59 +02:00
|
|
|
%endif
|
|
|
|
|
2017-11-25 16:48:00 +01:00
|
|
|
# define _epoch_prefix macro which will expand to the empty string if epoch is
|
|
|
|
# undefined
|
2019-03-04 15:42:13 +01:00
|
|
|
%global _epoch_prefix %{?epoch:%{epoch}:}
|
2017-06-05 11:29:59 +02:00
|
|
|
|
2022-06-03 06:40:02 +02:00
|
|
|
Summary: Ceph benchmarks and test tools
|
|
|
|
License: LGPL-2.1 and LGPL-3.0 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
|
2019-03-04 12:50:56 +01:00
|
|
|
%if 0%{?suse_version}
|
2022-06-03 06:40:02 +02:00
|
|
|
Group: System/Filesystems
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2022-06-03 06:40:02 +02:00
|
|
|
URL: http://ceph.com/
|
2023-05-12 00:51:50 +02:00
|
|
|
Source0: %{?_remote_tarball_prefix}ceph-16.2.13-66-g54799ee0666.tar.bz2
|
2017-11-25 18:56:36 +01:00
|
|
|
%if 0%{?suse_version}
|
2022-06-03 06:40:02 +02:00
|
|
|
Source94: ceph-rpmlintrc
|
|
|
|
Source95: checkin.sh
|
|
|
|
Source96: pre_checkin.sh
|
|
|
|
Source97: README-ceph-test.txt
|
|
|
|
Source98: README-checkin.txt
|
|
|
|
Source99: README-packaging.txt
|
2017-11-25 17:38:36 +01:00
|
|
|
# _insert_obs_source_lines_here
|
2022-06-03 06:40:02 +02:00
|
|
|
ExclusiveArch: x86_64
|
2016-08-15 12:32:01 +02:00
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
#################################################################################
|
|
|
|
# dependencies that apply across all distro families
|
|
|
|
#################################################################################
|
|
|
|
|
2022-06-03 06:40:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: ceph-common
|
|
|
|
Requires: xmlstarlet
|
|
|
|
Requires: jq
|
|
|
|
Requires: socat
|
|
|
|
Requires(post): binutils
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with cephfs_java}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: java-devel
|
|
|
|
BuildRequires: sharutils
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{with selinux}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: checkpolicy
|
|
|
|
BuildRequires: selinux-policy-devel
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: gperf
|
2018-10-26 04:49:15 +02:00
|
|
|
BuildRequires: cmake > 3.5
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: cryptsetup
|
|
|
|
BuildRequires: fuse-devel
|
2020-08-28 15:42:54 +02:00
|
|
|
%if 0%{with seastar}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: gcc-toolset-9-gcc-c++ >= 9.2.1-2.3
|
2018-01-27 07:05:44 +01:00
|
|
|
%else
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: gcc-c++
|
2018-01-27 07:05:44 +01:00
|
|
|
%endif
|
2016-08-26 15:55:14 +02:00
|
|
|
%if 0%{with tcmalloc}
|
2021-04-12 10:49:40 +02:00
|
|
|
# libprofiler did not build on ppc64le until 2.7.90
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: gperftools-devel >= 2.7.90
|
2021-04-12 10:49:40 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: gperftools-devel >= 2.6.1
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: gperftools-devel >= 2.4
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: leveldb-devel > 1.2
|
|
|
|
BuildRequires: libaio-devel
|
|
|
|
BuildRequires: libblkid-devel >= 2.17
|
|
|
|
BuildRequires: cryptsetup-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libcap-ng-devel
|
|
|
|
BuildRequires: fmt-devel >= 5.2.1
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
BuildRequires: libnl3-devel
|
|
|
|
BuildRequires: liboath-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: parted
|
|
|
|
BuildRequires: patch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: pkgconfig
|
2016-07-22 19:22:52 +02:00
|
|
|
BuildRequires: procps
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: python%{python3_pkgversion}
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: snappy-devel
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
BuildRequires: sudo
|
|
|
|
BuildRequires: pkgconfig(udev)
|
|
|
|
BuildRequires: util-linux
|
|
|
|
BuildRequires: valgrind-devel
|
|
|
|
BuildRequires: which
|
|
|
|
BuildRequires: xfsprogs
|
|
|
|
BuildRequires: xfsprogs-devel
|
|
|
|
BuildRequires: xmlstarlet
|
|
|
|
BuildRequires: nasm
|
|
|
|
BuildRequires: lua-devel
|
2019-02-27 19:05:19 +01:00
|
|
|
%if 0%{with amqp_endpoint}
|
|
|
|
BuildRequires: librabbitmq-devel
|
|
|
|
%endif
|
2020-02-03 14:06:48 +01:00
|
|
|
%if 0%{with kafka_endpoint}
|
|
|
|
BuildRequires: librdkafka-devel
|
|
|
|
%endif
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{with lua_packages}
|
|
|
|
BuildRequires: %{luarocks_package_name}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with make_check}
|
2019-02-27 19:05:19 +01:00
|
|
|
BuildRequires: jq
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-bcrypt
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pecan
|
|
|
|
BuildRequires: python%{python3_pkgversion}-requests
|
|
|
|
BuildRequires: python%{python3_pkgversion}-dateutil
|
|
|
|
BuildRequires: python%{python3_pkgversion}-coverage
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
|
|
|
BuildRequires: socat
|
2018-10-26 04:49:15 +02:00
|
|
|
%endif
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{with zbd}
|
|
|
|
BuildRequires: libzbd-devel
|
|
|
|
%endif
|
|
|
|
%if 0%{with jaeger}
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
BuildRequires: json-devel
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: nlohmann_json-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: libevent-devel
|
|
|
|
BuildRequires: yaml-cpp-devel
|
|
|
|
%endif
|
2022-03-09 03:42:18 +01:00
|
|
|
%if 0%{with system_pmdk}
|
2021-03-25 18:12:39 +01:00
|
|
|
BuildRequires: libpmem-devel
|
|
|
|
BuildRequires: libpmemobj-devel
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with seastar}
|
|
|
|
BuildRequires: c-ares-devel
|
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
BuildRequires: hwloc-devel
|
|
|
|
BuildRequires: libpciaccess-devel
|
|
|
|
BuildRequires: lksctp-tools-devel
|
|
|
|
BuildRequires: protobuf-devel
|
|
|
|
BuildRequires: ragel
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
BuildRequires: yaml-cpp-devel
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{?fedora}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: libubsan
|
2020-08-28 15:42:54 +02:00
|
|
|
BuildRequires: libasan
|
2021-01-28 09:39:34 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{?rhel}
|
2020-08-28 15:42:54 +02:00
|
|
|
BuildRequires: gcc-toolset-9-annobin
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: gcc-toolset-9-libubsan-devel
|
2020-08-28 15:42:54 +02:00
|
|
|
BuildRequires: gcc-toolset-9-libasan-devel
|
|
|
|
BuildRequires: gcc-toolset-9-libatomic-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
#################################################################################
|
|
|
|
# distro-conditional dependencies
|
|
|
|
#################################################################################
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2016-07-22 19:22:52 +02:00
|
|
|
%{?systemd_requires}
|
2022-06-03 06:40:02 +02:00
|
|
|
PreReq: %fillup_prereq
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: net-tools
|
|
|
|
BuildRequires: libbz2-devel
|
|
|
|
BuildRequires: mozilla-nss-devel
|
|
|
|
BuildRequires: keyutils-devel
|
2016-07-22 19:22:52 +02:00
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: openldap2-devel
|
2019-02-27 19:05:19 +01:00
|
|
|
#BuildRequires: krb5
|
|
|
|
#BuildRequires: krb5-devel
|
2018-04-12 04:26:44 +02:00
|
|
|
BuildRequires: cunit-devel
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Cython
|
|
|
|
BuildRequires: python%{python3_pkgversion}-PrettyTable
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Sphinx
|
2017-05-26 07:23:11 +02:00
|
|
|
BuildRequires: rdma-core-devel
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: liblz4-devel >= 1.7
|
2019-05-13 14:43:24 +02:00
|
|
|
# for prometheus-alerts
|
|
|
|
BuildRequires: golang-github-prometheus-prometheus
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2017-08-04 19:28:47 +02:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
2016-07-22 19:22:52 +02:00
|
|
|
|
|
|
|
BuildRequires: boost-random
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: nss-devel
|
|
|
|
BuildRequires: keyutils-libs-devel
|
2023-05-12 00:51:50 +02:00
|
|
|
BuildRequires: libatomic
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: libibverbs-devel
|
2018-10-26 04:49:15 +02:00
|
|
|
BuildRequires: librdmacm-devel
|
2016-07-22 19:22:52 +02:00
|
|
|
BuildRequires: openldap-devel
|
2019-02-27 19:05:19 +01:00
|
|
|
#BuildRequires: krb5-devel
|
2019-03-04 12:50:56 +01:00
|
|
|
BuildRequires: openssl-devel
|
2019-03-04 15:42:13 +01:00
|
|
|
BuildRequires: CUnit-devel
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Cython
|
|
|
|
BuildRequires: python%{python3_pkgversion}-prettytable
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
|
|
|
BuildRequires: lz4-devel >= 1.7
|
2019-02-27 19:05:19 +01:00
|
|
|
%endif
|
2018-01-27 07:05:44 +01:00
|
|
|
# distro-conditional make check dependencies
|
|
|
|
%if 0%{with make_check}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: golang
|
2020-02-03 14:06:48 +01:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: golang-github-prometheus
|
|
|
|
BuildRequires: libtool-ltdl-devel
|
|
|
|
BuildRequires: xmlsec1
|
|
|
|
BuildRequires: xmlsec1-devel
|
2020-02-25 14:02:33 +01:00
|
|
|
%ifarch x86_64
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: xmlsec1-nss
|
|
|
|
%endif
|
|
|
|
BuildRequires: xmlsec1-openssl
|
|
|
|
BuildRequires: xmlsec1-openssl-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-cherrypy
|
|
|
|
BuildRequires: python%{python3_pkgversion}-jwt
|
|
|
|
BuildRequires: python%{python3_pkgversion}-routes
|
|
|
|
BuildRequires: python%{python3_pkgversion}-scipy
|
|
|
|
BuildRequires: python%{python3_pkgversion}-werkzeug
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pyOpenSSL
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: golang-github-prometheus-prometheus
|
|
|
|
BuildRequires: libxmlsec1-1
|
|
|
|
BuildRequires: libxmlsec1-nss1
|
|
|
|
BuildRequires: libxmlsec1-openssl1
|
|
|
|
BuildRequires: python%{python3_pkgversion}-CherryPy
|
|
|
|
BuildRequires: python%{python3_pkgversion}-PyJWT
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Routes
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Werkzeug
|
|
|
|
BuildRequires: python%{python3_pkgversion}-numpy-devel
|
|
|
|
BuildRequires: xmlsec1-devel
|
|
|
|
BuildRequires: xmlsec1-openssl-devel
|
2018-01-27 07:05:44 +01:00
|
|
|
%endif
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
# lttng and babeltrace for rbd-replay-prep
|
|
|
|
%if %{with lttng}
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: lttng-ust-devel
|
|
|
|
BuildRequires: libbabeltrace-devel
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: lttng-ust-devel
|
2016-07-22 19:22:52 +02:00
|
|
|
BuildRequires: babeltrace-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: libexpat-devel
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
2022-06-03 06:40:02 +02:00
|
|
|
BuildRequires: expat-devel
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
#hardened-cc1
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
BuildRequires: redhat-rpm-config
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with seastar}
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
BuildRequires: cryptopp-devel
|
|
|
|
BuildRequires: numactl-devel
|
|
|
|
BuildRequires: protobuf-compiler
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: libcryptopp-devel
|
|
|
|
BuildRequires: libnuma-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{?rhel} >= 8
|
|
|
|
BuildRequires: /usr/bin/pathfix.py
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains Ceph benchmarks and test tools.
|
|
|
|
|
|
|
|
#################################################################################
|
2017-03-22 12:41:30 +01:00
|
|
|
# subpackages
|
2016-07-22 19:22:52 +02:00
|
|
|
#################################################################################
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with selinux}
|
|
|
|
%endif
|
2021-04-12 10:49:40 +02:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
2018-12-01 06:39:30 +01:00
|
|
|
%if 0%{with tcmalloc}
|
|
|
|
%endif
|
2018-04-27 09:50:25 +02:00
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{?weak_deps}
|
2022-03-09 03:42:18 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%if 0%{?weak_deps}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{with jaeger}
|
|
|
|
%endif
|
2017-05-26 07:23:11 +02:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with libradosstriper}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{with jaeger}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{?weak_deps}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2019-02-27 19:05:19 +01:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
2020-05-19 17:53:47 +02:00
|
|
|
%if 0%{?weak_deps}
|
|
|
|
%endif
|
2019-02-27 19:05:19 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2020-08-28 15:42:54 +02:00
|
|
|
%if 0%{?fedora} || 0%{?suse_version}
|
2019-03-04 12:50:56 +01:00
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%if 0%{?suse_version}
|
2019-03-15 15:24:05 +01:00
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
2019-02-27 19:05:19 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%if 0%{?weak_deps}
|
2019-02-27 19:05:19 +01:00
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%if 0%{?suse_version}
|
2019-11-21 18:07:01 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2020-02-03 14:06:48 +01:00
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2019-02-27 19:05:19 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2020-09-19 10:48:55 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with selinux}
|
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
%endif
|
2021-03-25 18:12:39 +01:00
|
|
|
%if 0%{?weak_deps}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if %{with ocf}
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{with seastar}
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2018-12-01 06:39:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2021-03-25 18:12:39 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with libradosstriper}
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2017-05-26 07:23:11 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{with jaeger}
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%endif
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2020-08-28 15:42:54 +02:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with cephfs_shell}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with ceph_test_package}
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{with cephfs_java}
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2018-01-27 07:05:44 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with selinux}
|
2017-03-04 01:22:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%endif
|
2018-12-01 06:39:30 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%prep
|
2023-05-12 00:51:50 +02:00
|
|
|
%autosetup -p1 -n ceph-16.2.13-66-g54799ee0666
|
2016-07-22 19:22:52 +02:00
|
|
|
|
|
|
|
%build
|
2023-01-30 19:03:55 +01:00
|
|
|
# Disable lto on systems that do not support symver attribute
|
|
|
|
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 for details
|
|
|
|
%if ( 0%{?rhel} && 0%{?rhel} < 9 ) || ( 0%{?suse_version} && 0%{?suse_version} <= 1500 )
|
2019-05-30 15:41:11 +02:00
|
|
|
%define _lto_cflags %{nil}
|
2023-01-30 19:03:55 +01:00
|
|
|
%endif
|
2018-01-27 07:05:44 +01:00
|
|
|
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{with seastar} && 0%{?rhel}
|
2020-08-28 15:42:54 +02:00
|
|
|
. /opt/rh/gcc-toolset-9/enable
|
2018-01-27 07:05:44 +01:00
|
|
|
%endif
|
|
|
|
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with cephfs_java}
|
|
|
|
# Find jni.h
|
|
|
|
for i in /usr/{lib64,lib}/jvm/java/include{,/linux}; do
|
|
|
|
[ -d $i ] && java_inc="$java_inc -I$i"
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2018-01-27 07:05:44 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
# the following setting fixed an OOM condition we once encountered in the OBS
|
2016-07-22 19:22:52 +02:00
|
|
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
|
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if %{with minimal_debugging_information}
|
|
|
|
RPM_OPT_FLAGS="$(echo $RPM_OPT_FLAGS | sed -e 's/^-g /-g1 /g' -e 's/ -g / -g1 /g' -e 's/ -g$/ -g1/g')"
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
|
2016-08-26 15:55:14 +02:00
|
|
|
export CPPFLAGS="$java_inc"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2022-10-06 06:15:58 +02:00
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -DFMT_DEPRECATED_OSTREAM"
|
2018-10-26 04:49:15 +02:00
|
|
|
export LDFLAGS="$RPM_LD_FLAGS"
|
|
|
|
test "$RPM_LD_FLAGS" && echo "RPM_LD_FLAGS == $RPM_LD_FLAGS" || echo "RPM_LD_FLAGS is empty"
|
2016-08-26 15:55:14 +02:00
|
|
|
|
2020-08-28 15:42:54 +02:00
|
|
|
%if 0%{with seastar}
|
|
|
|
# seastar uses longjmp() to implement coroutine. and this annoys longjmp_chk()
|
|
|
|
export CXXFLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g')
|
|
|
|
%endif
|
|
|
|
|
2017-11-25 16:48:00 +01:00
|
|
|
# Parallel build settings ...
|
2018-01-27 07:05:44 +01:00
|
|
|
CEPH_MFLAGS_JOBS="%{?_smp_mflags}"
|
|
|
|
CEPH_SMP_NCPUS=$(echo "$CEPH_MFLAGS_JOBS" | sed 's/-j//')
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
# 32-bit builds can use 3G memory max, which is not enough even for -j2
|
|
|
|
CEPH_SMP_NCPUS="1"
|
2017-04-07 12:25:48 +02:00
|
|
|
%endif
|
2017-11-25 16:48:00 +01:00
|
|
|
# do not eat all memory
|
|
|
|
echo "Available memory:"
|
2018-01-27 07:05:44 +01:00
|
|
|
free -h
|
2017-11-25 16:48:00 +01:00
|
|
|
echo "System limits:"
|
|
|
|
ulimit -a
|
2018-01-27 07:05:44 +01:00
|
|
|
if test -n "$CEPH_SMP_NCPUS" -a "$CEPH_SMP_NCPUS" -gt 1 ; then
|
2019-11-21 18:07:01 +01:00
|
|
|
mem_per_process=2500
|
2018-01-27 07:05:44 +01:00
|
|
|
max_mem=$(LANG=C free -m | sed -n "s|^Mem: *\([0-9]*\).*$|\1|p")
|
2017-11-25 16:48:00 +01:00
|
|
|
max_jobs="$(($max_mem / $mem_per_process))"
|
2018-01-27 07:05:44 +01:00
|
|
|
test "$CEPH_SMP_NCPUS" -gt "$max_jobs" && CEPH_SMP_NCPUS="$max_jobs" && echo "Warning: Reducing build parallelism to -j$max_jobs because of memory limits"
|
|
|
|
test "$CEPH_SMP_NCPUS" -le 0 && CEPH_SMP_NCPUS="1" && echo "Warning: Not using parallel build at all because of memory limits"
|
2017-11-25 16:48:00 +01:00
|
|
|
fi
|
2018-01-27 07:05:44 +01:00
|
|
|
export CEPH_SMP_NCPUS
|
|
|
|
export CEPH_MFLAGS_JOBS="-j$CEPH_SMP_NCPUS"
|
2017-04-07 12:25:48 +02:00
|
|
|
|
2017-11-25 16:48:00 +01:00
|
|
|
env | sort
|
2017-04-07 12:25:48 +02:00
|
|
|
|
2016-08-26 15:55:14 +02:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2018-10-26 04:49:15 +02:00
|
|
|
CMAKE=cmake
|
|
|
|
${CMAKE} .. \
|
2016-08-26 15:55:14 +02:00
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
|
|
|
|
-DCMAKE_INSTALL_LOCALSTATEDIR=%{_localstatedir} \
|
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
|
|
|
|
-DCMAKE_INSTALL_MANDIR=%{_mandir} \
|
|
|
|
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/ceph \
|
2017-07-28 16:45:21 +02:00
|
|
|
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
|
2020-08-28 15:42:54 +02:00
|
|
|
-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR=%{_unitdir} \
|
2016-08-26 15:55:14 +02:00
|
|
|
-DWITH_MANPAGE=ON \
|
2019-04-09 11:24:01 +02:00
|
|
|
-DWITH_PYTHON3=%{python3_version} \
|
2018-03-20 10:11:03 +01:00
|
|
|
-DWITH_MGR_DASHBOARD_FRONTEND=OFF \
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{without ceph_test_package}
|
2016-08-26 15:55:14 +02:00
|
|
|
-DWITH_TESTS=OFF \
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{with cephfs_java}
|
2016-08-26 15:55:14 +02:00
|
|
|
-DWITH_CEPHFS_JAVA=ON \
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{with selinux}
|
2016-08-26 15:55:14 +02:00
|
|
|
-DWITH_SELINUX=ON \
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2016-08-26 15:55:14 +02:00
|
|
|
%if %{with lttng}
|
|
|
|
-DWITH_LTTNG=ON \
|
2017-07-17 16:02:56 +02:00
|
|
|
-DWITH_BABELTRACE=ON \
|
2016-08-26 15:55:14 +02:00
|
|
|
%else
|
|
|
|
-DWITH_LTTNG=OFF \
|
2017-07-17 16:02:56 +02:00
|
|
|
-DWITH_BABELTRACE=OFF \
|
2016-08-26 15:55:14 +02:00
|
|
|
%endif
|
|
|
|
$CEPH_EXTRA_CMAKE_ARGS \
|
|
|
|
%if 0%{with ocf}
|
2017-04-07 12:25:48 +02:00
|
|
|
-DWITH_OCF=ON \
|
2017-05-26 07:23:11 +02:00
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with cephfs_shell}
|
|
|
|
-DWITH_CEPHFS_SHELL=ON \
|
|
|
|
%endif
|
|
|
|
%if 0%{with libradosstriper}
|
|
|
|
-DWITH_LIBRADOSSTRIPER=ON \
|
|
|
|
%else
|
|
|
|
-DWITH_LIBRADOSSTRIPER=OFF \
|
2019-02-27 19:05:19 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{with amqp_endpoint}
|
|
|
|
-DWITH_RADOSGW_AMQP_ENDPOINT=ON \
|
|
|
|
%else
|
|
|
|
-DWITH_RADOSGW_AMQP_ENDPOINT=OFF \
|
2020-02-03 14:06:48 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{with kafka_endpoint}
|
|
|
|
-DWITH_RADOSGW_KAFKA_ENDPOINT=ON \
|
|
|
|
%else
|
|
|
|
-DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \
|
2020-02-25 14:02:33 +01:00
|
|
|
%endif
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{without lua_packages}
|
2021-03-25 18:12:39 +01:00
|
|
|
-DWITH_RADOSGW_LUA_PACKAGES=OFF \
|
2021-01-28 09:39:34 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{with zbd}
|
|
|
|
-DWITH_ZBD=ON \
|
|
|
|
%endif
|
2020-02-25 14:02:33 +01:00
|
|
|
%if 0%{with cmake_verbose_logging}
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
2021-03-25 18:12:39 +01:00
|
|
|
%endif
|
|
|
|
%if 0%{with rbd_rwl_cache}
|
|
|
|
-DWITH_RBD_RWL=ON \
|
|
|
|
%endif
|
|
|
|
%if 0%{with rbd_ssd_cache}
|
|
|
|
-DWITH_RBD_SSD_CACHE=ON \
|
|
|
|
%endif
|
2022-03-09 03:42:18 +01:00
|
|
|
%if 0%{with system_pmdk}
|
2021-03-25 18:12:39 +01:00
|
|
|
-DWITH_SYSTEM_PMDK:BOOL=ON \
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2018-12-01 06:39:30 +01:00
|
|
|
-DBOOST_J=$CEPH_SMP_NCPUS \
|
2021-09-22 02:58:23 +02:00
|
|
|
%if 0%{?rhel}
|
|
|
|
-DWITH_FMT_HEADER_ONLY:BOOL=ON \
|
|
|
|
%endif
|
2018-12-01 06:39:30 +01:00
|
|
|
-DWITH_GRAFANA=ON
|
2016-07-22 19:22:52 +02:00
|
|
|
|
2020-02-25 14:02:33 +01:00
|
|
|
%if %{with cmake_verbose_logging}
|
|
|
|
cat ./CMakeFiles/CMakeOutput.log
|
|
|
|
cat ./CMakeFiles/CMakeError.log
|
|
|
|
%endif
|
|
|
|
|
2018-01-27 07:05:44 +01:00
|
|
|
make "$CEPH_MFLAGS_JOBS"
|
2016-07-22 19:22:52 +02:00
|
|
|
|
2022-06-03 06:40:02 +02:00
|
|
|
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with make_check}
|
|
|
|
%check
|
|
|
|
# run in-tree unittests
|
2016-08-26 15:55:14 +02:00
|
|
|
cd build
|
2018-01-27 07:05:44 +01:00
|
|
|
ctest "$CEPH_MFLAGS_JOBS"
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
|
2022-06-03 06:40:02 +02:00
|
|
|
|
2016-07-22 19:22:52 +02:00
|
|
|
%install
|
2016-08-26 15:55:14 +02:00
|
|
|
pushd build
|
2016-07-22 19:22:52 +02:00
|
|
|
make DESTDIR=%{buildroot} install
|
2016-08-26 15:55:14 +02:00
|
|
|
# we have dropped sysvinit bits
|
|
|
|
rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
|
|
|
|
popd
|
2020-08-28 15:42:54 +02:00
|
|
|
|
|
|
|
%if 0%{with seastar}
|
|
|
|
# package crimson-osd with the name of ceph-osd
|
|
|
|
install -m 0755 %{buildroot}%{_bindir}/crimson-osd %{buildroot}%{_bindir}/ceph-osd
|
|
|
|
%endif
|
|
|
|
|
2017-01-17 14:52:30 +01:00
|
|
|
install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
2017-11-25 22:44:09 +01:00
|
|
|
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
|
|
|
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
|
2020-08-28 15:42:54 +02:00
|
|
|
install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_presetdir}/50-ceph.preset
|
2016-07-22 19:22:52 +02:00
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
|
|
|
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
2017-06-26 09:31:36 +02:00
|
|
|
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
|
2017-11-25 16:48:00 +01:00
|
|
|
install -m 0644 -D etc/sysctl/90-ceph-osd.conf %{buildroot}%{_sysctldir}/90-ceph-osd.conf
|
2020-08-28 15:42:54 +02:00
|
|
|
install -m 0755 -D src/tools/rbd_nbd/rbd-nbd_quiesce %{buildroot}%{_libexecdir}/rbd-nbd/rbd-nbd_quiesce
|
2016-07-22 19:22:52 +02:00
|
|
|
|
2020-02-03 14:06:48 +01:00
|
|
|
install -m 0755 src/cephadm/cephadm %{buildroot}%{_sbindir}/cephadm
|
|
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm
|
|
|
|
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm
|
|
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/cephadm/.ssh
|
|
|
|
chmod 0700 %{buildroot}%{_sharedstatedir}/cephadm/.ssh
|
|
|
|
touch %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
|
|
|
chmod 0600 %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
2019-11-21 18:07:01 +01:00
|
|
|
|
2016-07-22 19:22:52 +02:00
|
|
|
# firewall templates and /sbin/mount.ceph symlink
|
2023-01-30 19:03:55 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
2016-07-22 19:22:52 +02:00
|
|
|
mkdir -p %{buildroot}/sbin
|
|
|
|
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# udev rules
|
|
|
|
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
|
2018-10-26 04:49:15 +02:00
|
|
|
|
|
|
|
# sudoers.d
|
2022-03-09 03:42:18 +01:00
|
|
|
install -m 0440 -D sudoers.d/ceph-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-smartctl
|
2016-07-22 19:22:52 +02:00
|
|
|
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{?rhel} >= 8
|
|
|
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/*
|
|
|
|
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_sbindir}/*
|
|
|
|
%endif
|
|
|
|
|
2016-07-22 19:22:52 +02:00
|
|
|
#set up placeholder directories
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ceph
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/run/ceph
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/tmp
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mon
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/osd
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mds
|
2017-01-17 14:52:30 +01:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/mgr
|
2018-10-26 04:49:15 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/crash
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/crash/posted
|
2016-07-22 19:22:52 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/radosgw
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
|
2017-05-26 07:23:11 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr
|
2017-08-14 12:04:26 +02:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd
|
2018-12-01 06:39:30 +01:00
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
|
2016-07-22 19:22:52 +02:00
|
|
|
|
2020-03-30 20:35:05 +02:00
|
|
|
# prometheus alerts
|
2022-06-03 06:40:02 +02:00
|
|
|
install -m 644 -D monitoring/ceph-mixin/prometheus_alerts.yml %{buildroot}/etc/prometheus/ceph/ceph_default_alerts.yml
|
2020-03-30 20:35:05 +02:00
|
|
|
|
2016-08-29 09:27:05 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
# create __pycache__ directories and their contents
|
|
|
|
%py3_compile %{buildroot}%{python3_sitelib}
|
2019-11-21 18:07:01 +01:00
|
|
|
# hardlink duplicate files under /usr to save space
|
|
|
|
%fdupes %{buildroot}%{_prefix}
|
2016-08-29 09:27:05 +02:00
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
|
2019-02-27 19:05:19 +01:00
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}
|
|
|
|
%endif
|
2016-08-29 09:27:05 +02:00
|
|
|
|
2018-10-26 04:49:15 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-crash
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/crushtool
|
|
|
|
rm -rf %{buildroot}%{_bindir}/monmaptool
|
|
|
|
rm -rf %{buildroot}%{_bindir}/osdmaptool
|
2017-11-25 16:48:00 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-kvstore-tool
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-run
|
2017-11-25 17:38:36 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-dencoder
|
|
|
|
rm -rf %{buildroot}%{_bindir}/cephfs-data-scan
|
|
|
|
rm -rf %{buildroot}%{_bindir}/cephfs-journal-tool
|
|
|
|
rm -rf %{buildroot}%{_bindir}/cephfs-table-tool
|
2020-08-28 15:42:54 +02:00
|
|
|
rm -rf %{buildroot}%{_presetdir}/50-ceph.preset
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_sbindir}/ceph-create-keys
|
|
|
|
rm -rf %{buildroot}%{_libexecdir}/ceph/ceph_common.sh
|
|
|
|
rm -rf %{buildroot}%{_libdir}/rados-classes/*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/erasure-code/libec_*.so*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/compressor/libceph_*.so*
|
2018-10-26 04:49:15 +02:00
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-crash.service
|
2017-04-27 17:34:40 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/crypto/libceph_*.so*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/libos_tp.so*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libosd_tp.so*
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/sysconfig/ceph
|
2017-11-25 22:44:09 +01:00
|
|
|
rm -rf %{buildroot}%{_fillupdir}/sysconfig.*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph.target
|
2018-01-27 07:05:44 +01:00
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph_volume/*
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph_volume-*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-deploy.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-create-keys.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-run.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/crushtool.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/osdmaptool.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/monmaptool.8*
|
2017-11-25 16:48:00 +01:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-kvstore-tool.8*
|
2022-03-09 03:42:18 +01:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/sudoers.d/ceph-smartctl
|
2020-02-03 14:06:48 +01:00
|
|
|
rm -rf %{buildroot}%{_sbindir}/cephadm
|
2020-05-19 17:53:47 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/cephadm.8*
|
2020-02-03 14:06:48 +01:00
|
|
|
rm -rf %{buildroot}%{_sharedstatedir}/cephadm/.ssh/authorized_keys
|
2017-06-26 09:31:36 +02:00
|
|
|
rm -rf %{buildroot}%doc
|
|
|
|
rm -rf %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
2018-12-01 06:39:30 +01:00
|
|
|
rm -rf %{buildroot}%license
|
2017-06-26 09:31:36 +02:00
|
|
|
rm -rf %{buildroot}%{_docdir}/ceph/COPYING
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-authtool
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-conf
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-rbdnamer
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-syn
|
|
|
|
rm -rf %{buildroot}%{_bindir}/rados
|
2017-05-26 07:23:11 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/radosgw-admin
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/rbd
|
|
|
|
rm -rf %{buildroot}%{_bindir}/rbd-replay
|
|
|
|
rm -rf %{buildroot}%{_bindir}/rbd-replay-many
|
|
|
|
rm -rf %{buildroot}%{_bindir}/rbdmap
|
|
|
|
rm -rf %{buildroot}%{_sbindir}/mount.ceph
|
2016-07-22 19:22:52 +02:00
|
|
|
rm -rf %{buildroot}/sbin/mount.ceph
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/rbd-replay-prep
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-post-file
|
2023-01-30 19:03:55 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/denc/denc-mod-*.so
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_tmpfilesdir}/ceph-common.conf
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-authtool.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-conf.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-dencoder.8*
|
2020-06-08 16:19:38 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-diff-sorted.8*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-rbdnamer.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-syn.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-post-file.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/mount.ceph.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rados.8*
|
2017-05-26 07:23:11 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/radosgw-admin.8*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbd.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbdmap.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbd-replay.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbd-replay-many.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbd-replay-prep.8*
|
2020-06-08 16:19:38 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rgw-orphan-list.8*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/known_hosts_drop.ceph.com
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/id_rsa_drop.ceph.com
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/id_rsa_drop.ceph.com.pub
|
2017-06-05 11:29:59 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/bash_completion.d/ceph
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/bash_completion.d/rados
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/bash_completion.d/rbd
|
2017-05-26 07:23:11 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/bash_completion.d/radosgw-admin
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/ceph/rbdmap
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/rbdmap.service
|
|
|
|
rm -rf %{buildroot}%{_udevrulesdir}/50-rbd.rules
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-mds
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-mds.8*
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-mds@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-mds.target
|
2017-01-17 14:52:30 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-mgr
|
2020-02-25 14:02:33 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/mgr_module.*
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/mgr_util.*
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-mgr@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-mgr.target
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/dashboard
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/diskprediction_local
|
2019-11-21 18:07:01 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/alerts
|
2019-02-27 19:05:19 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/balancer
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/crash
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/devicehealth
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/influx
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/insights
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/iostat
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/localpool
|
2020-08-28 15:42:54 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/mds_autoscaler
|
2021-03-25 18:12:39 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/mirroring
|
2021-07-09 01:21:14 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/nfs
|
2020-02-25 14:02:33 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/orchestrator
|
2019-02-27 19:05:19 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/osd_perf_query
|
2020-09-19 10:48:55 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/osd_support
|
2019-02-27 19:05:19 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/pg_autoscaler
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/progress
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/prometheus
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/rbd_support
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/restful
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/selftest
|
2020-08-28 15:42:54 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/snap_schedule
|
2021-01-28 09:39:34 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/stats
|
2019-02-27 19:05:19 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/status
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/telegraf
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/telemetry
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/test_orchestrator
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/volumes
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/zabbix
|
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/rook
|
2019-11-21 18:07:01 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/k8sevents
|
2020-02-03 14:06:48 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/ceph/mgr/cephadm
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-mon
|
2017-11-25 16:48:00 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-monstore-tool
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-mon.8*
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-mon@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-mon.target
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-fuse
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-fuse.8*
|
|
|
|
rm -rf %{buildroot}%{_sbindir}/mount.fuse.ceph
|
2021-01-28 09:39:34 +01:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/mount.fuse.ceph.8*
|
2017-01-17 14:52:30 +01:00
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-fuse@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-fuse.target
|
2020-09-19 10:48:55 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/cephfs-mirror
|
2021-01-28 09:39:34 +01:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/cephfs-mirror.8*
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/cephfs-mirror@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/cephfs-mirror.target
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/rbd-fuse
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbd-fuse.8*
|
|
|
|
rm -rf %{buildroot}%{_bindir}/rbd-mirror
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbd-mirror.8*
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-rbd-mirror@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-rbd-mirror.target
|
2019-11-21 18:07:01 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-immutable-object-cache
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-immutable-object-cache.8*
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-immutable-object-cache@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-immutable-object-cache.target
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/rbd-nbd
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/rbd-nbd.8*
|
2020-08-28 15:42:54 +02:00
|
|
|
rm -rf %{buildroot}%{_libexecdir}/rbd-nbd/rbd-nbd_quiesce
|
2020-06-08 16:19:38 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-diff-sorted
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/radosgw
|
|
|
|
rm -rf %{buildroot}%{_bindir}/radosgw-token
|
2017-06-05 11:29:59 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/radosgw-es
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/radosgw-object-expirer
|
2021-03-25 18:12:39 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/rgw-gap-list
|
|
|
|
rm -rf %{buildroot}%{_bindir}/rgw-gap-list-comparator
|
2020-06-08 16:19:38 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/rgw-orphan-list
|
2020-02-25 14:02:33 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/libradosgw.so*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/radosgw.8*
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-radosgw@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-radosgw.target
|
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-clsinfo
|
2017-04-07 12:25:48 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-bluestore-tool
|
2020-08-28 15:42:54 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-erasure-code-tool
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-objectstore-tool
|
2017-11-25 16:48:00 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-osdomap-tool
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_bindir}/ceph-osd
|
|
|
|
rm -rf %{buildroot}%{_libexecdir}/ceph/ceph-osd-prestart.sh
|
2018-01-27 07:05:44 +01:00
|
|
|
rm -rf %{buildroot}%{_sbindir}/ceph-volume
|
|
|
|
rm -rf %{buildroot}%{_sbindir}/ceph-volume-systemd
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-clsinfo.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-osd.8*
|
2017-11-25 16:48:00 +01:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-bluestore-tool.8*
|
2018-01-27 07:05:44 +01:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-volume.8*
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph-volume-systemd.8*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-osd@.service
|
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-osd.target
|
2018-01-27 07:05:44 +01:00
|
|
|
rm -rf %{buildroot}%{_unitdir}/ceph-volume@.service
|
2017-10-27 19:57:19 +02:00
|
|
|
rm -rf %{buildroot}%{_sysctldir}/90-ceph-osd.conf
|
2019-11-21 18:07:01 +01:00
|
|
|
rm -rf %{buildroot}%{_bindir}/crimson-osd
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_prefix}/lib/ocf/resource.d/ceph/rbd
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librados.so.*
|
2018-12-01 06:39:30 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/libceph-common.so.*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/librados_tp.so.*
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/librados.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/rados_types.h
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librados.so
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librados_tp.so
|
|
|
|
rm -rf %{buildroot}%{_bindir}/librados-config
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/librados-config.8*
|
2018-12-01 06:39:30 +01:00
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/buffer.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/buffer_fwd.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/crc32c.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/inline_memory.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/librados.hpp
|
2019-02-27 19:05:19 +01:00
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/librados_fwd.hpp
|
2018-12-01 06:39:30 +01:00
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/page.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/rados_types.hpp
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/rados.cpython*.so
|
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/rados-*.egg-info
|
2021-03-25 18:12:39 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/libcephsqlite.so
|
|
|
|
rm -rf %{buildroot}%{_includedir}/libcephsqlite.h
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/libradosstriper.so.*
|
|
|
|
rm -rf %{buildroot}%{_includedir}/radosstriper/libradosstriper.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/radosstriper/libradosstriper.hpp
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libradosstriper.so
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librbd.so.*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librbd_tp.so.*
|
2020-08-28 15:42:54 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/ceph/librbd/libceph_*.so*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_includedir}/rbd/librbd.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rbd/librbd.hpp
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rbd/features.h
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librbd.so
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librbd_tp.so
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librgw.so.*
|
2019-11-21 18:07:01 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/librgw_op_tp.so.*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librgw_rados_tp.so.*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/librgw.h
|
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/rgw_file.h
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librgw.so
|
2019-11-21 18:07:01 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/librgw_op_tp.so
|
|
|
|
rm -rf %{buildroot}%{_libdir}/librgw_rados_tp.so
|
2017-01-17 14:52:30 +01:00
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/rgw.cpython*.so
|
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/rgw-*.egg-info
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/rbd.cpython*.so
|
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/rbd-*.egg-info
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libcephfs.so.*
|
|
|
|
rm -rf %{buildroot}%{_includedir}/cephfs/libcephfs.h
|
2020-06-08 16:19:38 +02:00
|
|
|
rm -rf %{buildroot}%{_includedir}/cephfs/ceph_ll_client.h
|
2020-08-28 15:42:54 +02:00
|
|
|
rm -rf %{buildroot}%{_includedir}/cephfs/metrics/Types.h
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/libcephfs.so
|
2021-01-28 09:39:34 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/libopentracing.so.*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libthrift.so.*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libjaegertracing.so.*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/cephfs.cpython*.so
|
|
|
|
rm -rf %{buildroot}%{python3_sitearch}/cephfs-*.egg-info
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph_volume_client.py
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/__pycache__/ceph_volume_client.cpython*.py*
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph_argparse.py
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
|
2016-08-29 09:27:05 +02:00
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph_daemon.py
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/__pycache__/ceph_daemon.cpython*.py*
|
2019-11-21 18:07:01 +01:00
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/ceph-*.egg-info
|
2018-10-26 04:49:15 +02:00
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/cephfs_shell-*.egg-info
|
|
|
|
rm -rf %{buildroot}%{_bindir}/cephfs-shell
|
2021-01-28 09:39:34 +01:00
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/cephfs_top-*.egg-info
|
|
|
|
rm -rf %{buildroot}%{_bindir}/cephfs-top
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/cephfs-top.8*
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_libdir}/libcephfs_jni.so.*
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libcephfs_jni.so
|
|
|
|
rm -rf %{buildroot}%{_javadir}/libcephfs.jar
|
|
|
|
rm -rf %{buildroot}%{_javadir}/libcephfs-test.jar
|
2017-05-26 07:23:11 +02:00
|
|
|
rm -rf %{buildroot}%{_includedir}/rados/objclass.h
|
2016-08-26 15:55:14 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/selinux/packages/ceph.pp
|
|
|
|
rm -rf %{buildroot}%{_datadir}/selinux/devel/include/contrib/ceph.if
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man8/ceph_selinux.8*
|
2018-12-01 06:39:30 +01:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/grafana/dashboards/ceph-dashboard/*
|
2020-03-30 20:35:05 +02:00
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
|
2016-07-22 19:22:52 +02:00
|
|
|
|
|
|
|
dirs=`find %{buildroot} -type d -empty`
|
|
|
|
while [[ -n $dirs ]]; do
|
|
|
|
for d in $dirs; do
|
|
|
|
rm -rf $d
|
|
|
|
done
|
|
|
|
dirs=`find %{buildroot} -type d -empty`
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
2022-04-05 21:52:03 +02:00
|
|
|
# built binaries are no longer necessary at this point,
|
|
|
|
# but are consuming ~17GB of disk in the build environment
|
|
|
|
rm -rf build
|
2016-07-22 19:22:52 +02:00
|
|
|
|
|
|
|
#################################################################################
|
|
|
|
# files and systemd scriptlets
|
|
|
|
#################################################################################
|
|
|
|
%files
|
|
|
|
|
|
|
|
%if %{with lttng}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
2020-02-03 14:06:48 +01:00
|
|
|
%if ! 0%{?suse_version}
|
|
|
|
%endif
|
2023-01-30 19:03:55 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
2016-08-26 15:55:14 +02:00
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if %{with lttng}
|
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2017-01-17 14:52:30 +01:00
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
2017-10-27 19:57:19 +02:00
|
|
|
%if 0%{?sysctl_apply}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if 0%{with seastar}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if %{with ocf}
|
|
|
|
%endif
|
|
|
|
%if %{with lttng}
|
|
|
|
%endif
|
|
|
|
%if %{with lttng}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with libradosstriper}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if %{with lttng}
|
|
|
|
%endif
|
|
|
|
%if %{with lttng}
|
2018-04-12 20:17:08 +02:00
|
|
|
%endif
|
|
|
|
%if %{with lttng}
|
2016-07-22 19:22:52 +02:00
|
|
|
%endif
|
2019-11-21 18:07:01 +01:00
|
|
|
%if %{with lttng}
|
|
|
|
%endif
|
2021-01-28 09:39:34 +01:00
|
|
|
%if %{with jaeger}
|
|
|
|
%endif
|
2018-10-26 04:49:15 +02:00
|
|
|
%if 0%{with cephfs_shell}
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%if 0%{with ceph_test_package}
|
2020-05-26 14:18:26 +02:00
|
|
|
%files -n ceph-test
|
2016-07-22 19:22:52 +02:00
|
|
|
%{_bindir}/ceph-client-debug
|
|
|
|
%{_bindir}/ceph_bench_log
|
|
|
|
%{_bindir}/ceph_kvstorebench
|
|
|
|
%{_bindir}/ceph_multi_stress_watch
|
|
|
|
%{_bindir}/ceph_erasure_code_benchmark
|
|
|
|
%{_bindir}/ceph_omapbench
|
|
|
|
%{_bindir}/ceph_objectstore_bench
|
|
|
|
%{_bindir}/ceph_perf_objectstore
|
|
|
|
%{_bindir}/ceph_perf_local
|
|
|
|
%{_bindir}/ceph_perf_msgr_client
|
|
|
|
%{_bindir}/ceph_perf_msgr_server
|
|
|
|
%{_bindir}/ceph_psim
|
|
|
|
%{_bindir}/ceph_radosacl
|
|
|
|
%{_bindir}/ceph_rgw_jsonparser
|
|
|
|
%{_bindir}/ceph_rgw_multiparser
|
|
|
|
%{_bindir}/ceph_scratchtool
|
|
|
|
%{_bindir}/ceph_scratchtoolpp
|
|
|
|
%{_bindir}/ceph_test_*
|
|
|
|
%{_bindir}/ceph-coverage
|
|
|
|
%{_bindir}/ceph-debugpack
|
2019-11-21 18:07:01 +01:00
|
|
|
%{_bindir}/ceph-dedup-tool
|
2021-01-28 09:39:34 +01:00
|
|
|
%if 0%{with seastar}
|
|
|
|
%{_bindir}/crimson-store-nbd
|
|
|
|
%endif
|
2016-07-22 19:22:52 +02:00
|
|
|
%{_mandir}/man8/ceph-debugpack.8*
|
|
|
|
%dir %{_libdir}/ceph
|
|
|
|
%{_libdir}/ceph/ceph-monstore-update-crush.sh
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{with cephfs_java}
|
|
|
|
%endif
|
|
|
|
%if 0%{with selinux}
|
2020-05-19 17:53:47 +02:00
|
|
|
%endif
|
2018-12-04 17:52:06 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2019-05-13 14:43:24 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
%endif
|
2018-04-12 04:10:10 +02:00
|
|
|
%changelog
|