1f1c83
#
1f1c83
# spec file for package ceph
1f1c83
#
1f1c83
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
1f1c83
# at the top-level directory of this distribution and at
1f1c83
# https://github.com/ceph/ceph/blob/master/COPYING
1f1c83
#
1f1c83
# All modifications and additions to the file contributed by third parties
1f1c83
# remain the property of their copyright owners, unless otherwise agreed
1f1c83
# upon.
1f1c83
#
1f1c83
# This file is under the GNU Lesser General Public License, version 2.1
1f1c83
#
1f1c83
# Please submit bugfixes or comments via http://tracker.ceph.com/
1f1c83
#
1f1c83
1f1c83
#################################################################################
1f1c83
# conditional build section
1f1c83
#
1f1c83
# please read http://rpm.org/user_doc/conditional_builds.html for explanation of
1f1c83
# bcond syntax!
1f1c83
#################################################################################
1f1c83
%global _hardened_build 1
1f1c83
1f1c83
%bcond_with make_check
1f1c83
%bcond_with zbd
1f1c83
%bcond_with cmake_verbose_logging
1f1c83
%bcond_with ceph_test_package
1f1c83
%bcond_with tcmalloc
1f1c83
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
%bcond_with amqp_endpoint
1f1c83
%bcond_with kafka_endpoint
1f1c83
%bcond_with lttng
1f1c83
%bcond_without libradosstriper
1f1c83
%bcond_with ocf
1f1c83
%global _remote_tarball_prefix https://download.ceph.com/tarballs/
1f1c83
%endif
1f1c83
%bcond_with jaeger
1f1c83
%bcond_with rbd_rwl_cache
1f1c83
%bcond_with rbd_ssd_cache
1f1c83
%if 0%{?fedora} || 0%{?suse_version} >= 1500
1f1c83
# distros that ship cmd2 and/or colorama
1f1c83
%bcond_without cephfs_shell
1f1c83
%else
1f1c83
# distros that do _not_ ship cmd2/colorama
1f1c83
%bcond_with cephfs_shell
1f1c83
%endif
1f1c83
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
1f1c83
%global weak_deps 1
1f1c83
%endif
1f1c83
1f1c83
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
1f1c83
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
1f1c83
%{!?python3_pkgversion: %global python3_pkgversion 3}
1f1c83
%{!?python3_version_nodots: %global python3_version_nodots 3}
1f1c83
%{!?python3_version: %global python3_version 3}
1f1c83
1f1c83
# disable dwz which compresses the debuginfo
1f1c83
%global _find_debuginfo_dwz_opts %{nil}
1f1c83
1f1c83
#################################################################################
1f1c83
# main package definition
1f1c83
#################################################################################
1f1c83
Name:		ceph
1f1c83
Version:	16.2.4
1f1c83
Release:	5%{?dist}
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
Epoch:		2
1f1c83
%endif
1f1c83
1f1c83
# define _epoch_prefix macro which will expand to the empty string if epoch is
1f1c83
# undefined
1f1c83
%global _epoch_prefix %{?epoch:%{epoch}:}
1f1c83
1f1c83
Summary:	User space components of the Ceph file system
1f1c83
#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
1f1c83
License:	LGPLv2+ and CC-BY-SA-3.0 and GPLv2 and Boost and BSD and MIT
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Filesystems
1f1c83
%endif
1f1c83
URL:		http://ceph.com/
1f1c83
Source0:        ceph-16.2.4.tar.gz
1f1c83
Patch0001:	0001-src-common-crc32c_intel_fast.patch
1f1c83
Patch0002:	0002-src-common-CMakeLists.txt.patch
1f1c83
Patch0003:	0003-src-common-bitstr.h.patch
1f1c83
Patch0006:	0006-src-blk-CMakeLists.txt.patch
1f1c83
Patch0007:	0007-src-test-neorados-CMakeLists.txt.patch
1f1c83
Patch0008:	0008-cmake-modules-Finduring.cmake.patch
1f1c83
Patch0009:	0009-librgw-notifications-initialize-kafka-and-amqp.patch
1f1c83
Patch0010:	0010-os-bluestore-strip-trailing-slash-for-directory-list.patch
1f1c83
Patch0011:	0011-src-test-rgw-amqp_mock.cc.patch
1f1c83
Patch0012:	0012-src-compressor-snappy-SnappyCompressor.h.patch
1f1c83
Patch0013:	0013-osdc-Objecter-move-LingerOp-s-ctor-to-.cc.patch
1f1c83
Patch0014:	0014-cmake-add-an-option-WITH_FMT_HEADER_ONLY.patch
1f1c83
Patch0015:	0015-ceph.spec.in-build-with-header-only-fmt-on-RHEL.patch
1f1c83
Patch0016:      0016-cmake-link-bundled-fmt-statically.patch
1f1c83
# ceph 14.0.1 does not support 32-bit architectures, bugs #1727788, #1727787
1f1c83
ExcludeArch:	i686 armv7hl
1f1c83
%if 0%{?suse_version}
1f1c83
# _insert_obs_source_lines_here
1f1c83
ExclusiveArch:	x86_64 aarch64 ppc64le s390x
1f1c83
%endif
1f1c83
#################################################################################
1f1c83
# dependencies that apply across all distro families
1f1c83
#################################################################################
1f1c83
Requires:	ceph-osd = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	ceph-mds = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	ceph-mgr = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	ceph-mon = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires(post):	binutils
1f1c83
BuildRequires:	gperf
1f1c83
BuildRequires:	cmake > 3.5
1f1c83
BuildRequires:	cryptsetup
1f1c83
BuildRequires:	fuse3-devel
1f1c83
BuildRequires:	doxygen
1f1c83
%if 0%{?rhel} == 7
1f1c83
# devtoolset offers newer make and valgrind-devel, but the old ones are good
1f1c83
# enough.
1f1c83
BuildRequires:	devtoolset-9-gcc-c++ >= 9.2.1-2.3
1f1c83
%else
1f1c83
BuildRequires:	gcc-c++
1f1c83
%endif
1f1c83
BuildRequires:	gdbm
1f1c83
%if 0%{with tcmalloc}
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
BuildRequires:	gperftools-devel >= 2.6.1
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
BuildRequires:	gperftools-devel >= 2.4
1f1c83
%endif
1f1c83
%endif
1f1c83
BuildRequires:	libaio-devel
1f1c83
BuildRequires:	libblkid-devel >= 2.17
1f1c83
BuildRequires:	cryptsetup-devel
1f1c83
BuildRequires:	libcurl-devel
1f1c83
BuildRequires:	libcap-ng-devel
1f1c83
BuildRequires:	pkgconfig(libudev)
1f1c83
BuildRequires:	libnl3-devel
1f1c83
BuildRequires:	libtool
1f1c83
BuildRequires:	libxml2-devel
1f1c83
BuildRequires:	make
1f1c83
BuildRequires:	ncurses-devel
1f1c83
BuildRequires:	parted
1f1c83
BuildRequires:	patch
1f1c83
BuildRequires:	perl
1f1c83
BuildRequires:	pkgconfig
1f1c83
BuildRequires:	procps
1f1c83
BuildRequires:	python%{python3_pkgversion}
1f1c83
BuildRequires:	python%{python3_pkgversion}-devel
1f1c83
BuildRequires:	python%{python3_pkgversion}-setuptools
1f1c83
BuildRequires:	snappy-devel
1f1c83
BuildRequires:	sqlite-devel
1f1c83
BuildRequires:	sudo
1f1c83
BuildRequires:	pkgconfig(udev)
1f1c83
BuildRequires:	util-linux
1f1c83
BuildRequires:	valgrind-devel
1f1c83
BuildRequires:	which
1f1c83
BuildRequires:	xfsprogs
1f1c83
BuildRequires:	xfsprogs-devel
1f1c83
BuildRequires:	lua-devel
1f1c83
BuildRequires:	nasm
1f1c83
%if 0%{with amqp_endpoint}
1f1c83
BuildRequires:	librabbitmq-devel
1f1c83
%endif
1f1c83
%if 0%{with kafka_endpoint}
1f1c83
BuildRequires:	librdkafka-devel
1f1c83
%endif
1f1c83
%if 0%{with lua_packages}
1f1c83
BuildRequires:  %{luarocks_package_name}
1f1c83
%endif
1f1c83
%if 0%{with make_check}
1f1c83
BuildRequires:	jq
1f1c83
BuildRequires:	libuuid-devel
1f1c83
BuildRequires:	python%{python3_pkgversion}-bcrypt
1f1c83
BuildRequires:	python%{python3_pkgversion}-nose
1f1c83
BuildRequires:	python%{python3_pkgversion}-pecan
1f1c83
BuildRequires:	python%{python3_pkgversion}-requests
1f1c83
BuildRequires:	python%{python3_pkgversion}-dateutil
1f1c83
BuildRequires:	python%{python3_pkgversion}-coverage
1f1c83
BuildRequires:	python%{python3_pkgversion}-pyOpenSSL
1f1c83
BuildRequires:	socat
1f1c83
%endif
1f1c83
%if 0%{with zbd}
1f1c83
BuildRequires:  libzbd-devel
1f1c83
%endif
1f1c83
%if 0%{with jaeger}
1f1c83
BuildRequires:	bison
1f1c83
BuildRequires:	flex
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
BuildRequires:	json-devel
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
BuildRequires:	nlohmann_json-devel
1f1c83
%endif
1f1c83
BuildRequires:	libevent-devel
1f1c83
BuildRequires:	yaml-cpp-devel
1f1c83
%endif
1f1c83
#################################################################################
1f1c83
# distro-conditional dependencies
1f1c83
#################################################################################
1f1c83
%if 0%{?suse_version}
1f1c83
BuildRequires:	pkgconfig(systemd)
1f1c83
BuildRequires:	systemd-rpm-macros
1f1c83
%{?systemd_requires}
1f1c83
PreReq:		%fillup_prereq
1f1c83
BuildRequires:	fdupes
1f1c83
BuildRequires:	net-tools
1f1c83
BuildRequires:	libbz2-devel
1f1c83
BuildRequires:	mozilla-nss-devel
1f1c83
BuildRequires:	keyutils-devel
1f1c83
BuildRequires:	libopenssl-devel
1f1c83
BuildRequires:	lsb-release
1f1c83
BuildRequires:	openldap2-devel
1f1c83
#BuildRequires:	krb5
1f1c83
#BuildRequires:	krb5-devel
1f1c83
BuildRequires:	cunit-devel
1f1c83
BuildRequires:	python%{python3_pkgversion}-setuptools
1f1c83
BuildRequires:	python%{python3_pkgversion}-Cython
1f1c83
BuildRequires:	python%{python3_pkgversion}-PrettyTable
1f1c83
BuildRequires:	python%{python3_pkgversion}-Sphinx
1f1c83
BuildRequires:	rdma-core-devel
1f1c83
BuildRequires:	liblz4-devel >= 1.7
1f1c83
# for prometheus-alerts
1f1c83
BuildRequires:	golang-github-prometheus-prometheus
1f1c83
%endif
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
Requires:	systemd
1f1c83
BuildRequires:	boost-devel
1f1c83
BuildRequires:	boost-random
1f1c83
BuildRequires:	nss-devel
1f1c83
BuildRequires:	keyutils-libs-devel
1f1c83
BuildRequires:	libibverbs-devel
1f1c83
BuildRequires:	librdmacm-devel
1f1c83
BuildRequires:	openldap-devel
1f1c83
#BuildRequires:	krb5-devel
1f1c83
BuildRequires:	openssl-devel
1f1c83
BuildRequires:	CUnit-devel
1f1c83
BuildRequires:	redhat-lsb-core
1f1c83
BuildRequires:	python%{python3_pkgversion}-devel
1f1c83
BuildRequires:	python%{python3_pkgversion}-setuptools
1f1c83
BuildRequires:	python%{python3_pkgversion}-Cython
1f1c83
BuildRequires:	python%{python3_pkgversion}-prettytable
1f1c83
BuildRequires:	python%{python3_pkgversion}-sphinx
1f1c83
BuildRequires:	lz4-devel >= 1.7
1f1c83
%endif
1f1c83
# distro-conditional make check dependencies
1f1c83
%if 0%{with make_check}
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
BuildRequires:	libtool-ltdl-devel
1f1c83
BuildRequires:	xmlsec1
1f1c83
BuildRequires:	xmlsec1-devel
1f1c83
%ifarch x86_64
1f1c83
BuildRequires:	xmlsec1-nss
1f1c83
%endif
1f1c83
BuildRequires:	xmlsec1-openssl
1f1c83
BuildRequires:	xmlsec1-openssl-devel
1f1c83
BuildRequires:	python%{python3_pkgversion}-cherrypy
1f1c83
BuildRequires:	python%{python3_pkgversion}-jwt
1f1c83
BuildRequires:	python%{python3_pkgversion}-routes
1f1c83
BuildRequires:	python%{python3_pkgversion}-scipy
1f1c83
BuildRequires:	python%{python3_pkgversion}-werkzeug
1f1c83
BuildRequires:	python%{python3_pkgversion}-pyOpenSSL
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
BuildRequires:	libxmlsec1-1
1f1c83
BuildRequires:	libxmlsec1-nss1
1f1c83
BuildRequires:	libxmlsec1-openssl1
1f1c83
BuildRequires:	python%{python3_pkgversion}-CherryPy
1f1c83
BuildRequires:	python%{python3_pkgversion}-PyJWT
1f1c83
BuildRequires:	python%{python3_pkgversion}-Routes
1f1c83
BuildRequires:	python%{python3_pkgversion}-Werkzeug
1f1c83
BuildRequires:	python%{python3_pkgversion}-numpy-devel
1f1c83
BuildRequires:	xmlsec1-devel
1f1c83
BuildRequires:	xmlsec1-openssl-devel
1f1c83
%endif
1f1c83
%endif
1f1c83
# lttng and babeltrace for rbd-replay-prep
1f1c83
%if %{with lttng}
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
BuildRequires:	lttng-ust-devel
1f1c83
BuildRequires:	libbabeltrace-devel
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
BuildRequires:	lttng-ust-devel
1f1c83
BuildRequires:	babeltrace-devel
1f1c83
%endif
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
BuildRequires:	libexpat-devel
1f1c83
%endif
1f1c83
%if 0%{?rhel} || 0%{?fedora}
1f1c83
BuildRequires:	expat-devel
1f1c83
%endif
1f1c83
#hardened-cc1
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
BuildRequires:	redhat-rpm-config
1f1c83
%endif
1f1c83
%if 0%{?rhel} >= 8
1f1c83
BuildRequires:	/usr/bin/pathfix.py
1f1c83
%endif
1f1c83
1f1c83
%description
1f1c83
Ceph is a massively scalable, open-source, distributed storage system that runs
1f1c83
on commodity hardware and delivers object, block and file system storage.
1f1c83
1f1c83
1f1c83
#################################################################################
1f1c83
# subpackages
1f1c83
#################################################################################
1f1c83
%package -n ceph-common
1f1c83
Summary:	Ceph Common
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Filesystems
1f1c83
%endif
1f1c83
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-rbd = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-cephfs = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
1f1c83
%if 0%{with jaeger}
1f1c83
Requires:	libjaeger = %{_epoch_prefix}%{version}-%{release}
1f1c83
%endif
1f1c83
%if 0%{?fedora} || 0%{?rhel}
1f1c83
Requires:	python%{python3_pkgversion}-prettytable
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
Requires:	python%{python3_pkgversion}-PrettyTable
1f1c83
%endif
1f1c83
%if 0%{with libradosstriper}
1f1c83
Requires:	libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
1f1c83
%endif
1f1c83
%{?systemd_requires}
1f1c83
%if 0%{?suse_version}
1f1c83
Requires(pre):	pwdutils
1f1c83
%endif
1f1c83
%description -n ceph-common
1f1c83
Common utilities to mount and interact with a ceph storage cluster.
1f1c83
Comprised of files that are common to Ceph clients and servers.
1f1c83
1f1c83
%package -n librados2
1f1c83
Summary:	RADOS distributed object store client library
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Libraries
1f1c83
%endif
1f1c83
%if 0%{?rhel} || 0%{?fedora}
1f1c83
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
1f1c83
%endif
1f1c83
%description -n librados2
1f1c83
RADOS is a reliable, autonomic distributed object storage cluster
1f1c83
developed as part of the Ceph distributed storage system. This is a
1f1c83
shared library allowing applications to access the distributed object
1f1c83
store using a simple file-like interface.
1f1c83
1f1c83
%package -n librados-devel
1f1c83
Summary:	RADOS headers
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/C and C++
1f1c83
%endif
1f1c83
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
Provides:	librados2-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	librados2-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n librados-devel
1f1c83
This package contains C libraries and headers needed to develop programs
1f1c83
that use RADOS object store.
1f1c83
1f1c83
%package -n libradospp-devel
1f1c83
Summary:	RADOS headers
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/C and C++
1f1c83
%endif
1f1c83
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n libradospp-devel
1f1c83
This package contains C++ libraries and headers needed to develop programs
1f1c83
that use RADOS object store.
1f1c83
1f1c83
%package -n python%{python3_pkgversion}-rados
1f1c83
Summary:	Python 3 libraries for the RADOS object store
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/Python
1f1c83
%endif
1f1c83
Requires:	python%{python3_pkgversion}
1f1c83
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
%{?python_provide:%python_provide python%{python3_pkgversion}-rados}
1f1c83
Provides:	python-rados = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	python-rados < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n python%{python3_pkgversion}-rados
1f1c83
This package contains Python 3 libraries for interacting with Ceph RADOS
1f1c83
object store.
1f1c83
1f1c83
%package -n libcephsqlite
1f1c83
Summary:	SQLite3 VFS for Ceph
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Libraries
1f1c83
%endif
1f1c83
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n libcephsqlite
1f1c83
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
1f1c83
distributed object store.
1f1c83
1f1c83
%package -n libcephsqlite-devel
1f1c83
Summary:	SQLite3 VFS for Ceph headers
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/C and C++
1f1c83
%endif
1f1c83
Requires:	sqlite-devel
1f1c83
Requires:	libcephsqlite = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
Provides:	libcephsqlite-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	libcephsqlite-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n libcephsqlite-devel
1f1c83
A SQLite3 VFS for storing and manipulating databases stored on Ceph's RADOS
1f1c83
distributed object store.
1f1c83
1f1c83
%if 0%{with libradosstriper}
1f1c83
%package -n libradosstriper1
1f1c83
Summary:	RADOS striping interface
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Libraries
1f1c83
%endif
1f1c83
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n libradosstriper1
1f1c83
Striping interface built on top of the rados library, allowing
1f1c83
to stripe bigger objects onto several standard rados objects using
1f1c83
an interface very similar to the rados one.
1f1c83
1f1c83
%package -n libradosstriper-devel
1f1c83
Summary:	RADOS striping interface headers
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/C and C++
1f1c83
%endif
1f1c83
Requires:	libradosstriper1 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
Provides:	libradosstriper1-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	libradosstriper1-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n libradosstriper-devel
1f1c83
This package contains libraries and headers needed to develop programs
1f1c83
that use RADOS striping interface.
1f1c83
%endif
1f1c83
1f1c83
%package -n librbd1
1f1c83
Summary:	RADOS block device client library
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Libraries
1f1c83
%endif
1f1c83
Requires:	librados2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
%if 0%{?suse_version}
1f1c83
Requires(post): coreutils
1f1c83
%endif
1f1c83
%if 0%{?rhel} || 0%{?fedora}
1f1c83
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
1f1c83
%endif
1f1c83
%description -n librbd1
1f1c83
RBD is a block device striped across multiple distributed objects in
1f1c83
RADOS, a reliable, autonomic distributed object storage cluster
1f1c83
developed as part of the Ceph distributed storage system. This is a
1f1c83
shared library allowing applications to manage these block devices.
1f1c83
1f1c83
%package -n librbd-devel
1f1c83
Summary:	RADOS block device headers
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/C and C++
1f1c83
%endif
1f1c83
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
Provides:	librbd1-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	librbd1-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n librbd-devel
1f1c83
This package contains libraries and headers needed to develop programs
1f1c83
that use RADOS block device.
1f1c83
1f1c83
%package -n python%{python3_pkgversion}-rbd
1f1c83
Summary:	Python 3 libraries for the RADOS block device
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/Python
1f1c83
%endif
1f1c83
Requires:	librbd1 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
1f1c83
%{?python_provide:%python_provide python%{python3_pkgversion}-rbd}
1f1c83
Provides:	python-rbd = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	python-rbd < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n python%{python3_pkgversion}-rbd
1f1c83
This package contains Python 3 libraries for interacting with Ceph RADOS
1f1c83
block device.
1f1c83
1f1c83
%package -n libcephfs2
1f1c83
Summary:	Ceph distributed file system client library
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Libraries
1f1c83
%endif
1f1c83
Obsoletes:	libcephfs1 < %{_epoch_prefix}%{version}-%{release}
1f1c83
%if 0%{?rhel} || 0%{?fedora}
1f1c83
Obsoletes:	ceph-libs < %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	ceph-libcephfs < %{_epoch_prefix}%{version}-%{release}
1f1c83
%endif
1f1c83
%description -n libcephfs2
1f1c83
Ceph is a distributed network file system designed to provide excellent
1f1c83
performance, reliability, and scalability. This is a shared library
1f1c83
allowing applications to access a Ceph distributed file system via a
1f1c83
POSIX-like interface.
1f1c83
1f1c83
%package -n libcephfs-devel
1f1c83
Summary:	Ceph distributed file system headers
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/C and C++
1f1c83
%endif
1f1c83
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	librados-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	ceph-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
Provides:	libcephfs2-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	libcephfs2-devel < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n libcephfs-devel
1f1c83
This package contains libraries and headers needed to develop programs
1f1c83
that use Ceph distributed file system.
1f1c83
1f1c83
%package -n python%{python3_pkgversion}-cephfs
1f1c83
Summary:	Python 3 libraries for Ceph distributed file system
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/Python
1f1c83
%endif
1f1c83
Requires:	libcephfs2 = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-rados = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	python%{python3_pkgversion}-ceph-argparse = %{_epoch_prefix}%{version}-%{release}
1f1c83
%{?python_provide:%python_provide python%{python3_pkgversion}-cephfs}
1f1c83
Provides:	python-cephfs = %{_epoch_prefix}%{version}-%{release}
1f1c83
Obsoletes:	python-cephfs < %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n python%{python3_pkgversion}-cephfs
1f1c83
This package contains Python 3 libraries for interacting with Ceph distributed
1f1c83
file system.
1f1c83
1f1c83
%package -n python%{python3_pkgversion}-ceph-argparse
1f1c83
Summary:	Python 3 utility libraries for Ceph CLI
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/Python
1f1c83
%endif
1f1c83
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-argparse}
1f1c83
%description -n python%{python3_pkgversion}-ceph-argparse
1f1c83
This package contains types and routines for Python 3 used by the Ceph CLI as
1f1c83
well as the RESTful interface. These have to do with querying the daemons for
1f1c83
command-description information, validating user command input against those
1f1c83
descriptions, and submitting the command to the appropriate daemon.
1f1c83
1f1c83
%package -n python%{python3_pkgversion}-ceph-common
1f1c83
Summary:	Python 3 utility libraries for Ceph
1f1c83
%if 0%{?fedora} || 0%{?rhel} >= 8
1f1c83
Requires:	python%{python3_pkgversion}-pyyaml
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
Requires:	python%{python3_pkgversion}-PyYAML
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/Python
1f1c83
%endif
1f1c83
%{?python_provide:%python_provide python%{python3_pkgversion}-ceph-common}
1f1c83
%description -n python%{python3_pkgversion}-ceph-common
1f1c83
This package contains data structures, classes and functions used by Ceph.
1f1c83
It also contains utilities used for the cephadm orchestrator.
1f1c83
1f1c83
%if 0%{with ceph_test_package}
1f1c83
%package -n ceph-test
1f1c83
Summary:	Ceph benchmarks and test tools
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		System/Benchmark
1f1c83
%endif
1f1c83
Requires:	ceph-common = %{_epoch_prefix}%{version}-%{release}
1f1c83
Requires:	xmlstarlet
1f1c83
Requires:	jq
1f1c83
Requires:	socat
1f1c83
BuildRequires:	gtest-devel
1f1c83
BuildRequires:	gmock-devel
1f1c83
%description -n ceph-test
1f1c83
This package contains Ceph benchmarks and test tools.
1f1c83
%endif
1f1c83
1f1c83
%package -n rados-objclass-devel
1f1c83
Summary:	RADOS object class development kit
1f1c83
%if 0%{?suse_version}
1f1c83
Group:		Development/Libraries/C and C++
1f1c83
%endif
1f1c83
Requires:	libradospp-devel = %{_epoch_prefix}%{version}-%{release}
1f1c83
%description -n rados-objclass-devel
1f1c83
This package contains libraries and headers needed to develop RADOS object
1f1c83
class plugins.
1f1c83
1f1c83
#################################################################################
1f1c83
# common
1f1c83
#################################################################################
1f1c83
%prep
1f1c83
%autosetup -p1 -n ceph-16.2.4
1f1c83
1f1c83
%build
1f1c83
# LTO can be enabled as soon as the following GCC bug is fixed:
1f1c83
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200
1f1c83
%define _lto_cflags %{nil}
1f1c83
1f1c83
%if 0%{?suse_version}
1f1c83
# the following setting fixed an OOM condition we once encountered in the OBS
1f1c83
RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
1f1c83
%endif
1f1c83
1f1c83
export CPPFLAGS="$java_inc"
1f1c83
export CFLAGS="$RPM_OPT_FLAGS"
1f1c83
export CXXFLAGS="$RPM_OPT_FLAGS"
1f1c83
export LDFLAGS="$RPM_LD_FLAGS"
1f1c83
1f1c83
# Parallel build settings ...
1f1c83
CEPH_MFLAGS_JOBS="%{?_smp_mflags}"
1f1c83
CEPH_SMP_NCPUS=$(echo "$CEPH_MFLAGS_JOBS" | sed 's/-j//')
1f1c83
%if 0%{?__isa_bits} == 32
1f1c83
# 32-bit builds can use 3G memory max, which is not enough even for -j2
1f1c83
CEPH_SMP_NCPUS="1"
1f1c83
%endif
1f1c83
# do not eat all memory
1f1c83
echo "Available memory:"
1f1c83
free -h
1f1c83
echo "System limits:"
1f1c83
ulimit -a
1f1c83
if test -n "$CEPH_SMP_NCPUS" -a "$CEPH_SMP_NCPUS" -gt 1 ; then
1f1c83
    mem_per_process=2700
