On Tuesday 2015-12-29 21:50, Stefan Bruens wrote:
I have stumbled over a small problem regarding versioned directories.
Currently, it is expected a versioned library uses a pattern like /usr/lib/ libfoo-1_2_3/bar.so. Although this allows multiple packages, it is contrary to what some upstreams use for versioning, e.g. /usr/lib/libfoo/1.2.3/bar.so.
From an RPM perspective, both are ok, as directories can be owned by multiple packages. rpmlint throws an "W: shlib-policy-nonversioned-dir" warning, which is IMHO wrong.
Yes, rpmlint is not the brightest tool in the shed. Ignore it. The real intention, as you have correctly determined, is to have paths which do not overlap, so that a v1.2.3 loader won't accidentally look into a directory which has v1.2.4 plugins. [That's also why /usr/lib/perl5/5.22.X is totally fine -- they even use an arch tuple for bonus points.] -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org