• Bug#1067566: Do not hardcode dependency on libhamlib4

    From Julian Andres Klode@21:1/5 to All on Sat Mar 23 20:10:02 2024
    XPost: linux.debian.maint.hams

    Package: cqrlog
    Version: 2.5.2-3
    Severity: serious
    Tags: patch
    X-Debbugs-Cc: juliank@ubuntu.com
    User: ubuntu-devel@lists.ubuntu.com
    Usertags: origin-ubuntu noble ubuntu-patch




    *** /tmp/tmpb0h60c58/bug_body

    In Ubuntu, the attached patch was applied to achieve the following:

    * Don't hardcode libhamlib4 dependency, determine from libhamlib-dev

    As libhamlib4 becomes libhamlib4t64 in the time_t transition, and we
    want this package to become binNMUable.

    Thanks for considering the patch.

    *** /tmp/tmpb0h60c58/cqrlog_2.5.2-3ubuntu1.debdiff
    diff -Nru cqrlog-2.5.2/debian/control cqrlog-2.5.2/debian/control
    --- cqrlog-2.5.2/debian/control 2024-03-08 05:08:51.000000000 +0100
    +++ cqrlog-2.5.2/debian/control 2024-03-22 16:53:55.000000000 +0100
    @@ -1,8 +1,7 @@
    Source: cqrlog
    Section: hamradio
    Priority: optional
    -Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> -XSBC-Original-Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
    +Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
    Uploaders:
    Petr Hlozek <petr@ok2cqr.com>,
    Build-Depends:
    @@ -36,9 +35,9 @@
    default-mysql-client-core | virtual-mysql-client-core,
    default-mysql-server-core | virtual-mysql-server-core,
    libhamlib-utils,
    - libhamlib4,
    libmariadb-dev-compat,
    ${misc:Depends},
    + ${lib:Depends},
    ${shlibs:Depends},
    Breaks: cqrlog-data (<< 2.5.2-2)
    Replaces: cqrlog-data (<< 2.5.2-2)
    diff -Nru cqrlog-2.5.2/debian/rules cqrlog-2.5.2/debian/rules
    --- cqrlog-2.5.2/debian/rules 2022-09-07 11:59:57.000000000 +0200
    +++ cqrlog-2.5.2/debian/rules 2024-03-22 16:53:55.000000