1f1c83
    max_mem=$(LANG=C free -m | sed -n "s|^Mem: *\([0-9]*\).*$|\1|p")
1f1c83
    max_jobs="$(($max_mem / $mem_per_process))"
1f1c83
    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"
1f1c83
    test "$CEPH_SMP_NCPUS" -le 0 && CEPH_SMP_NCPUS="1" && echo "Warning: Not using parallel build at all because of memory limits"
1f1c83
fi
1f1c83
export CEPH_SMP_NCPUS
1f1c83
export CEPH_MFLAGS_JOBS="-j$CEPH_SMP_NCPUS"
1f1c83
1f1c83
env | sort
1f1c83
1f1c83
mkdir build
1f1c83
cd build
1f1c83
%{cmake} .. \
1f1c83
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
1f1c83
    -DBUILD_CONFIG=rpmbuild \
1f1c83
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
1f1c83
    -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
1f1c83
    -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
1f1c83
    -DCMAKE_INSTALL_LOCALSTATEDIR=%{_localstatedir} \
1f1c83
    -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
1f1c83
    -DCMAKE_INSTALL_MANDIR=%{_mandir} \
1f1c83
    -DCMAKE_INSTALL_DOCDIR=%{_docdir}/ceph \
1f1c83
    -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
1f1c83
    -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR=%{_unitdir} \
