From: Ken Dreyer Date: Wed, 4 Mar 2015 22:01:34 +0000 (-0700) Subject: ceph.spec.in: loosen ceph-test's dependencies X-Git-Tag: v9.0.0~215^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=924f85f157b8acfe753d944dae49fca390da37aa;p=ceph.git ceph.spec.in: loosen ceph-test's dependencies In Debian, the ceph-test package can be installed with any version of ceph-common. Prior to this commit, in RHEL, we're much more strict about which version of the dependencies we require. We depend directly on librados2/librbd1/libcephfs1 instead of ceph-common, and we also require the specific versions of these libraries to match the version of ceph-test. For testing Ceph, it is nice to have the ability to upgrade the librados2/librbd1/libcephfs1 libraries on a host without having to also upgrade the ceph-test package as well. Remove the version number requirements, and change the dependencies from librados2/librbd1/libcephfs1 to simply "ceph-common". That will make /etc/ceph/ and /var/log/ceph present for the tests. http://tracker.ceph.com/issues/10989 Refs: #10989 Signed-off-by: Ken Dreyer --- diff --git a/ceph.spec.in b/ceph.spec.in index fdbd2da88f70..567586cdb0b4 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -315,9 +315,7 @@ RESTful bencher that can be used to benchmark radosgw performance. Summary: Ceph benchmarks and test tools Group: System Environment/Libraries License: LGPL-2.0 -Requires: librados2 = %{epoch}:%{version}-%{release} -Requires: librbd1 = %{epoch}:%{version}-%{release} -Requires: libcephfs1 = %{epoch}:%{version}-%{release} +Requires: ceph-common %if (0%{?fedora} >= 20 || 0%{?rhel} == 6) BuildRequires: lttng-ust-devel BuildRequires: libbabeltrace-devel