Accepting request 595813 from filesystems:ceph:mimic

revert spec file cleaner

OBS-URL: https://build.opensuse.org/request/show/595813
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=175
This commit is contained in:
Nathan Cutler 2018-04-12 02:21:29 +00:00 committed by Git OBS Bridge
parent eed611b6e3
commit 1f4d13d090
4 changed files with 365 additions and 341 deletions

View File

@ -19,14 +19,60 @@
<overwrite> <overwrite>
<conditions> <conditions>
<arch>x86_64</arch>
<package>ceph-test</package> <package>ceph-test</package>
</conditions> </conditions>
<hardware> <hardware>
<disk> <disk>
<size unit="G">40</size> <size unit="G">28</size>
</disk> </disk>
<memory> <memory>
<size unit="G">12</size> <size unit="G">11</size>
</memory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>aarch64</arch>
<package>ceph-test</package>
</conditions>
<hardware>
<disk>
<size unit="G">28</size>
</disk>
<memory>
<size unit="G">8</size>
</memory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>ppc64le</arch>
<package>ceph-test</package>
</conditions>
<hardware>
<disk>
<size unit="G">28</size>
</disk>
<memory>
<size unit="G">8</size>
</memory>
</hardware>
</overwrite>
<overwrite>
<conditions>
<arch>s390x</arch>
<package>ceph-test</package>
</conditions>
<hardware>
<disk>
<size unit="G">28</size>
</disk>
<memory>
<size unit="G">8</size>
</memory> </memory>
</hardware> </hardware>
</overwrite> </overwrite>

View File

@ -1,7 +1,13 @@
-------------------------------------------------------------------
Thu Apr 12 02:11:19 UTC 2018 - ncutler@suse.com
- tweak the ceph-test constraints (latest version of Ceph does not
require so much disk space/memory)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 27 14:04:19 UTC 2018 - schwab@suse.de Tue Mar 27 14:04:19 UTC 2018 - schwab@suse.de
- Reduce constraints on aarch64 - Reduce ceph-test constraints on aarch64
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 21 06:03:25 UTC 2018 - ncutler@suse.com Tue Mar 21 06:03:25 UTC 2018 - ncutler@suse.com

View File

@ -1,7 +1,13 @@
-------------------------------------------------------------------
Thu Apr 12 02:11:19 UTC 2018 - ncutler@suse.com
- tweak the ceph-test constraints (latest version of Ceph does not
require so much disk space/memory)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 27 14:04:19 UTC 2018 - schwab@suse.de Tue Mar 27 14:04:19 UTC 2018 - schwab@suse.de
- Reduce constraints on aarch64 - Reduce ceph-test constraints on aarch64
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 21 06:03:25 UTC 2018 - ncutler@suse.com Tue Mar 21 06:03:25 UTC 2018 - ncutler@suse.com

218
ceph.spec
View File