1f1c83
    -DWITH_MGR=OFF \
1f1c83
    -DWITH_EMBEDDED=OFF \
1f1c83
    -DWITH_MANPAGE=ON \
1f1c83
    -DWITH_PYTHON3=%{python3_version} \
1f1c83
    -DWITH_MGR_DASHBOARD_FRONTEND=OFF \
1f1c83
    -DWITH_SYSTEMD=ON \
1f1c83
    -DWITH_SYSTEM_BOOST=ON \
1f1c83
    -DWITH_SPDK=OFF \
1f1c83
    -DWITH_PMEM=OFF \
1f1c83
    -DWITH_BOOST_CONTEXT=OFF \
1f1c83
    -DWITH_LEVELDB=OFF \
1f1c83
    -DWITH_RADOSGW=OFF \
1f1c83
    -DWITH_SELINUX=OFF \
1f1c83
    -DWITH_CEPHFS_JAVA=OFF \
1f1c83
%if 0%{without ceph_test_package}
1f1c83
    -DWITH_TESTS=OFF \
1f1c83
%endif
1f1c83
%if %{with lttng}
1f1c83
    -DWITH_LTTNG=ON \
1f1c83
    -DWITH_BABELTRACE=ON \
1f1c83
%else
1f1c83
    -DWITH_LTTNG=OFF \
1f1c83
    -DWITH_BABELTRACE=OFF \
1f1c83
%endif
1f1c83
    $CEPH_EXTRA_CMAKE_ARGS \
1f1c83
%if 0%{with ocf}
1f1c83
    -DWITH_OCF=ON \
1f1c83
%endif
1f1c83
    -DWITH_REENTRANT_STRSIGNAL=ON \
1f1c83
    -DWITH_SYSTEM_BOOST=ON \
1f1c83
%if 0%{with cephfs_shell}
1f1c83
    -DWITH_CEPHFS_SHELL=ON \
1f1c83
%endif
1f1c83
%if 0%{with libradosstriper}
1f1c83
    -DWITH_LIBRADOSSTRIPER=ON \
1f1c83
%else
1f1c83
    -DWITH_LIBRADOSSTRIPER=OFF \
1f1c83
%endif
1f1c83
%if 0%{with amqp_endpoint}
1f1c83
    -DWITH_RADOSGW_AMQP_ENDPOINT=ON \
1f1c83
%else
1f1c83
    -DWITH_RADOSGW_AMQP_ENDPOINT=OFF \
1f1c83
%endif
1f1c83
%if 0%{with kafka_endpoint}
1f1c83
    -DWITH_RADOSGW_KAFKA_ENDPOINT=ON \
1f1c83
%else
1f1c83
    -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \
1f1c83
%endif
1f1c83
%if 0%{without lua_packages}
1f1c83
    -DWITH_RADOSGW_LUA_PACKAGES=OFF \
1f1c83
%endif
1f1c83
%if 0%{with zbd}
1f1c83
    -DWITH_ZBD=ON \
1f1c83
%endif
1f1c83
%if 0%{with cmake_verbose_logging}
1f1c83
    -DCMAKE_VERBOSE_MAKEFILE=ON \
1f1c83
%endif
1f1c83
%if 0%{with rbd_rwl_cache}
1f1c83
    -DWITH_RBD_RWL=ON \
1f1c83
%endif
1f1c83
%if 0%{with rbd_ssd_cache}
1f1c83
    -DWITH_RBD_SSD_CACHE=ON \
1f1c83
%endif
1f1c83
    -DBOOST_J=$CEPH_SMP_NCPUS \
1f1c83
%if 0%{with ceph_test_package}
1f1c83
    -DWITH_SYSTEM_GTEST=ON \
1f1c83
%endif
1f1c83
    -DWITH_FMT_HEADER_ONLY=ON \
1f1c83
    -DWITH_GRAFANA=OFF
