]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: adjust ceph-{osdomap,kvstore,monstore}-tool feature move 19777/head
authorKefu Chai <kchai@redhat.com>
Thu, 4 Jan 2018 08:08:25 +0000 (16:08 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 6 Jan 2018 12:00:54 +0000 (20:00 +0800)
this is the rpm's counterpart of debian/control changes related to the
ceph-{osdomap,kvstore,monstore}-tool feature move. see #19328 and #19356.
the commit introducing this move is 6dba25e. and

$ git describe 6dba25e
v12.2.2-8-g6dba25e39d

so the first release that have this change is 12.2.2-8. in other words,
ceph-{base,osd,mon} >= 12.2.2.8 cannot co-exist with ceph-test < 12.2.2-8
in the same system. so we let ceph-test Requires ceph-common with the
same version. and since ceph-{osd,mon} Requires ceph-base with the same
version, and ceph-base Requires ceph-common with the same version, so by
tiering ceph-test with ceph-common with the same version, we enforce
this restriction.

Fixes: http://tracker.ceph.com/issues/22558
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in

index 70ab1799eace2ba7d421ce375d7d88a463b06664..25a09b2a9541031b24bda2292907c7c96fda3397 100644 (file)
@@ -687,7 +687,7 @@ Summary:    Ceph benchmarks and test tools
 %if 0%{?suse_version}
 Group:         System/Benchmark
 %endif
-Requires:      ceph-common
+Requires:      ceph-common = %{_epoch_prefix}%{version}-%{release}
 Requires:      xmlstarlet
 Requires:      jq
 Requires:      socat