%bcond_without cephfs_java
%bcond_with tests
%bcond_without tcmalloc
+%bcond_without libs_compat
%if (0%{?el5} || (0%{?rhel_version} >= 500 && 0%{?rhel_version} <= 600))
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
+%if 0%{with libs_compat}
+
%package libs-compat
Summary: Meta package to include ceph libraries
Group: System Environment/Libraries
Packages still depending on ceph-libs should be fixed to depend on librados2,
librbd1 or libcephfs1 instead.
+%endif
+
%package devel-compat
Summary: Compatibility package for Ceph headers
Group: Development/Libraries
%endif
#################################################################################
+%if 0%{with libs_compat}
%files libs-compat
# We need an empty %%files list for ceph-libs-compat, to tell rpmbuild to actually
# build this meta package.
%files devel-compat
# We need an empty %%files list for ceph-devel-compat, to tell rpmbuild to
# actually build this meta package.
+%endif
#################################################################################
%files -n python-ceph-compat