Actions
Bug #12004
closedrpmlint complains bitterly about three shared library dependencies
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
SUSE rpmlint complains bitterly about three shared library dependencies:
libcephfs_jni1.x86_64: E: shlib-fixed-dependency (Badness: 440) libcephfs1 = 1:0.94.1+git.1433933642.719eb1c-1.1 libradosstriper1.x86_64: E: shlib-fixed-dependency (Badness: 440) librados2 = 1:0.94.1+git.1433933642.719eb1c librbd1.x86_64: E: shlib-fixed-dependency (Badness: 440) librados2 = 1:0.94.1+git.1433933642.719eb1c-1.1 Your shared library package requires a fixed version of another package. The intention of the Shared Library Policy is to allow parallel installation of multiple versions of the same shared library, hard dependencies likely make that impossible. Please remove this dependency and instead move it to the runtime uses of your library.
I have verified that changing '=' to '>=' in the three relevant lines of the spec file makes rpmlint happy - example:
-Requires: librados2 = %{epoch}:%{version} +Requires: librados2 >= %{epoch}:%{version}
But I'd like to consult this solution before opening a pull request.
Actions