• Bug#1064477: lzo2: install shared library into /usr

    From Michael Biebl@21:1/5 to All on Thu Feb 22 22:50:02 2024
    This is a multi-part MIME message sent by reportbug.


    Source: lzo2
    Version: 2.10-2
    Severity: normal
    Tags: patch trixie sid
    User: helmutg@debian.org
    Usertags: dep17m2

    We want to finalize the /usr-merge via DEP17 by moving all files to
    /usr. lzo2 installs files into /lib; these should be moved into the
    respective canonical locations in /usr/.

    Please find a patch attached. It has been build-tested.

    This should not be backported to bookworm. If you intend to
    backport, please use dh_movetousr instead.

    If your package will change for the t64 transition or otherwise rename/split/move its binaries (packages) during trixie, please
    then upload to experimental and get in touch with the UsrMerge
    driver, please see the wiki [1].

    Michael

    [1] https://wiki.debian.org/UsrMerge

    diff -Nru lzo2-2.10/debian/changelog lzo2-2.10/debian/changelog
    --- lzo2-2.10/debian/changelog 2020-01-22 21:35:19.000000000 +0100
    +++ lzo2-2.10/debian/changelog 2024-02-22 22:44:26.000000000 +0100
    @@ -1,3 +1,10 @@
    +lzo2 (2.10-2.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Install shared library into /usr. (Closes: #-1)
    +
    + -- Michael Biebl <biebl@debian.org> Thu, 22 Feb 2024 22:44:26 +0100
    +
    lzo2 (2.10-2) unstable; urgency=medium

    * Add missing pkg-config build-dependency.
    diff -Nru lzo2-2.10/debian/liblzo2-2.install lzo2-2.10/debian/liblzo2-2.install --- lzo2-2.10/debian/liblzo2-2.install 2020-01-20 11:42:23.000000000 +0100
    +++ lzo2-2.10/debian/liblzo2-2.install 2024-02-22 22:44:18.000000000 +0100
    @@ -1 +1 @@
    -lib/*/*.so.*
    +usr/lib/*/*.so.*
    diff -Nru lzo2-2.10/debian/liblzo2-2-udeb.install lzo2-2.10/debian/liblzo2-2-udeb.install
    --- lzo2-2.10/debian/liblzo2-2-udeb.install 2020-01-20 11:42:23.000000000 +0100
    +++ lzo2-2.10/debian/liblzo2-2-udeb.install 2024-02-22 22:44:21.000000000 +0100
    @@ -1 +1 @@
    -lib/*/*.so.*
    +usr/lib/*