1f1c83
1f1c83
%if %{with cmake_verbose_logging}
1f1c83
cat ./CMakeFiles/CMakeOutput.log
1f1c83
cat ./CMakeFiles/CMakeError.log
1f1c83
%endif
1f1c83
1f1c83
export VERBOSE=1
1f1c83
export V=1
1f1c83
%cmake_build "$CEPH_MFLAGS_JOBS"
1f1c83
1f1c83
1f1c83
%if 0%{with make_check}
1f1c83
%check
1f1c83
# run in-tree unittests
1f1c83
# cd build
1f1c83
# ctest "$CEPH_MFLAGS_JOBS"
1f1c83
%endif
1f1c83
1f1c83
1f1c83
%install
1f1c83
pushd build
1f1c83
%cmake_install
1f1c83
# we have dropped sysvinit bits
1f1c83
rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
1f1c83
popd
1f1c83
install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
1f1c83
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
1f1c83
mkdir -p %{buildroot}%{_sbindir}
1f1c83
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
1f1c83
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
1f1c83
1f1c83
# firewall templates and /sbin/mount.ceph symlink
1f1c83
%if 0%{?suse_version}
1f1c83
mkdir -p %{buildroot}/sbin
1f1c83
ln -sf %{_sbindir}/mount.ceph %{buildroot}/sbin/mount.ceph
1f1c83
%endif
1f1c83
1f1c83
# udev rules
1f1c83
install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
1f1c83
1f1c83
%if 0%{?rhel} >= 8
1f1c83
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/*
1f1c83
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_sbindir}/*
1f1c83
%endif
1f1c83
1f1c83
#set up placeholder directories
1f1c83
mkdir -p %{buildroot}%{_sysconfdir}/ceph
1f1c83
mkdir -p %{buildroot}%{_localstatedir}/run/ceph
1f1c83
mkdir -p %{buildroot}%{_localstatedir}/log/ceph
1f1c83
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph
1f1c83
1f1c83
# Remove the rbd/fuse bits
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-fuse
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-fuse.8*
1f1c83
rm -f %{buildroot}%{_sbindir}/mount.fuse.ceph
1f1c83
rm -f %{buildroot}%{_mandir}/man8/mount.fuse.ceph.8*
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-fuse@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-fuse.target
1f1c83
rm -f %{buildroot}%{_bindir}/rbd-fuse
1f1c83
rm -f %{buildroot}%{_mandir}/man8/rbd-fuse.8*
1f1c83
1f1c83
# Remove the ceph-base package
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-crash
1f1c83
rm -f %{buildroot}%{_bindir}/crushtool
1f1c83
rm -f %{buildroot}%{_bindir}/monmaptool
1f1c83
rm -f %{buildroot}%{_bindir}/osdmaptool
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-kvstore-tool
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-run
1f1c83
rm -f %{buildroot}%{_sbindir}/ceph-create-keys
1f1c83
rm -f %{buildroot}%{_sbindir}/ceph-volume
1f1c83
rm -f %{buildroot}%{_sbindir}/ceph-volume-systemd
1f1c83
rm -f %{buildroot}%{_libexecdir}/ceph/ceph_common.sh
1f1c83
rm -rf %{buildroot}%{_libdir}/rados-classes
1f1c83
rm -rf %{buildroot}%{_libdir}/ceph/erasure-code
1f1c83
rm -rf %{buildroot}%{_libdir}/ceph/compressor
1f1c83
rm -rf %{buildroot}%{_libdir}/ceph/crypto
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-crash.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-volume@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph.target
1f1c83
rm -rf %{buildroot}%{python3_sitelib}/ceph_volume/*
1f1c83
rm -rf %{buildroot}%{python3_sitelib}/ceph_volume-*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-deploy.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-create-keys.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-volume.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-volume-systemd.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-run.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/crushtool.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/osdmaptool.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/monmaptool.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-kvstore-tool.8*
1f1c83
1f1c83
# Remove the ceph-mds package
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-mds
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-mds.8*
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-mds@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-mds.target
1f1c83
1f1c83
# Remove the ceph-mgr package
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-mgr@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-mgr.target
1f1c83
1f1c83
# Remove the ceph-mon package
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-mon
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-monstore-tool
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-mon.8*
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-mon@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-mon.target
1f1c83
1f1c83
# Remove the ceph-radosgw package
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-radosgw@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-radosgw.target
1f1c83
1f1c83
# Remove the ceph-osd package
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-clsinfo
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-bluestore-tool
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-erasure-code-tool
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-objectstore-tool
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-osdomap-tool
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-osd
1f1c83
rm -f %{buildroot}%{_libexecdir}/ceph/ceph-osd-prestart.sh
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-clsinfo.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-osd.8*
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-bluestore-tool.8*
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-osd@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-osd.target
1f1c83
1f1c83
# Remove rbd-mirror
1f1c83
rm -f %{buildroot}%{_bindir}/rbd-mirror
1f1c83
rm -f %{buildroot}%{_mandir}/man8/rbd-mirror.8*
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-rbd-mirror@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-rbd-mirror.target
1f1c83
1f1c83
# Remove rbd-nbd
1f1c83
rm -f %{buildroot}%{_bindir}/rbd-nbd
1f1c83
rm -f %{buildroot}%{_mandir}/man8/rbd-nbd.8*
1f1c83
1f1c83
# Remove cephfs-top
1f1c83
rm -rf %{buildroot}%{python3_sitelib}/cephfs_top-*.egg-info
1f1c83
rm -f %{buildroot}%{_bindir}/cephfs-top
1f1c83
rm -f %{buildroot}%{_mandir}/man8/cephfs-top.8*
1f1c83
1f1c83
# Remove additional files
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-diff-sorted
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-diff-sorted.8*
1f1c83
1f1c83
# Remove immutable-object-cache
1f1c83
rm -f %{buildroot}%{_bindir}/ceph-immutable-object-cache
1f1c83
rm -f %{buildroot}%{_mandir}/man8/ceph-immutable-object-cache.8*
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-immutable-object-cache@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/ceph-immutable-object-cache.target
1f1c83
1f1c83
# Remove cephfs-mirror
1f1c83
rm -f %{buildroot}%{_bindir}/cephfs-mirror
1f1c83
rm -f %{buildroot}%{_mandir}/man8/cephfs-mirror.8*
1f1c83
rm -f %{buildroot}%{_unitdir}/cephfs-mirror@.service
1f1c83
rm -f %{buildroot}%{_unitdir}/cephfs-mirror.target
1f1c83
1f1c83
# Remove cephadm
1f1c83
rm -f %{buildroot}%{_mandir}/man8/cephadm.8*
1f1c83
1f1c83
%if 0%{?suse_version}
1f1c83
# create __pycache__ directories and their contents
1f1c83
%py3_compile %{buildroot}%{python3_sitelib}
1f1c83
# hardlink duplicate files under /usr to save space
1f1c83
%fdupes %{buildroot}%{_prefix}
1f1c83
%endif
1f1c83
1f1c83
%if 0%{?rhel} == 8 || 0%{?fedora} >= 33
1f1c83
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}
1f1c83
%endif
1f1c83
1f1c83
#################################################################################
1f1c83
# files and systemd scriptlets
1f1c83
#################################################################################
1f1c83
%files common
1f1c83
%dir %{_docdir}/ceph
1f1c83
%doc %{_docdir}/ceph/sample.ceph.conf
1f1c83
%license %{_docdir}/ceph/COPYING
1f1c83
%{_bindir}/ceph
1f1c83
%{_bindir}/ceph-authtool
1f1c83
%{_bindir}/ceph-conf
1f1c83
%{_bindir}/ceph-dencoder
1f1c83
%{_bindir}/ceph-rbdnamer
1f1c83
%{_bindir}/ceph-syn
1f1c83
%{_bindir}/cephfs-data-scan
1f1c83
%{_bindir}/cephfs-journal-tool
1f1c83
%{_bindir}/cephfs-table-tool
1f1c83
%{_bindir}/rados
1f1c83
%{_bindir}/rbd
1f1c83
%{_bindir}/rbd-replay
1f1c83
%{_bindir}/rbd-replay-many
1f1c83
%{_bindir}/rbdmap
1f1c83
%{_sbindir}/mount.ceph
1f1c83
%if 0%{?suse_version}
1f1c83
/sbin/mount.ceph
1f1c83
%endif
1f1c83
%if %{with lttng}
1f1c83
%{_bindir}/rbd-replay-prep
1f1c83
%endif
1f1c83
%{_bindir}/ceph-post-file
1f1c83
%{_tmpfilesdir}/ceph-common.conf
1f1c83
%{_mandir}/man8/ceph-authtool.8*
1f1c83
%{_mandir}/man8/ceph-conf.8*
1f1c83
%{_mandir}/man8/ceph-dencoder.8*
1f1c83
%{_mandir}/man8/ceph-rbdnamer.8*
1f1c83
%{_mandir}/man8/ceph-syn.8*
1f1c83
%{_mandir}/man8/ceph-post-file.8*
1f1c83
%{_mandir}/man8/ceph.8*
1f1c83
%{_mandir}/man8/mount.ceph.8*
1f1c83
%{_mandir}/man8/rados.8*
1f1c83
%{_mandir}/man8/rbd.8*
1f1c83
%{_mandir}/man8/rbdmap.8*
1f1c83
%{_mandir}/man8/rbd-replay.8*
1f1c83
%{_mandir}/man8/rbd-replay-many.8*
1f1c83
%{_mandir}/man8/rbd-replay-prep.8*
1f1c83
%dir %{_datadir}/ceph/
1f1c83
%{_datadir}/ceph/known_hosts_drop.ceph.com
1f1c83
%{_datadir}/ceph/id_rsa_drop.ceph.com
1f1c83
%{_datadir}/ceph/id_rsa_drop.ceph.com.pub
1f1c83
%dir %{_sysconfdir}/ceph/
1f1c83
%config %{_sysconfdir}/bash_completion.d/ceph
1f1c83
%config %{_sysconfdir}/bash_completion.d/rados
1f1c83
%config %{_sysconfdir}/bash_completion.d/rbd
1f1c83
%config(noreplace) %{_sysconfdir}/ceph/rbdmap
1f1c83
%{_unitdir}/rbdmap.service
1f1c83
%dir %{_udevrulesdir}
1f1c83
%{_udevrulesdir}/50-rbd.rules
1f1c83
%attr(3770,ceph,ceph) %dir %{_localstatedir}/log/ceph/
1f1c83
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/
1f1c83
1f1c83
%pre common
1f1c83
CEPH_GROUP_ID=167
1f1c83
CEPH_USER_ID=167
1f1c83
%if 0%{?rhel} || 0%{?fedora}
1f1c83
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
1f1c83
/usr/sbin/useradd ceph -u $CEPH_USER_ID -o -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2>/dev/null || :
1f1c83
%endif
1f1c83
%if 0%{?suse_version}
1f1c83
if ! getent group ceph >/dev/null ; then
1f1c83
    CEPH_GROUP_ID_OPTION=""
1f1c83
    getent group $CEPH_GROUP_ID >/dev/null || CEPH_GROUP_ID_OPTION="-g $CEPH_GROUP_ID"
1f1c83
    groupadd ceph $CEPH_GROUP_ID_OPTION -r 2>/dev/null || :
1f1c83
fi
1f1c83
if ! getent passwd ceph >/dev/null ; then
1f1c83
    CEPH_USER_ID_OPTION=""
1f1c83
    getent passwd $CEPH_USER_ID >/dev/null || CEPH_USER_ID_OPTION="-u $CEPH_USER_ID"
1f1c83
    useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin 2>/dev/null || :
1f1c83
fi
1f1c83
usermod -c "Ceph storage service" \
1f1c83
        -d %{_localstatedir}/lib/ceph \
1f1c83
        -g ceph \
1f1c83
        -s /sbin/nologin \
1f1c83
        ceph
1f1c83
%endif
1f1c83
exit 0
1f1c83
1f1c83
%post common
1f1c83
%tmpfiles_create %{_tmpfilesdir}/ceph-common.conf
1f1c83
1f1c83
%postun common
1f1c83
# Package removal cleanup
1f1c83
if [ "$1" -eq "0" ] ; then
1f1c83
    rm -rf %{_localstatedir}/log/ceph
1f1c83
    rm -rf %{_sysconfdir}/ceph
1f1c83
fi
1f1c83
1f1c83
%files -n librados2
1f1c83
%{_libdir}/librados.so.*
1f1c83
%dir %{_libdir}/ceph
1f1c83
%{_libdir}/ceph/libceph-common.so.*
1f1c83
%if %{with lttng}
1f1c83
%{_libdir}/librados_tp.so.*
1f1c83
%endif
1f1c83
%dir %{_sysconfdir}/ceph
1f1c83
1f1c83
%post -n librados2 -p /sbin/ldconfig
1f1c83
1f1c83
%postun -n librados2 -p /sbin/ldconfig
1f1c83
1f1c83
%files -n librados-devel
1f1c83
%dir %{_includedir}/rados
1f1c83
%{_includedir}/rados/librados.h
1f1c83
%{_includedir}/rados/rados_types.h
1f1c83
%{_libdir}/librados.so
1f1c83
%if %{with lttng}
1f1c83
%{_libdir}/librados_tp.so
1f1c83
%endif
1f1c83
%{_bindir}/librados-config
1f1c83
%{_mandir}/man8/librados-config.8*
1f1c83
1f1c83
%files -n libradospp-devel
1f1c83
%dir %{_includedir}/rados
1f1c83
%{_includedir}/rados/buffer.h
1f1c83
%{_includedir}/rados/buffer_fwd.h
1f1c83
%{_includedir}/rados/crc32c.h
1f1c83
%{_includedir}/rados/inline_memory.h
1f1c83
%{_includedir}/rados/librados.hpp
1f1c83
%{_includedir}/rados/librados_fwd.hpp
1f1c83
%{_includedir}/rados/page.h
1f1c83
%{_includedir}/rados/rados_types.hpp
1f1c83
1f1c83
%files -n python%{python3_pkgversion}-rados
1f1c83
%{python3_sitearch}/rados.cpython*.so
1f1c83
%{python3_sitearch}/rados-*.egg-info
1f1c83
1f1c83
%files -n libcephsqlite
1f1c83
%{_libdir}/libcephsqlite.so
1f1c83
1f1c83
%post -n libcephsqlite -p /sbin/ldconfig
1f1c83
1f1c83
%postun -n libcephsqlite -p /sbin/ldconfig
1f1c83
1f1c83
%files -n libcephsqlite-devel
1f1c83
%{_includedir}/libcephsqlite.h
1f1c83
1f1c83
%if 0%{with libradosstriper}
1f1c83
%files -n libradosstriper1
1f1c83
%{_libdir}/libradosstriper.so.*
1f1c83
1f1c83
%post -n libradosstriper1 -p /sbin/ldconfig
1f1c83
1f1c83
%postun -n libradosstriper1 -p /sbin/ldconfig
1f1c83
1f1c83
%files -n libradosstriper-devel
1f1c83
%dir %{_includedir}/radosstriper
1f1c83
%{_includedir}/radosstriper/libradosstriper.h
1f1c83
%{_includedir}/radosstriper/libradosstriper.hpp
1f1c83
%{_libdir}/libradosstriper.so
1f1c83
%endif
1f1c83
1f1c83
%files -n librbd1
1f1c83
%{_libdir}/librbd.so.*
1f1c83
%if %{with lttng}
1f1c83
%{_libdir}/librbd_tp.so.*
1f1c83
%endif
1f1c83
%dir %{_libdir}/ceph/librbd
1f1c83
%{_libdir}/ceph/librbd/libceph_*.so*
1f1c83
1f1c83
%post -n librbd1 -p /sbin/ldconfig
1f1c83
1f1c83
%postun -n librbd1 -p /sbin/ldconfig
1f1c83
1f1c83
%files -n librbd-devel
1f1c83
%dir %{_includedir}/rbd
1f1c83
%{_includedir}/rbd/librbd.h
1f1c83
%{_includedir}/rbd/librbd.hpp
1f1c83
%{_includedir}/rbd/features.h
1f1c83
%{_libdir}/librbd.so
1f1c83
%if %{with lttng}
1f1c83
%{_libdir}/librbd_tp.so
1f1c83
%endif
1f1c83
1f1c83
%files -n python%{python3_pkgversion}-rbd
1f1c83
%{python3_sitearch}/rbd.cpython*.so
1f1c83
%{python3_sitearch}/rbd-*.egg-info
1f1c83
1f1c83
%files -n libcephfs2
1f1c83
%{_libdir}/libcephfs.so.*
1f1c83
%dir %{_sysconfdir}/ceph
1f1c83
1f1c83
%post -n libcephfs2 -p /sbin/ldconfig
1f1c83
1f1c83
%postun -n libcephfs2 -p /sbin/ldconfig
1f1c83
1f1c83
%files -n libcephfs-devel
1f1c83
%dir %{_includedir}/cephfs
1f1c83
%{_includedir}/cephfs/libcephfs.h
1f1c83
%{_includedir}/cephfs/ceph_ll_client.h
1f1c83
%dir %{_includedir}/cephfs/metrics
1f1c83
%{_includedir}/cephfs/metrics/Types.h
1f1c83
%{_libdir}/libcephfs.so
1f1c83
1f1c83
%files -n python%{python3_pkgversion}-cephfs
1f1c83
%{python3_sitearch}/cephfs.cpython*.so
1f1c83
%{python3_sitearch}/cephfs-*.egg-info
1f1c83
%{python3_sitelib}/ceph_volume_client.py
1f1c83
%{python3_sitelib}/__pycache__/ceph_volume_client.cpython*.py*
1f1c83
1f1c83
%files -n python%{python3_pkgversion}-ceph-argparse
1f1c83
%{python3_sitelib}/ceph_argparse.py
1f1c83
%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
1f1c83
%{python3_sitelib}/ceph_daemon.py
1f1c83
%{python3_sitelib}/__pycache__/ceph_daemon.cpython*.py*
1f1c83
1f1c83
%files -n python%{python3_pkgversion}-ceph-common
1f1c83
%{python3_sitelib}/ceph
1f1c83
%{python3_sitelib}/ceph-*.egg-info
1f1c83
1f1c83
%if 0%{with ceph_test_package}
1f1c83
%files -n ceph-test
1f1c83
%{_bindir}/ceph-client-debug
1f1c83
%{_bindir}/ceph_bench_log
1f1c83
%{_bindir}/ceph_kvstorebench
1f1c83
%{_bindir}/ceph_multi_stress_watch
1f1c83
%{_bindir}/ceph_erasure_code_benchmark
1f1c83
%{_bindir}/ceph_omapbench
1f1c83
%{_bindir}/ceph_objectstore_bench
1f1c83
%{_bindir}/ceph_perf_objectstore
1f1c83
%{_bindir}/ceph_perf_local
1f1c83
%{_bindir}/ceph_perf_msgr_client
1f1c83
%{_bindir}/ceph_perf_msgr_server
1f1c83
%{_bindir}/ceph_psim
1f1c83
%{_bindir}/ceph_radosacl
1f1c83
%{_bindir}/ceph_rgw_jsonparser
1f1c83
%{_bindir}/ceph_rgw_multiparser
1f1c83
%{_bindir}/ceph_scratchtool
1f1c83
%{_bindir}/ceph_scratchtoolpp
1f1c83
%{_bindir}/ceph_test_*
1f1c83
%{_bindir}/ceph-coverage
1f1c83
%{_bindir}/ceph-debugpack
1f1c83
%{_bindir}/ceph-dedup-tool
1f1c83
%{_mandir}/man8/ceph-debugpack.8*
1f1c83
%dir %{_libdir}/ceph
1f1c83
%{_libdir}/ceph/ceph-monstore-update-crush.sh
1f1c83
%endif
1f1c83
1f1c83
%files -n rados-objclass-devel
1f1c83
%dir %{_includedir}/rados
1f1c83
%{_includedir}/rados/objclass.h
1f1c83
1f1c83
%changelog
1f1c83
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2:16.2.4-5
1f1c83
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
1f1c83
  Related: rhbz#1991688
1f1c83
1f1c83
* Thu Aug 05 2021 Boris Ranto <branto@redhat.com> - 2:16.2.4-4
1f1c83
- Drop fmt-devel from build requires
1f1c83
1f1c83
* Tue Jul 27 2021 Boris Ranto <branto@redhat.com> - 2:16.2.4-3
1f1c83
- Apply fmt-header-only patches
1f1c83
- Update licence field
1f1c83
- Drop unnecessary dependencies
1f1c83
1f1c83
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:16.2.4-2
1f1c83
- Rebuilt for RHEL 9 BETA for openssl 3.0
1f1c83
  Related: rhbz#1971065
1f1c83
1f1c83
* Fri May 28 2021 Boris Ranto <branto@redhat.com> - 2:16.2.4-1
1f1c83
- Rebase to 16.2.4
1f1c83
- Add libcephsqlite packages
1f1c83
1f1c83
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2:16.1.0-0.8.snapshot
1f1c83
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
1f1c83
1f1c83
* Mon Mar 15 2021 Boris Ranto <branto[at]redhat.com> - 2:16.1.0-0.7.snapshot
1f1c83
- libblk.so -> libblk.a
1f1c83
- remove python3-rgw from ceph-common deps
1f1c83
1f1c83
* Mon Mar 15 2021 Boris Ranto <branto[at]redhat.com> - 2:16.1.0-0.6.snapshot
1f1c83
- disable multiple build options
1f1c83
- disable multiple packages
1f1c83
- remove unnecessary files
1f1c83
1f1c83
* Fri Mar 5 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.5.snapshot
1f1c83
- ceph 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
1f1c83
-  rpmbuild apparently unable to automatically derive 'Requires: rocksdb' from 'BuildRequires: rocksdb-devel' for librocksdb.so.6.13
1f1c83
1f1c83
* Sat Feb 20 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.4.snapshot
1f1c83
- ceph 16.1.0 RC (ceph-16.1.0-308-gabe639eb)
1f1c83
1f1c83
* Thu Feb 4 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.3.snapshot
1f1c83
- rocksdb not available in el8+, use bundled rocksdb
1f1c83
1f1c83
* Mon Feb 1 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.2.snapshot
1f1c83
- libblk.so -> libblk.a
1f1c83
- libneoradostest-support.so -> libneoradostest-support.a
1f1c83
- w/ liburing-devel, -DWITH_SYSTEM_LIBURING=ON
1f1c83
- w/ rocksdb-devel, -DWITH_SYSTEM_ROCKSDB=ON
1f1c83
1f1c83
* Fri Jan 29 2021 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:16.1.0-0.1.snapshot
1f1c83
- ceph 16.1.0 RC (ceph-16.1.0-43-g6b74fb5c)
1f1c83
1f1c83
* Wed Sep 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.5-1
1f1c83
- ceph 15.2.5 GA
1f1c83
1f1c83
* Wed Jul 29 2020 Richard W.M. Jones <rjones@redhat.com> - 2:15.2.4-11
1f1c83
- Rebuild against fmt 7.
1f1c83
1f1c83
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:15.2.4-10
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1f1c83
1f1c83
* Tue Jul 21 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-9
1f1c83
- %cmake_build and %cmake_install
1f1c83
1f1c83
* Mon Jul 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-8
1f1c83
- see 15.2.4-4 (f33-java11) for real this time
1f1c83
- and use %make_install macro
1f1c83
1f1c83
* Mon Jul 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-7
1f1c83
- see 15.2.4-3, hopefully for real this time
1f1c83
- and use %make_install macro
1f1c83
1f1c83
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-6
1f1c83
- see 15.2.4-4
1f1c83
1f1c83
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-5
1f1c83
- see 15.2.4-3
1f1c83
1f1c83
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-4
1f1c83
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
1f1c83
1f1c83
* Fri Jul 17 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-3
1f1c83
- use `ld -r -z ibt -z shstk...` instead of magic hackery to get CET ibt
1f1c83
  and shstk. N.B. updated yasm in f33/rawhide now has support for
1f1c83
  .note.gnu.properties so even this will go away in the next build
1f1c83
- signal_handler.cc, use HAVE_REENTRANT_STRSIGNAL, strsignal(3)
1f1c83
1f1c83
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 2:15.2.4-2
1f1c83
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
1f1c83
1f1c83
* Wed Jul 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.4-1
1f1c83
- ceph 15.2.4 GA
1f1c83
1f1c83
* Tue Jun 23 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
1f1c83
- explicit BuildRequires python3-setuptools
1f1c83
1f1c83
* Mon Jun 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.3-1
1f1c83
- ceph 15.2.3 GA
1f1c83
1f1c83
* Tue May 26 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.2-3
1f1c83
- ceph 15.2.2, CET enable src/common/crc32c_intel_*_asm.s; shstk, ibt
1f1c83
- and other fixes
1f1c83
- see https://github.com/intel/isa-l/blob/master/crc/crc32_iscsi_00.asm
1f1c83
1f1c83
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2:15.2.2-2
1f1c83
- Rebuilt for Python 3.9
1f1c83
1f1c83
* Mon May 18 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.2-1
1f1c83
- ceph 15.2.2 GA
1f1c83
1f1c83
* Mon May 18 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.1-2
1f1c83
- ceph 15.2.1, gmock and gtest. (although gmock last built for f27)
1f1c83
1f1c83
* Fri Apr 10 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.1-1
1f1c83
- ceph 15.2.1 GA
1f1c83
1f1c83
* Mon Mar 23 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.2.0-1
1f1c83
- ceph 15.2.0 GA
1f1c83
1f1c83
* Mon Mar 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.1-2
1f1c83
- ceph 15.1.1 fmt, rhbz#1805422 again
1f1c83
1f1c83
* Mon Mar 16 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.1-1
1f1c83
- ceph 15.1.1 RC
1f1c83
1f1c83
* Thu Mar 5 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-3
1f1c83
- ceph 15.1.0, rhbz#1809799
1f1c83
1f1c83
* Thu Feb 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-2
1f1c83
- ceph 15.1.0, fmt, rhbz#1805422
1f1c83
1f1c83
* Tue Feb 11 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:15.1.0-1
1f1c83
- ceph 15.1.0 RC
1f1c83
1f1c83
* Mon Feb 3 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.7-2
1f1c83
- ceph 14.2.7 python3-remoto #1784216
1f1c83
1f1c83
* Sat Feb 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.7-1
1f1c83
- ceph 14.2.7 GA
1f1c83
1f1c83
* Wed Jan 29 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-4
1f1c83
- ceph 14.2.6, https://tracker.ceph.com/issues/43649
1f1c83
1f1c83
* Mon Jan 27 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-3
1f1c83
- ceph 14.2.6, (temporarily) disable unit tests
1f1c83
1f1c83
* Fri Jan 24 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
1f1c83
- ceph 14.2.6, gcc-10, missing includes
1f1c83
1f1c83
* Thu Jan 9 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-2
1f1c83
- ceph 14.2.6
1f1c83
1f1c83
* Thu Jan 9 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.6-1
1f1c83
- ceph 14.2.6 GA
1f1c83
1f1c83
* Tue Dec 10 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.5-1
1f1c83
- ceph 14.2.5 GA
1f1c83
1f1c83
* Mon Nov 11 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-3
1f1c83
- ceph 14.2.4, fix typo
1f1c83
1f1c83
* Tue Nov 5 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-2
1f1c83
- ceph 14.2.4, partial fix for bz#1768017
1f1c83
1f1c83
* Tue Sep 17 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.4-1
1f1c83
- ceph 14.2.4 GA
1f1c83
1f1c83
* Wed Sep 4 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.3-1
1f1c83
- ceph 14.2.3 GA
1f1c83
1f1c83
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2:14.2.2-3
1f1c83
- Rebuilt for Python 3.8
1f1c83
1f1c83
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:14.2.2-2
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1f1c83
1f1c83
* Fri Jul 19 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.2-1
1f1c83
- ceph 14.2.2 GA
1f1c83
1f1c83
* Tue May 28 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.0-2
1f1c83
- numpy -> python3-numpy, bz#1712203 (and why I like to keep upstream
1f1c83
  and fedora .spec files in sync)
1f1c83
1f1c83
* Wed May 8 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
1f1c83
- sync w/ upstream to minimize diffs/drift
1f1c83
1f1c83
* Mon Apr 29 2019 Boris Ranto <branto@redhat.com> - 2:14.2.1-1
1f1c83
- Rebase to latest upstream version (14.2.1)
1f1c83
1f1c83
* Tue Mar 19 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.2.0-1
1f1c83
- ceph 14.2.0 GA
1f1c83
1f1c83
* Wed Mar 13 2019 Boris Ranto <branto@redhat.com> - 2:14.1.1-1
1f1c83
- Rebase to latest upstream version
1f1c83
1f1c83
* Thu Mar 07 2019 Adam Williamson <awilliam@redhat.com> - 2:14.1.0-3
1f1c83
- Return epoch to 2, epochs cannot ever go backwards
1f1c83
1f1c83
* Wed Mar 6 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.1.0-2
1f1c83
- ceph 14.1.0 w/ static libcrc32
1f1c83
1f1c83
* Wed Feb 27 2019 Boris Ranto <branto@redhat.com> - 1:14.1.0-1
1f1c83
- Rebase to v14.1.0 (updated for fixes in upstream nautilus branch)
1f1c83
1f1c83
* Thu Feb 21 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.0.1-2
1f1c83
- Eliminate redundant CMAKE_* macros when using %%cmake global
1f1c83
- Add CMAKE_BUILD_TYPE=RelWithDeb(ug)Info and BUILD_CONFIG=rpmbuild
1f1c83
1f1c83
* Wed Feb 20 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:14.0.1-1
1f1c83
- rebuild for f31/rawhide, including:
1f1c83
- use the %%{cmake} %%global to get all the extra Fedora cmake options.
1f1c83
  (This is Fedora, so don't care so much about rhel/rhel7 cmake3.)
1f1c83
- reset epoch to 1. Note we use (have been using) epoch=1 in Fedora since
1f1c83
  forever. I presume this is so that people can install Ceph RPMs from
1f1c83
  ceph.com if they prefer those, which use epoch=2, and not run into issues
1f1c83
  when updating.
1f1c83
1f1c83
* Thu Feb 7 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2:14.0.1-4
1f1c83
- w/ fixes for gcc9
1f1c83
1f1c83
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:14.0.1-3
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1f1c83
1f1c83
* Sat Dec 08 2018 Boris Ranto <branto@redhat.com> - 2:14.0.1-2
1f1c83
- fix pyOpenSSL depemdency
1f1c83
1f1c83
* Tue Dec 04 2018 Boris Ranto <branto@redhat.com> - 2:14.0.1-1
1f1c83
- New release (2:14.0.1-1)
1f1c83
- Sync with upstream
1f1c83
- Drop 32-bit support
1f1c83
1f1c83
* Wed Nov 21 2018 Boris Ranto <branto@redhat.com> - 2:13.2.2-1
1f1c83
- New release (2:13.2.2-1)
1f1c83
- Sync with upstream
1f1c83
1f1c83
* Mon Oct 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.9-1
1f1c83
- New release (1:12.2.9-1)
1f1c83
1f1c83
* Wed Sep 12 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.8-2
1f1c83
- Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk,
1f1c83
  ceph-volume, and ceph-volume-systemd are missing in this build
1f1c83
1f1c83
* Fri Aug 31 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.8-1
1f1c83
- New release (1:12.2.8-1)
1f1c83
1f1c83
* Wed Jul 18 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.7-1
1f1c83
- New release (1:12.2.7-1)
1f1c83
1f1c83
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.2.6-2
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1f1c83
1f1c83
* Wed Jul 11 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.6-1
1f1c83
- New release (1:12.2.6-1)
1f1c83
1f1c83
* Mon Jul 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-3
1f1c83
- New release (1:12.2.5-3) w/ python-3.7
1f1c83
1f1c83
* Fri Jun 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-2
1f1c83
- New release (1:12.2.5-2)
1f1c83
1f1c83
* Fri Apr 27 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-1
1f1c83
- New release (1:12.2.5-1)
1f1c83
1f1c83
* Fri Apr 13 2018 Rafael dos Santos <rdossant@redhat.com> - 1:12.2.4-2
1f1c83
- Use standard Fedora linker flags (bug #1547552)
1f1c83
1f1c83
* Fri Mar 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.4-1
1f1c83
- New release (1:12.2.4-1)
1f1c83
- rhbz#1446610, rhbz#1546611, cephbz#23039
1f1c83
1f1c83
* Wed Feb 21 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.3-1
1f1c83
- New release (1:12.2.3-1)
1f1c83
1f1c83
* Thu Feb 15 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-3
1f1c83
- no ldconfig in F28
1f1c83
1f1c83
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.2.2-2
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1f1c83
1f1c83
* Tue Dec 5 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.2-1
1f1c83
- New release (1:12.2.2-1)
1f1c83
- Fix build error on arm
1f1c83
1f1c83
* Thu Oct 05 2017 Boris Ranto <branto@redhat.com> - 1:12.2.1-2
1f1c83
- Obsolete ceph-libs-compat package
1f1c83
1f1c83
* Wed Sep 27 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.1-1
1f1c83
- New release (1:12.2.1-1)
1f1c83
1f1c83
* Tue Aug 29 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.0-1
1f1c83
- New release (1:12.2.0-1)
1f1c83
1f1c83
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-5
1f1c83
- libibverbs(-devel) is superceded by rdma-core(-devel), again
1f1c83
1f1c83
* Thu Aug 24 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-4
1f1c83
- libibverbs(-devel) is superceded by rdma-core(-devel)
1f1c83
1f1c83
* Tue Aug 22 2017 Adam Williamson <awilliam@redhat.com> - 1:12.1.4-3
1f1c83
- Disable RDMA support on 32-bit ARM (#1484155)
1f1c83
1f1c83
* Thu Aug 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-2
1f1c83
- fix %%epoch in comment, ppc64le lowmem_builder
1f1c83
1f1c83
* Wed Aug 16 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.4-1
1f1c83
- New release (1:12.1.4-1)
1f1c83
1f1c83
* Sat Aug 12 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.3-1
1f1c83
- New release (1:12.1.3-1)
1f1c83
1f1c83
* Fri Aug 11 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-3
1f1c83
- rebuild with librpm.so.7
1f1c83
1f1c83
* Thu Aug 10 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-2
1f1c83
- Fix 32-bit alignment
1f1c83
1f1c83
* Thu Aug 3 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.2-1
1f1c83
- New release (1:12.1.2-1)
1f1c83
1f1c83
* Tue Aug 1 2017 Boris Ranto <branto@redhat.com> - 1:12.1.1-8
1f1c83
- Fix ppc64 build
1f1c83
1f1c83
* Tue Aug 1 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-7
1f1c83
- python34 and other nits
1f1c83
- still no fix for ppc64
1f1c83
1f1c83
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 1:12.1.1-6
1f1c83
- Reenable ppc64le, with binutils fix for ppc64le (#1475636)
1f1c83
1f1c83
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-5
1f1c83
- ppc64le disabled until bz #1475636 resolution
1f1c83
1f1c83
* Fri Jul 28 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-4
1f1c83
- 12.1.1 w/ hacks for armv7hl: low mem, no java jni
1f1c83
- WTIH_BABELTRACE -> WITH_BABELTRACE for all archs
1f1c83
- still no fix for ppc64
1f1c83
1f1c83
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.1.1-3
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1f1c83
1f1c83
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-2
1f1c83
- 12.1.1 w/ rocksdb patch (i686)
1f1c83
1f1c83
* Sat Jul 22 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-1
1f1c83
- New release (1:12.1.1-1)
1f1c83
1f1c83
* Fri Jul 21 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.1.1-0
1f1c83
- New release (1:12.1.1-0)
1f1c83
1f1c83
* Fri Jul 21 2017 Kalev Lember <klember@redhat.com> - 1:10.2.7-3
1f1c83
- Rebuilt for Boost 1.64
1f1c83
1f1c83
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.7-2
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
1f1c83
1f1c83
* Mon Apr 17 2017 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:10.2.7-1
1f1c83
- New release (1:10.2.7-1)
1f1c83
1f1c83
* Wed Feb 08 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-2
1f1c83
- New release (1:10.2.5-2)
1f1c83
1f1c83
* Fri Jan 13 2017 Boris Ranto <branto@redhat.com> - 1:10.2.5-1
1f1c83
- New release (1:10.2.5-1)
1f1c83
- hack: do not test for libxfs, assume it is present
1f1c83
1f1c83
* Wed Dec 14 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-2
1f1c83
- New version (1:10.2.4-2)
1f1c83
- This syncs up with the upstream 10.2.5
1f1c83
- Doing it this way because of broken lookaside cache
1f1c83
- Fix the -devel obsoletes
1f1c83
1f1c83
* Thu Dec 08 2016 Boris Ranto <branto@redhat.com> - 1:10.2.4-1
1f1c83
- New version (1:10.2.4-1)
1f1c83
- Disable erasure_codelib neon build
1f1c83
- Use newer -devel package format
1f1c83
- Sync up the spec file
1f1c83
1f1c83
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:10.2.3-4
1f1c83
- librgw: add API version defines for librgw and rgw_file
1f1c83
1f1c83
* Wed Oct 26 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:10.2.3-3
1f1c83
- update patches style for rdopkg
1f1c83
1f1c83
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-2
1f1c83
- New release (1:10.2.3-2)
1f1c83
- common: instantiate strict_si_cast<long> not
1f1c83
1f1c83
* Thu Sep 29 2016 Boris Ranto <branto@redhat.com> - 1:10.2.3-1
1f1c83
- New version (1:10.2.3-1)
1f1c83
- Disable erasure_codelib neon build
1f1c83
1f1c83
* Sun Aug 07 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:10.2.2-4
1f1c83
- Rebuild for LevelDB 1.18
1f1c83
1f1c83
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:10.2.2-3
1f1c83
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1f1c83
1f1c83
* Tue Jun 21 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-2
1f1c83
- New release (1:10.2.2-2)
1f1c83
- fix tcmalloc handling in spec file
1f1c83
1f1c83
* Mon Jun 20 2016 Boris Ranto <branto@redhat.com> - 1:10.2.2-1
1f1c83
- New version (1:10.2.2-1)
1f1c83
- Disable erasure_codelib neon build
1f1c83
- Do not use -momit-leaf-frame-pointer flag
1f1c83
1f1c83
* Mon May 16 2016 Boris Ranto <branto@redhat.com> - 1:10.2.1-1
1f1c83
- New version (1:10.2.1-1)
1f1c83
- Disable erasure_codelib neon build
1f1c83
- Do not use -momit-leaf-frame-pointer flag
1f1c83
1f1c83
* Fri May 06 2016 Dan Horák <dan[at]danny.cz> - 10.2.0-3
1f1c83
- fix build on s390(x) - gperftools/tcmalloc not available there
1f1c83
1f1c83
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - 10.2.0-2
1f1c83
- Do not use -momit-leaf-frame-pointer flag
1f1c83
1f1c83
* Fri Apr 22 2016 Boris Ranto <branto@redhat.com> - -
1f1c83
- Rebase to version 10.2.0
1f1c83
- Disable erasure_codelib neon build
1f1c83
1f1c83
* Mon Apr 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1:9.2.0-5
1f1c83
- Fix large startup times of processes linking to -lrbd.
1f1c83
  Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
1f1c83
- Add workaround for XFS header brokenness.
1f1c83
1f1c83
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:9.2.0-4
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1f1c83
1f1c83
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1:9.2.0-3
1f1c83
- Rebuilt for Boost 1.60
1f1c83
1f1c83
* Mon Dec 14 2015 Dan Horák <dan[at]danny.cz> - 1:9.2.0-2
1f1c83
- fix build on s390(x) - gperftools/tcmalloc not available there
1f1c83
1f1c83
* Tue Nov 10 2015 Boris Ranto <branto@redhat.com> - 1:9.2.0-1
1f1c83
- Rebase to latest stable upstream version (9.2.0 - infernalis)
1f1c83
- Use upstream spec file
1f1c83
1f1c83
* Tue Oct 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.5-1
1f1c83
- Rebase to latest upstream version
1f1c83
1f1c83
* Tue Oct 20 2015 Boris Ranto <branto@redhat.com> - 1:0.94.4-1
1f1c83
- Rebase to latest upstream version
1f1c83
- The rtdsc patch got merged upstream and is already present in the release
1f1c83
1f1c83
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1:0.94.3-2
1f1c83
- Rebuilt for Boost 1.59
1f1c83
1f1c83
* Thu Aug 27 2015 Boris Ranto <branto@redhat.com> - 1:0.94.3-1
1f1c83
- Rebase to latest upstream version
1f1c83
- The boost patch got merged upstream and is already present in the release
1f1c83
1f1c83
* Fri Jul 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1:0.94.2-4
1f1c83
- Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576).
1f1c83
1f1c83
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.2-3
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
1f1c83
1f1c83
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1:0.94.2-2
1f1c83
- rebuild for Boost 1.58
1f1c83
1f1c83
* Thu Jul 16 2015 Boris Ranto <branto@redhat.com> - 1:0.94.2-1
1f1c83
- Rebase to latest upstream version
1f1c83
1f1c83
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.94.1-5
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1f1c83
1f1c83
* Mon Jun 08 2015 Dan Horák <dan[at]danny.cz> - 1:0.94.1-4
1f1c83
- fix build on s390(x) - no gperftools there
1f1c83
1f1c83
* Thu May 21 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-3
1f1c83
- Disable lttng support (rhbz#1223319)
1f1c83
1f1c83
* Mon May 18 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-2
1f1c83
- Fix arm linking issue (rhbz#1222286)
1f1c83
1f1c83
* Tue Apr 14 2015 Boris Ranto <branto@redhat.com> - 1:0.94.1-1
1f1c83
- Rebase to latest upstream version and sync-up the spec file
1f1c83
- Add arm compilation patches
1f1c83
1f1c83
* Wed Apr 01 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1:0.87.1-3
1f1c83
- add version numbers to Obsoletes (RHBZ #1193182)
1f1c83
1f1c83
* Wed Mar 4 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-2
1f1c83
- Perform a hardened build
1f1c83
- Use git-formatted patches
1f1c83
- Add patch for pthreads rwlock unlock problem
1f1c83
- Do not remove conf files on uninstall
1f1c83
- Remove the cleanup function, it is only necessary for f20 and f21
1f1c83
1f1c83
* Wed Feb 25 2015 Boris Ranto <branto@redhat.com> - 1:0.87.1-1
1f1c83
- Rebase to latest upstream
1f1c83
- Remove boost patch, it is in upstream tarball
1f1c83
- Build with yasm, tarball contains fix for the SELinux issue
1f1c83
1f1c83
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1:0.87-2
1f1c83
- Rebuild for boost 1.57.0
1f1c83
- Include <boost/optional/optional_io.hpp> instead of
1f1c83
  <boost/optional.hpp>.  Keep the old dumping behavior in
1f1c83
  osd/ECBackend.cc (ceph-0.87-boost157.patch)
1f1c83
1f1c83
* Mon Nov 3 2014 Boris Ranto <branto@redhat.com> - 1:0.87-1
1f1c83
- Rebase to latest major version (firefly -> giant)
1f1c83
1f1c83
* Thu Oct 16 2014 Boris Ranto 
1f1c83
- Rebase to latest upstream version
1f1c83
1f1c83
* Sat Oct 11 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-3
1f1c83
- Fix a typo in librados-devel vs librados2-devel dependency
1f1c83
1f1c83
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-2
1f1c83
- Provide empty file list for python-ceph-compat and ceph-devel-compat
1f1c83
1f1c83
* Fri Oct 10 2014 Boris Ranto <branto@redhat.com> - 1:0.80.6-1
1f1c83
- Rebase to 0.80.6
1f1c83
- Split ceph-devel and python-ceph packages
1f1c83
1f1c83
* Tue Sep 9 2014 Dan Horák <dan[at]danny.cz> - 1:0.80.5-10
1f1c83
- update Requires for s390(x)
1f1c83
1f1c83
* Wed Sep 3 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-9
1f1c83
- Symlink librd.so.1 to /usr/lib64/qemu only on rhel6+ x86_64 (1136811)
1f1c83
1f1c83
* Thu Aug 21 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-8
1f1c83
- Revert the previous change
1f1c83
- Fix bz 1118504, second attempt (yasm appears to be the package that caused this
1f1c83
- Fix bogus dates
1f1c83
1f1c83
* Wed Aug 20 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-7
1f1c83
- Several more merges from file to try to fix the selinux issue (1118504)
1f1c83
1f1c83
* Sun Aug 17 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.80.5-6
1f1c83
- Obsolete ceph-libcephfs
1f1c83
1f1c83
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-5
1f1c83
- Do not require xfsprogs/xfsprogs-devel for el6
1f1c83
- Require gperftools-devel for non-ppc*/s390* architectures only
1f1c83
- Do not require junit -- no need to build libcephfs-test.jar
1f1c83
- Build without libxfs for el6
1f1c83
- Build without tcmalloc for ppc*/s390* architectures
1f1c83
- Location of mkcephfs must depend on a rhel release
1f1c83
- Use epoch in the Requires fields [1130700]
1f1c83
1f1c83
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
1f1c83
- Use the proper version name in Obsoletes
1f1c83
1f1c83
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1f1c83
1f1c83
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-2
1f1c83
- Add the arm pthread hack
1f1c83
1f1c83
* Fri Aug 15 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-1
1f1c83
- Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
1f1c83
- Use the upstream spec file with the ceph-libs split
1f1c83
- Add libs-compat subpackage [1116546]
1f1c83
- use fedora in rhel 7 checks
1f1c83
- obsolete libcephfs [1116614]
1f1c83
- depend on redhat-lsb-core for the initscript [1108696]
1f1c83
1f1c83
* Wed Aug 13 2014 Kalev Lember <kalevlember@gmail.com> - 0.81.0-6
1f1c83
- Add obsoletes to keep the upgrade path working (#1118510)
1f1c83
1f1c83
* Mon Jul 7 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-5
1f1c83
- revert to old spec until after f21 branch
1f1c83
1f1c83
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
1f1c83
- temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl.
1f1c83
1f1c83
* Fri Jul 4 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-4
1f1c83
- upstream ceph.spec file
1f1c83
1f1c83
* Tue Jul 1 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-3
1f1c83
- upstream ceph.spec file
1f1c83
1f1c83
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81.0-2
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1f1c83
1f1c83
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
1f1c83
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
1f1c83
1f1c83
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
1f1c83
- el6 ppc64 does not have gperftools, merge from origin/el6
1f1c83
1f1c83
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.81.0-1
1f1c83
- ceph-0.81.0
1f1c83
1f1c83
* Wed Jun  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.80.1-5
1f1c83
- gperftools now available on aarch64/ppc64
1f1c83
1f1c83
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.80.1-4
1f1c83
- Rebuild for boost 1.55.0
1f1c83
1f1c83
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.80.1-3
1f1c83
- rebuild for boost 1.55.0
1f1c83
1f1c83
* Wed May 14 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-2
1f1c83
- build epel-6
1f1c83
- exclude %%{_libdir}/ceph/erasure-code in base package
1f1c83
1f1c83
* Tue May 13 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.80.1-1
1f1c83
- Update to latest stable upstream release, BZ 1095201
1f1c83
- PIE, _hardened_build, BZ 955174
1f1c83
1f1c83
* Thu Feb 06 2014 Ken Dreyer <ken.dreyer@inktank.com> - 0.72.2-2
1f1c83
- Move plugins from -devel into -libs package (#891993). Thanks Michael
1f1c83
  Schwendt.
1f1c83
1f1c83
* Mon Jan 06 2014 Ken Dreyer <ken.dreyer@inktank.com> 0.72.2-1
1f1c83
- Update to latest stable upstream release
1f1c83
- Use HTTPS for URLs
1f1c83
- Submit Automake 1.12 patch upstream
1f1c83
- Move unversioned shared libs from ceph-libs into ceph-devel
1f1c83
1f1c83
* Wed Dec 18 2013 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> 0.67.3-4
1f1c83
- build without tcmalloc on aarch64 (no gperftools)
1f1c83
1f1c83
* Sat Nov 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.67.3-3
1f1c83
- gperftools not currently available on aarch64
1f1c83
1f1c83
* Mon Oct 07 2013 Dan Horák <dan[at]danny.cz> - 0.67.3-2
1f1c83
- fix build on non-x86_64 64-bit arches
1f1c83
1f1c83
* Wed Sep 11 2013 Josef Bacik <josef@toxicpanda.com> - 0.67.3-1
1f1c83
- update to 0.67.3
1f1c83
1f1c83
* Wed Sep 11 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.61.7-3
1f1c83
- let base package include all its documentation files via %%doc magic,
1f1c83
  so for Fedora 20 Unversioned Docdirs no files are included accidentally
1f1c83
- include the sample config files again (instead of just an empty docdir
1f1c83
  that has been added for #846735)
1f1c83
- don't include librbd.so.1 also in -devel package (#1003202)
1f1c83
- move one misplaced rados plugin from -devel into -libs package (#891993)
1f1c83
- include missing directories in -devel and -libs packages
1f1c83
- move librados-config into the -devel pkg where its manual page is, too
1f1c83
- add %%_isa to subpackage dependencies
1f1c83
- don't use %%defattr anymore
1f1c83
- add V=1 to make invocation for verbose build output
1f1c83
1f1c83
* Wed Jul 31 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.61.7-2
1f1c83
- re-enable tmalloc on arm now gperftools is fixed
1f1c83
1f1c83
* Mon Jul 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.61.7-1
1f1c83
- Update to 0.61.7
1f1c83
1f1c83
* Sat Jul 27 2013 pmachata@redhat.com - 0.56.4-2
1f1c83
- Rebuild for boost 1.54.0
1f1c83
1f1c83
* Fri Mar 29 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.4-1
1f1c83
- Update to 0.56.4
1f1c83
- Add upstream d02340d90c9d30d44c962bea7171db3fe3bfba8e to fix logrotate
1f1c83
1f1c83
* Wed Feb 20 2013 Josef Bacik <josef@toxicpanda.com> - 0.56.3-1
1f1c83
- Update to 0.56.3
1f1c83
1f1c83
* Mon Feb 11 2013 Richard W.M. Jones <rjones@redhat.com> - 0.53-2
1f1c83
- Rebuilt to try to fix boost dependency problem in Rawhide.
1f1c83
1f1c83
* Thu Nov  1 2012 Josef Bacik <josef@toxicpanda.com> - 0.53-1
1f1c83
- Update to 0.53
1f1c83
1f1c83
* Mon Sep 24 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-3
1f1c83
- Fix automake 1.12 error
1f1c83
- Rebuild after buildroot was messed up
1f1c83
1f1c83
* Tue Sep 18 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.51-2
1f1c83
- Use system leveldb
1f1c83
1f1c83
* Fri Sep 07 2012 David Nalley <david@gnsa.us> - 0.51-1
1f1c83
- Updating to 0.51
1f1c83
- Updated url and source url.
1f1c83
1f1c83
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46-2
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1f1c83
1f1c83
* Wed May  9 2012 Josef Bacik <josef@toxicpanda.com> - 0.46-1
1f1c83
- updated to upstream 0.46
1f1c83
- broke out libcephfs (rhbz# 812975)
1f1c83
1f1c83
* Mon Apr 23 2012 Dan Horák <dan[at]danny.cz> - 0.45-2
1f1c83
- fix detection of C++11 atomic header
1f1c83
1f1c83
* Thu Apr 12 2012 Josef Bacik <josef@toxicpanda.com> - 0.45-1
1f1c83
- updating to upstream 0.45
1f1c83
1f1c83
* Wed Apr  4 2012 Niels de Vos <devos@fedoraproject.org> - 0.44-5
1f1c83
- Add LDFLAGS=-lpthread on any ARM architecture
1f1c83
- Add CFLAGS=-DAO_USE_PTHREAD_DEFS on ARMv5tel
1f1c83
1f1c83
* Mon Mar 26 2012 Dan Horák <dan[at]danny.cz> 0.44-4
1f1c83
- gperftools not available also on ppc
1f1c83
1f1c83
* Mon Mar 26 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-3
1f1c83
- Remove unneeded patch
1f1c83
1f1c83
* Sun Mar 25 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.44-2
1f1c83
- Update to 0.44
1f1c83
- Fix build problems
1f1c83
1f1c83
* Mon Mar  5 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.43-1
1f1c83
- Update to 0.43
1f1c83
- Remove upstreamed compile fixes patch
1f1c83
- Remove obsoleted dump_pop patch
1f1c83
1f1c83
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-2
1f1c83
- Rebuilt for c++ ABI breakage
1f1c83
1f1c83
* Thu Feb 16 2012 Tom Callaway <spot@fedoraproject.org> 0.41-1
1f1c83
- update to 0.41
1f1c83
- fix issues preventing build
1f1c83
- rebuild against gperftools
1f1c83
1f1c83
* Sat Dec 03 2011 David Nalley <david@gnsa.us> 0.38-1
1f1c83
- updating to upstream 0.39
1f1c83
1f1c83
* Sat Nov 05 2011 David Nalley <david@gnsa.us> 0.37-1
1f1c83
- create /etc/ceph - bug 745462
1f1c83
- upgrading to 0.37, fixing 745460, 691033
1f1c83
- fixing various logrotate bugs 748930, 747101
1f1c83
1f1c83
* Fri Aug 19 2011 Dan Horák <dan[at]danny.cz> 0.31-4
1f1c83
- google-perftools not available also on s390(x)
1f1c83
1f1c83
* Mon Jul 25 2011 Karsten Hopp <karsten@redhat.com> 0.31-3
1f1c83
- build without tcmalloc on ppc64, BR google-perftools is not available there
1f1c83
1f1c83
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-2
1f1c83
- Remove curl/types.h include since we don't use it anymore
1f1c83
1f1c83
* Tue Jul 12 2011 Josef Bacik <josef@toxicpanda.com> 0.31-1
1f1c83
- Update to 0.31
1f1c83
1f1c83
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26-2
1f1c83
- Add the compile fix patch
1f1c83
1f1c83
* Tue Apr  5 2011 Josef Bacik <josef@toxicpanda.com> 0.26
1f1c83
- Update to 0.26
1f1c83
1f1c83
* Tue Mar 22 2011 Josef Bacik <josef@toxicpanda.com> 0.25.1-1
1f1c83
- Update to 0.25.1
1f1c83
1f1c83
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.3-2
1f1c83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1f1c83
1f1c83
* Wed Sep 29 2010 Steven Pritchard <steve@kspei.com> 0.21.3-1
1f1c83
- Update to 0.21.3.
1f1c83
1f1c83
* Mon Aug 30 2010 Steven Pritchard <steve@kspei.com> 0.21.2-1
1f1c83
- Update to 0.21.2.
1f1c83
1f1c83
* Thu Aug 26 2010 Steven Pritchard <steve@kspei.com> 0.21.1-1
1f1c83
- Update to 0.21.1.
1f1c83
- Sample configs moved to /usr/share/doc/ceph/.
1f1c83
- Added cclass, rbd, and cclsinfo.
1f1c83
- Dropped mkmonfs and rbdtool.
1f1c83
- mkcephfs moved to /sbin.
1f1c83
- Add libcls_rbd.so.
1f1c83
1f1c83
* Tue Jul  6 2010 Josef Bacik <josef@toxicpanda.com> 0.20.2-1
1f1c83
- update to 0.20.2
1f1c83
1f1c83
* Wed May  5 2010 Josef Bacik <josef@toxicpanda.com> 0.20-1
1f1c83
- update to 0.20
1f1c83
- disable hadoop building
1f1c83
- remove all the test binaries properly
1f1c83
1f1c83
* Fri Apr 30 2010 Sage Weil <sage@newdream.net> 0.19.1-5
1f1c83
- Remove java deps (no need to build hadoop by default)
1f1c83
- Include all required librados helpers
1f1c83
- Include fetch_config sample
1f1c83
- Include rbdtool
1f1c83
- Remove misc debugging, test binaries
1f1c83
1f1c83
* Fri Apr 30 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-4
1f1c83
- Add java-devel and java tricks to get hadoop to build
1f1c83
1f1c83
* Mon Apr 26 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-3
1f1c83
- Move the rados and cauthtool man pages into the base package
1f1c83
1f1c83
* Sun Apr 25 2010 Jonathan Dieter <jdieter@lesbg.com> 0.19.1-2
1f1c83
- Add missing libhadoopcephfs.so* to file list
1f1c83
- Add COPYING to all subpackages
1f1c83
- Fix ownership of /usr/lib[64]/ceph
1f1c83
- Enhance description of fuse client
1f1c83
1f1c83
* Tue Apr 20 2010 Josef Bacik <josef@toxicpanda.com> 0.19.1-1
1f1c83
- Update to 0.19.1
1f1c83
1f1c83
* Mon Feb  8 2010 Josef Bacik <josef@toxicpanda.com> 0.18-1
1f1c83
- Initial spec file creation, based on the template provided in the ceph src