@ -1,24 +1,18 @@
# #
# spec file for package ceph # spec file for package ceph
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (C) 2004-2017 The Ceph Project Developers. See COPYING file # Copyright (C) 2004-2017 The Ceph Project Developers. See COPYING file
# at the top-level directory of this distribution and at # at the top-level directory of this distribution and at
# https://github.com/ceph/ceph/blob/master/COPYING # https://github.com/ceph/ceph/blob/master/COPYING
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the # upon.
# file, is the same license as for the pristine package itself (unless the #
# license for the pristine package is not an Open Source License, in which # This file is under the GNU Lesser General Public License, version 2.1
# case the license is the MIT License). An "Open Source License" is a #
# license that conforms to the Open Source Definition (Version 1.9) # Please submit bugfixes or comments via http://tracker.ceph.com/
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without ocf %bcond_without ocf
%bcond_with make_check %bcond_with make_check
%ifarch s390 s390x %ifarch s390 s390x
@ -85,16 +79,17 @@ Name: ceph
Version: 13.0.1.3204+g17e0216271 Version: 13.0.1.3204+g17e0216271
Release: 0%{?dist} Release: 0%{?dist}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Epoch: 2
%endif %endif
# define _epoch_prefix macro which will expand to the empty string if epoch is # define _epoch_prefix macro which will expand to the empty string if epoch is
# undefined # undefined
%global _epoch_prefix %{?epoch:} %global _epoch_prefix %{?epoch:%{epoch}:}
Summary: User space components of the Ceph file system Summary: User space components of the Ceph file system
License: LGPL-2.1-only AND CC-BY-SA-3.0 AND GPL-2.0-only AND BSL-1.0 AND BSD-3-Clause AND MIT License: LGPL-2.1 and CC-BY-SA-3.0 and GPL-2.0 and BSL-1.0 and BSD-3-Clause and MIT
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
URL: http://ceph.com/ URL: http://ceph.com/
Source0: %{?_remote_tarball_prefix}ceph-13.0.1-3204-g17e0216271.tar.bz2 Source0: %{?_remote_tarball_prefix}ceph-13.0.1-3204-g17e0216271.tar.bz2
@ -109,10 +104,10 @@ ExclusiveArch: x86_64 aarch64 ppc64le s390x
################################################################################# #################################################################################
# dependencies that apply across all distro families # dependencies that apply across all distro families
################################################################################# #################################################################################
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mds = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mds = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-mon = %{_epoch_prefix}%{version}-%{release} Requires: ceph-mon = %{_epoch_prefix}%{version}-%{release}
Requires: ceph-osd = %{_epoch_prefix}%{version}-%{release}
Requires(post): binutils Requires(post): binutils
%if 0%{with cephfs_java} %if 0%{with cephfs_java}
BuildRequires: java-devel BuildRequires: java-devel
@ -123,10 +118,10 @@ BuildRequires: checkpolicy
BuildRequires: selinux-policy-devel BuildRequires: selinux-policy-devel
%endif %endif
BuildRequires: bc BuildRequires: bc
BuildRequires: gperf
BuildRequires: cmake BuildRequires: cmake
BuildRequires: cryptsetup BuildRequires: cryptsetup
BuildRequires: fuse-devel BuildRequires: fuse-devel
BuildRequires: gperf
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
# devtoolset offers newer make and valgrind-devel, but the old ones are good # devtoolset offers newer make and valgrind-devel, but the old ones are good
# enough. # enough.
@ -143,10 +138,10 @@ BuildRequires: leveldb-devel > 1.2
BuildRequires: libaio-devel BuildRequires: libaio-devel
BuildRequires: libblkid-devel >= 2.17 BuildRequires: libblkid-devel >= 2.17
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libtool
BuildRequires: libudev-devel BuildRequires: libudev-devel
BuildRequires: libuuid-devel BuildRequires: libtool
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libuuid-devel
BuildRequires: make BuildRequires: make
BuildRequires: parted BuildRequires: parted
BuildRequires: perl BuildRequires: perl
@ -174,59 +169,59 @@ BuildRequires: yasm
# distro-conditional dependencies # distro-conditional dependencies
################################################################################# #################################################################################
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-rpm-macros
BuildRequires: systemd
%{?systemd_requires} %{?systemd_requires}
PreReq: %fillup_prereq PreReq: %fillup_prereq
BuildRequires: btrfsprogs BuildRequires: net-tools
BuildRequires: cunit-devel
BuildRequires: keyutils-devel
BuildRequires: libbz2-devel BuildRequires: libbz2-devel
BuildRequires: btrfsprogs
BuildRequires: mozilla-nss-devel
BuildRequires: keyutils-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: lsb-release BuildRequires: lsb-release
BuildRequires: mozilla-nss-devel
BuildRequires: net-tools
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
BuildRequires: cunit-devel
BuildRequires: python%{_python_buildid}-base
BuildRequires: python%{_python_buildid}-Cython BuildRequires: python%{_python_buildid}-Cython
BuildRequires: python%{_python_buildid}-PrettyTable BuildRequires: python%{_python_buildid}-PrettyTable
BuildRequires: python%{_python_buildid}-Sphinx BuildRequires: python%{_python_buildid}-Sphinx
BuildRequires: python%{_python_buildid}-base
BuildRequires: rdma-core-devel BuildRequires: rdma-core-devel
%endif %endif
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Requires: systemd Requires: systemd
BuildRequires: CUnit-devel
BuildRequires: Cython%{_python_buildid}
BuildRequires: boost-random BuildRequires: boost-random
BuildRequires: btrfs-progs BuildRequires: btrfs-progs
BuildRequires: nss-devel
BuildRequires: keyutils-libs-devel BuildRequires: keyutils-libs-devel
BuildRequires: libibverbs-devel BuildRequires: libibverbs-devel
BuildRequires: nss-devel
BuildRequires: openldap-devel BuildRequires: openldap-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: CUnit-devel
BuildRequires: redhat-lsb-core
BuildRequires: Cython%{_python_buildid}
BuildRequires: python%{_python_buildid}-prettytable BuildRequires: python%{_python_buildid}-prettytable
BuildRequires: python%{_python_buildid}-sphinx BuildRequires: python%{_python_buildid}-sphinx
BuildRequires: redhat-lsb-core
%endif %endif
# python34-... for RHEL, python3-... for all other supported distros # python34-... for RHEL, python3-... for all other supported distros
%if 0%{?rhel} %if 0%{?rhel}
BuildRequires: python34-Cython
BuildRequires: python34-devel BuildRequires: python34-devel
BuildRequires: python34-setuptools BuildRequires: python34-setuptools
BuildRequires: python34-Cython
%else %else
BuildRequires: python3-Cython
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-Cython
%endif %endif
# distro-conditional make check dependencies # distro-conditional make check dependencies
%if 0%{with make_check} %if 0%{with make_check}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
BuildRequires: python%{_python_buildid}-cherrypy BuildRequires: python%{_python_buildid}-cherrypy
BuildRequires: python%{_python_buildid}-coverage
BuildRequires: python%{_python_buildid}-pecan BuildRequires: python%{_python_buildid}-pecan
BuildRequires: python%{_python_buildid}-tox
BuildRequires: python%{_python_buildid}-werkzeug BuildRequires: python%{_python_buildid}-werkzeug
BuildRequires: python%{_python_buildid}-tox
BuildRequires: python%{_python_buildid}-coverage
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: python%{_python_buildid}-bcrypt BuildRequires: python%{_python_buildid}-bcrypt
%endif %endif
@ -237,22 +232,22 @@ BuildRequires: py-bcrypt
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: python%{_python_buildid}-CherryPy BuildRequires: python%{_python_buildid}-CherryPy
BuildRequires: python%{_python_buildid}-Werkzeug BuildRequires: python%{_python_buildid}-Werkzeug
BuildRequires: python%{_python_buildid}-bcrypt
BuildRequires: python%{_python_buildid}-coverage
BuildRequires: python%{_python_buildid}-numpy-devel
BuildRequires: python%{_python_buildid}-pecan BuildRequires: python%{_python_buildid}-pecan
BuildRequires: python%{_python_buildid}-numpy-devel
BuildRequires: python%{_python_buildid}-bcrypt
BuildRequires: python%{_python_buildid}-tox BuildRequires: python%{_python_buildid}-tox
BuildRequires: python%{_python_buildid}-coverage
%endif %endif
%endif %endif
# lttng and babeltrace for rbd-replay-prep # lttng and babeltrace for rbd-replay-prep
%if %{with lttng} %if %{with lttng}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
BuildRequires: libbabeltrace-devel
BuildRequires: lttng-ust-devel BuildRequires: lttng-ust-devel
BuildRequires: libbabeltrace-devel
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: babeltrace-devel
BuildRequires: lttng-ust-devel BuildRequires: lttng-ust-devel
BuildRequires: babeltrace-devel
%endif %endif
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
@ -276,13 +271,13 @@ on commodity hardware and delivers object, block and file system storage.
################################################################################# #################################################################################
%package base %package base
Summary: Ceph Base Package Summary: Ceph Base Package
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release} Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{with selinux} %if 0%{with selinux}
Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release} Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release}
@ -295,8 +290,8 @@ Requires: psmisc
Requires: python%{_python_buildid}-requests Requires: python%{_python_buildid}-requests
Requires: python%{_python_buildid}-setuptools Requires: python%{_python_buildid}-setuptools
Requires: util-linux Requires: util-linux
Requires: which
Requires: xfsprogs Requires: xfsprogs
Requires: which
%if 0%{?suse_version} %if 0%{?suse_version}
Recommends: chrony Recommends: chrony
Provides: libxio = 1.7 Provides: libxio = 1.7
@ -307,15 +302,15 @@ Base is the package that includes all the files shared amongst ceph servers
%package -n ceph-common %package -n ceph-common
Summary: Ceph Common Summary: Ceph Common
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-cephfs = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rados = %{_epoch_prefix}%{version}-%{release} Requires: python%{_python_buildid}-rados = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rbd = %{_epoch_prefix}%{version}-%{release} Requires: python%{_python_buildid}-rbd = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rgw = %{_epoch_prefix}%{version}-%{release} Requires: python%{_python_buildid}-rgw = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Requires: python%{_python_buildid}-prettytable Requires: python%{_python_buildid}-prettytable
@ -338,11 +333,10 @@ Comprised of files that are common to Ceph clients and servers.
%package mds %package mds
Summary: Ceph Metadata Server Daemon Summary: Ceph Metadata Server Daemon
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%description mds %description mds
ceph-mds is the metadata server daemon for the Ceph distributed file system. ceph-mds is the metadata server daemon for the Ceph distributed file system.
One or more instances of ceph-mds collectively manage the file system One or more instances of ceph-mds collectively manage the file system
@ -350,11 +344,10 @@ namespace, coordinating access to the shared OSD cluster.
%package mon %package mon
Summary: Ceph Monitor Daemon Summary: Ceph Monitor Daemon
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%description mon %description mon
ceph-mon is the cluster monitor daemon for the Ceph distributed file ceph-mon is the cluster monitor daemon for the Ceph distributed file
system. One or more instances of ceph-mon form a Paxos part-time system. One or more instances of ceph-mon form a Paxos part-time
@ -363,16 +356,16 @@ of cluster membership, configuration, and state.
%package mgr %package mgr
Summary: Ceph Manager Daemon Summary: Ceph Manager Daemon
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} %if 0%{?fedora} || 0%{?rhel}
Requires: pyOpenSSL%{_python_buildid}
Requires: python%{_python_buildid}-cherrypy Requires: python%{_python_buildid}-cherrypy
Requires: python%{_python_buildid}-jinja2 Requires: python%{_python_buildid}-jinja2
Requires: python%{_python_buildid}-pecan Requires: python%{_python_buildid}-pecan
Requires: python%{_python_buildid}-werkzeug Requires: python%{_python_buildid}-werkzeug
Requires: pyOpenSSL%{_python_buildid}
%if 0%{?fedora} %if 0%{?fedora}
Requires: python%{_python_buildid}-bcrypt Requires: python%{_python_buildid}-bcrypt
%endif %endif
@ -384,9 +377,9 @@ Requires: py-bcrypt
Requires: python%{_python_buildid}-CherryPy Requires: python%{_python_buildid}-CherryPy
Requires: python%{_python_buildid}-Jinja2 Requires: python%{_python_buildid}-Jinja2
Requires: python%{_python_buildid}-Werkzeug Requires: python%{_python_buildid}-Werkzeug
Requires: python%{_python_buildid}-bcrypt
Requires: python%{_python_buildid}-pecan Requires: python%{_python_buildid}-pecan
Requires: python%{_python_buildid}-pyOpenSSL Requires: python%{_python_buildid}-pyOpenSSL
Requires: python%{_python_buildid}-bcrypt
Recommends: python%{_python_buildid}-influxdb Recommends: python%{_python_buildid}-influxdb
%endif %endif
%description mgr %description mgr
@ -397,52 +390,48 @@ exposes all these to the python modules.
%package fuse %package fuse
Summary: Ceph fuse-based client Summary: Ceph fuse-based client
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: fuse Requires: fuse
%description fuse %description fuse
FUSE based client for Ceph distributed network file system FUSE based client for Ceph distributed network file system
%package -n rbd-fuse %package -n rbd-fuse
Summary: Ceph fuse-based client Summary: Ceph fuse-based client
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-fuse %description -n rbd-fuse
FUSE based client to map Ceph rbd images to files FUSE based client to map Ceph rbd images to files
%package -n rbd-mirror %package -n rbd-mirror
Summary: Ceph daemon for mirroring RBD images Summary: Ceph daemon for mirroring RBD images
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release} Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-mirror %description -n rbd-mirror
Daemon for mirroring RBD images between Ceph clusters, streaming Daemon for mirroring RBD images between Ceph clusters, streaming
changes asynchronously. changes asynchronously.
%package -n rbd-nbd %package -n rbd-nbd
Summary: Ceph RBD client base on NBD Summary: Ceph RBD client base on NBD
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-nbd %description -n rbd-nbd
NBD based client to map Ceph rbd images to local device NBD based client to map Ceph rbd images to local device
%package radosgw %package radosgw
Summary: Rados REST gateway Summary: Rados REST gateway
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release} Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
%if 0%{with selinux} %if 0%{with selinux}
@ -462,12 +451,11 @@ service as well as the OpenStack Object Storage ("Swift") API.
%if %{with ocf} %if %{with ocf}
%package resource-agents %package resource-agents
Summary: OCF-compliant resource agents for Ceph daemons Summary: OCF-compliant resource agents for Ceph daemons
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version} Requires: ceph-base = %{_epoch_prefix}%{version}
Requires: resource-agents Requires: resource-agents
%description resource-agents %description resource-agents
Resource agents for monitoring and managing Ceph daemons Resource agents for monitoring and managing Ceph daemons
under Open Cluster Framework (OCF) compliant resource under Open Cluster Framework (OCF) compliant resource
@ -476,8 +464,8 @@ managers such as Pacemaker.
%package osd %package osd
Summary: Ceph Object Storage Daemon Summary: Ceph Object Storage Daemon
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
# for sgdisk, used by ceph-disk # for sgdisk, used by ceph-disk
@ -487,9 +475,8 @@ Requires: gdisk
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: gptfdisk Requires: gptfdisk
%endif %endif
Requires: lvm2
Requires: parted Requires: parted
Requires: lvm2
%description osd %description osd
ceph-osd is the object storage daemon for the Ceph distributed file ceph-osd is the object storage daemon for the Ceph distributed file
system. It is responsible for storing objects on a local file system system. It is responsible for storing objects on a local file system
@ -497,8 +484,8 @@ and providing access to them over the network.
%package -n librados2 %package -n librados2
Summary: RADOS distributed object store client library Summary: RADOS distributed object store client library
Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Libraries
%endif %endif
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
@ -511,39 +498,36 @@ store using a simple file-like interface.
%package -n librados-devel %package -n librados-devel
Summary: RADOS headers Summary: RADOS headers
Group: Development/Libraries/C and C++
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: librados2-devel = %{_epoch_prefix}%{version}-%{release} Provides: librados2-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: librados2-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: librados2-devel < %{_epoch_prefix}%{version}-%{release}
%description -n librados-devel %description -n librados-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use RADOS object store. that use RADOS object store.
%package -n librgw2 %package -n librgw2
Summary: RADOS gateway client library Summary: RADOS gateway client library
Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Libraries
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n librgw2 %description -n librgw2
This package provides a library implementation of the RADOS gateway This package provides a library implementation of the RADOS gateway
(distributed object store with S3 and Swift personalities). (distributed object store with S3 and Swift personalities).
%package -n librgw-devel %package -n librgw-devel
Summary: RADOS gateway client library Summary: RADOS gateway client library
Group: Development/Libraries/C and C++
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif %endif
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
Provides: librgw2-devel = %{_epoch_prefix}%{version}-%{release} Provides: librgw2-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: librgw2-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: librgw2-devel < %{_epoch_prefix}%{version}-%{release}
%description -n librgw-devel %description -n librgw-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use RADOS gateway client library. that use RADOS gateway client library.
@ -551,13 +535,12 @@ that use RADOS gateway client library.
%if 0%{with python2} %if 0%{with python2}
%package -n python-rgw %package -n python-rgw
Summary: Python 2 libraries for the RADOS gateway Summary: Python 2 libraries for the RADOS gateway
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release} Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-rgw %description -n python-rgw
This package contains Python 2 libraries for interacting with Cephs RADOS This package contains Python 2 libraries for interacting with Cephs RADOS
gateway. gateway.
@ -565,12 +548,11 @@ gateway.
%package -n python%{python3_pkgversion}-rgw %package -n python%{python3_pkgversion}-rgw
Summary: Python 3 libraries for the RADOS gateway Summary: Python 3 libraries for the RADOS gateway
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release} Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-rgw %description -n python%{python3_pkgversion}-rgw
This package contains Python 3 libraries for interacting with Cephs RADOS This package contains Python 3 libraries for interacting with Cephs RADOS
gateway. gateway.
@ -578,12 +560,11 @@ gateway.
%if 0%{with python2} %if 0%{with python2}
%package -n python-rados %package -n python-rados
Summary: Python 2 libraries for the RADOS object store Summary: Python 2 libraries for the RADOS object store
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-rados %description -n python-rados
This package contains Python 2 libraries for interacting with Cephs RADOS This package contains Python 2 libraries for interacting with Cephs RADOS
object store. object store.
@ -591,23 +572,21 @@ object store.
%package -n python%{python3_pkgversion}-rados %package -n python%{python3_pkgversion}-rados
Summary: Python 3 libraries for the RADOS object store Summary: Python 3 libraries for the RADOS object store
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion} Requires: python%{python3_pkgversion}
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-rados %description -n python%{python3_pkgversion}-rados
This package contains Python 3 libraries for interacting with Cephs RADOS This package contains Python 3 libraries for interacting with Cephs RADOS
object store. object store.
%package -n libradosstriper1 %package -n libradosstriper1
Summary: RADOS striping interface Summary: RADOS striping interface
Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Libraries
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n libradosstriper1 %description -n libradosstriper1
Striping interface built on top of the rados library, allowing Striping interface built on top of the rados library, allowing
to stripe bigger objects onto several standard rados objects using to stripe bigger objects onto several standard rados objects using
@ -615,23 +594,22 @@ an interface very similar to the rados one.
%package -n libradosstriper-devel %package -n libradosstriper-devel
Summary: RADOS striping interface headers Summary: RADOS striping interface headers
Group: Development/Libraries/C and C++
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif %endif
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: libradosstriper1 = %{_epoch_prefix}%{version}-%{release} Requires: libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release} Provides: libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
%description -n libradosstriper-devel %description -n libradosstriper-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use RADOS striping interface. that use RADOS striping interface.
%package -n librbd1 %package -n librbd1
Summary: RADOS block device client library Summary: RADOS block device client library
Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Libraries
%endif %endif
Requires: librados2 = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{?suse_version} %if 0%{?suse_version}
@ -648,15 +626,14 @@ shared library allowing applications to manage these block devices.
%package -n librbd-devel %package -n librbd-devel
Summary: RADOS block device headers Summary: RADOS block device headers
Group: Development/Libraries/C and C++
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif %endif
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: librbd1-devel = %{_epoch_prefix}%{version}-%{release} Provides: librbd1-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: librbd1-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: librbd1-devel < %{_epoch_prefix}%{version}-%{release}
%description -n librbd-devel %description -n librbd-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use RADOS block device. that use RADOS block device.
@ -664,13 +641,12 @@ that use RADOS block device.
%if 0%{with python2} %if 0%{with python2}
%package -n python-rbd %package -n python-rbd
Summary: Python 2 libraries for the RADOS block device Summary: Python 2 libraries for the RADOS block device
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release} Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-rbd %description -n python-rbd
This package contains Python 2 libraries for interacting with Cephs RADOS This package contains Python 2 libraries for interacting with Cephs RADOS
block device. block device.
@ -678,25 +654,24 @@ block device.
%package -n python%{python3_pkgversion}-rbd %package -n python%{python3_pkgversion}-rbd
Summary: Python 3 libraries for the RADOS block device Summary: Python 3 libraries for the RADOS block device
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release} Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-rbd %description -n python%{python3_pkgversion}-rbd
This package contains Python 3 libraries for interacting with Cephs RADOS This package contains Python 3 libraries for interacting with Cephs RADOS
block device. block device.
%package -n libcephfs2 %package -n libcephfs2
Summary: Ceph distributed file system client library Summary: Ceph distributed file system client library
Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Libraries
%endif %endif
Obsoletes: libcephfs1 Obsoletes: libcephfs1
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libcephfs
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-libcephfs
%endif %endif
%description -n libcephfs2 %description -n libcephfs2
Ceph is a distributed network file system designed to provide excellent Ceph is a distributed network file system designed to provide excellent
@ -706,15 +681,14 @@ POSIX-like interface.
%package -n libcephfs-devel %package -n libcephfs-devel
Summary: Ceph distributed file system headers Summary: Ceph distributed file system headers
Group: Development/Libraries/C and C++
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif %endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release} Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: libcephfs2-devel = %{_epoch_prefix}%{version}-%{release} Provides: libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: libcephfs2-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
%description -n libcephfs-devel %description -n libcephfs-devel
This package contains libraries and headers needed to develop programs This package contains libraries and headers needed to develop programs
that use Cephs distributed file system. that use Cephs distributed file system.
@ -722,15 +696,14 @@ that use Cephs distributed file system.
%if 0%{with python2} %if 0%{with python2}
%package -n python-cephfs %package -n python-cephfs
Summary: Python 2 libraries for Ceph distributed file system Summary: Python 2 libraries for Ceph distributed file system
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{?suse_version} %if 0%{?suse_version}
Recommends: python-rados = %{_epoch_prefix}%{version}-%{release} Recommends: python-rados = %{_epoch_prefix}%{version}-%{release}
%endif %endif
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release} Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-cephfs %description -n python-cephfs
This package contains Python 2 libraries for interacting with Cephs distributed This package contains Python 2 libraries for interacting with Cephs distributed
file system. file system.
@ -738,12 +711,11 @@ file system.
%package -n python%{python3_pkgversion}-cephfs %package -n python%{python3_pkgversion}-cephfs
Summary: Python 3 libraries for Ceph distributed file system Summary: Python 3 libraries for Ceph distributed file system
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-cephfs %description -n python%{python3_pkgversion}-cephfs
This package contains Python 3 libraries for interacting with Cephs distributed This package contains Python 3 libraries for interacting with Cephs distributed
file system. file system.
@ -751,8 +723,8 @@ file system.
%if 0%{with python2} %if 0%{with python2}
%package -n python%{python3_pkgversion}-ceph-argparse %package -n python%{python3_pkgversion}-ceph-argparse
Summary: Python 3 utility libraries for Ceph CLI Summary: Python 3 utility libraries for Ceph CLI
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
%description -n python%{python3_pkgversion}-ceph-argparse %description -n python%{python3_pkgversion}-ceph-argparse
This package contains types and routines for Python 3 used by the Ceph CLI as This package contains types and routines for Python 3 used by the Ceph CLI as
@ -764,14 +736,13 @@ descriptions, and submitting the command to the appropriate daemon.
%if 0%{with ceph_test_package} %if 0%{with ceph_test_package}
%package -n ceph-test %package -n ceph-test
Summary: Ceph benchmarks and test tools Summary: Ceph benchmarks and test tools
Group: System/Benchmark
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Benchmark
%endif %endif
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release} Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: xmlstarlet
Requires: jq Requires: jq
Requires: socat Requires: socat
Requires: xmlstarlet
%description -n ceph-test %description -n ceph-test
This package contains Ceph benchmarks and test tools. This package contains Ceph benchmarks and test tools.
%endif %endif
@ -780,41 +751,38 @@ This package contains Ceph benchmarks and test tools.
%package -n libcephfs_jni1 %package -n libcephfs_jni1
Summary: Java Native Interface library for CephFS Java bindings Summary: Java Native Interface library for CephFS Java bindings
Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Libraries
%endif %endif
Requires: java Requires: java
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
%description -n libcephfs_jni1 %description -n libcephfs_jni1
This package contains the Java Native Interface library for CephFS Java This package contains the Java Native Interface library for CephFS Java
bindings. bindings.
%package -n libcephfs_jni-devel %package -n libcephfs_jni-devel
Summary: Development files for CephFS Java Native Interface library Summary: Development files for CephFS Java Native Interface library
Group: Development/Libraries/Java
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Java
%endif %endif
Requires: java Requires: java
Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
Provides: libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release} Provides: libcephfs_jni1-devel = %{_epoch_prefix}%{version}-%{release}
Obsoletes: libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release} Obsoletes: libcephfs_jni1-devel < %{_epoch_prefix}%{version}-%{release}
%description -n libcephfs_jni-devel %description -n libcephfs_jni-devel
This package contains the development files for CephFS Java Native Interface This package contains the development files for CephFS Java Native Interface
library. library.
%package -n cephfs-java %package -n cephfs-java
Summary: Java libraries for the Ceph File System Summary: Java libraries for the Ceph File System
Group: System/Libraries
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Libraries
%endif %endif
Requires: java Requires: java
Requires: junit
Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release} Requires: libcephfs_jni1 = %{_epoch_prefix}%{version}-%{release}
Requires: junit
BuildRequires: junit BuildRequires: junit
%description -n cephfs-java %description -n cephfs-java
This package contains the Java libraries for the Ceph File System. This package contains the Java libraries for the Ceph File System.
@ -822,11 +790,10 @@ This package contains the Java libraries for the Ceph File System.
%package -n rados-objclass-devel %package -n rados-objclass-devel
Summary: RADOS object class development kit Summary: RADOS object class development kit
Group: Development/Libraries/C and C++
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif %endif
Requires: librados2-devel = %{_epoch_prefix}%{version}-%{release} Requires: librados2-devel = %{_epoch_prefix}%{version}-%{release}
%description -n rados-objclass-devel %description -n rados-objclass-devel
This package contains libraries and headers needed to develop RADOS object This package contains libraries and headers needed to develop RADOS object
class plugins. class plugins.
@ -835,16 +802,14 @@ class plugins.
%package selinux %package selinux
Summary: SELinux support for Ceph MON, OSD and MDS Summary: SELinux support for Ceph MON, OSD and MDS
Group: System/Filesystems
%if 0%{?suse_version} %if 0%{?suse_version}
Group: System/Filesystems
%endif %endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: libselinux-utils Requires: policycoreutils, libselinux-utils
Requires: policycoreutils
Requires(post): ceph-base = %{_epoch_prefix}%{version}-%{release} Requires(post): ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk Requires(post): selinux-policy-base >= %{_selinux_policy_version}, policycoreutils, gawk
Requires(postun): policycoreutils Requires(postun): policycoreutils
%description selinux %description selinux
This package contains SELinux support for Ceph MON, OSD and MDS. The package This package contains SELinux support for Ceph MON, OSD and MDS. The package
also performs file-system relabelling which can take a long time on heavily also performs file-system relabelling which can take a long time on heavily
@ -855,16 +820,15 @@ populated file-systems.
%if 0%{with python2} %if 0%{with python2}
%package -n python-ceph-compat %package -n python-ceph-compat
Summary: Compatibility package for Cephs python libraries Summary: Compatibility package for Cephs python libraries
Group: Development/Libraries/Python
%if 0%{?suse_version} %if 0%{?suse_version}
Group: Development/Libraries/Python
%endif %endif
Obsoletes: python-ceph Obsoletes: python-ceph
Requires: python-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python-rados = %{_epoch_prefix}%{version}-%{release} Requires: python-rados = %{_epoch_prefix}%{version}-%{release}
Requires: python-rbd = %{_epoch_prefix}%{version}-%{release} Requires: python-rbd = %{_epoch_prefix}%{version}-%{release}
Requires: python-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python-rgw = %{_epoch_prefix}%{version}-%{release} Requires: python-rgw = %{_epoch_prefix}%{version}-%{release}
Provides: python-ceph Provides: python-ceph
%description -n python-ceph-compat %description -n python-ceph-compat
This is a compatibility package to accommodate python-ceph split into This is a compatibility package to accommodate python-ceph split into
python-rados, python-rbd, python-rgw and python-cephfs. Packages still python-rados, python-rbd, python-rgw and python-cephfs. Packages still
@ -978,6 +942,7 @@ cmake .. \
make "$CEPH_MFLAGS_JOBS" make "$CEPH_MFLAGS_JOBS"
%if 0%{with make_check} %if 0%{with make_check}
%check %check
# run in-tree unittests # run in-tree unittests
@ -985,6 +950,7 @@ cd build
ctest "$CEPH_MFLAGS_JOBS" ctest "$CEPH_MFLAGS_JOBS"
%endif %endif
%install %install
pushd build pushd build
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
@ -1902,6 +1868,6 @@ exit 0
# actually build this meta package. # actually build this meta package.
%endif %endif
# nospeccleaner
%changelog %changelog
# nospeccleaner