]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: remove hard versioned dependency of ceph-test on ceph-common
authorNathan Cutler <ncutler@suse.com>
Fri, 6 Apr 2018 09:50:22 +0000 (11:50 +0200)
committerStefen Allen <sallen@suse.com>
Thu, 9 Dec 2021 19:29:43 +0000 (12:29 -0700)
OBS builds the ceph-test RPM separately from the normal Ceph RPMs, and
ceph-test is shipped on the Internal Media. I also found that OBS has no
problem producing ceph-test RPM with a slightly different version number than
the Ceph RPMs, with the result that it cannot be installed due to this hard
versioned dependency in the spec file.

Upstream doesn't have this problem because they always build ceph-test along
with the other RPMs.

We don't really need the hard versioned dependency. It's convenient to have,
but not absolutely necessary. I would rather add version sanity-checking code
to the test cases that use the ceph-test RPM, than to have all test cases
fail because ceph-test cannot be installed.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

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