Bug#636383: debian-policy: 10.2 and others: private libraries may also be multi-arch-ified
clone 636383 -1
retitle -1 policy: replace "/usr/lib" by some expression that encompasses multiarch directories, too
quit
Charles Plessy wrote:
> How about the attached patch ? Do you think it is clear enough that
> <file>/usr/lib/<var>triplet</var></file> is not allowed ?
Technically it never says so, but I think it's clear enough for people
reading between the lines. Thanks.
Here are some other passages with the issue Julian mentioned:
§8.1 Run-time shared libraries:
"For example, the libgdbm3 package should install libgdbm.so.3.0.0
as /usr/lib/libgdbm.so.3.0.0."
"For example, the libgdbm3 package should include a symbolic link
from /usr/lib/libgdbm.so.3 to libgdbm.so.3.0.0."
§8.4 Development files:
"For example, the libgdbm-dev package should include a symlink from
/usr/lib/libgdbm.so to libgdbm.so.3.0.0."
§8.6.2 How to use dpkg-shlibdeps and the shlibs files:
"If your package contains only compiled binaries and libraries (but
no scripts), you can use a command such as:
dpkg-shlibdeps debian/tmp/usr/bin/* debian/tmp/usr/sbin/* \
debian/tmp/usr/lib/*"
§12.6 Examples
"Architecture-specific example files should be installed in a
directory /usr/lib/package/examples with symbolic links to them
from /usr/share/doc/package/examples, or the latter directory
itself may be a symbolic link to the former."
Reply to: