This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git


The following commit(s) were added to refs/heads/main by this push:
     new f662d2d  Increase deb helper compat level to 13
f662d2d is described below

commit f662d2dd34751494cbc52cfb5c854b847185cbb9
Author: Nick Vatamaniuc <[email protected]>
AuthorDate: Wed Mar 11 18:10:28 2026 -0400

    Increase deb helper compat level to 13
    
    This avoids a bunch of warnings we're getting when building debian
    packages. The new way to specify compat level is as a build dependency
    not as a separate compat file.
    
    Prevent prevent generating some dbgsym, buildinfo and changes
    files. We don't upload them to the package repository anyway.
    
    Skip trying to write build and isntall man pages. We get a bunch of
    groff errors and our main docs are in html or on our site.
    
    `--with=systemd` is not needed with compat level 13, it's implied now,
    that is, it's always on.
    
    Remove `dh_shlibdeps` for libmozjs185. We don't install or depend SM
    1.8.5 for a while now.
---
 debian/compat     |  1 -
 debian/control.in |  3 ++-
 debian/rules      | 19 ++++++++++++++-----
 3 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control.in b/debian/control.in
index 75d525e..d401f3d 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -3,7 +3,8 @@ Section: misc
 Priority: optional
 Maintainer: CouchDB Developers <[email protected]>
 Standards-Version: 3.9.6
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper (>= 13),
+               debhelper-compat (= 13),
                dh-exec,
                erlang-dev (>= 1:19.2.1) | esl-erlang (>= 1:19.2.1),
                erlang-crypto | esl-erlang,
diff --git a/debian/rules b/debian/rules
index 790808e..7775818 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@
 include debian/sm_ver.mk
 
 %:
-       dh $@ --with=systemd
+       dh $@ --no-automatic-dbgsym
 
 override_dh_auto_clean:
        dh_auto_clean
@@ -33,19 +33,28 @@ override_dh_auto_build:
        rm -rf rel/couchdb/var/log
        -rm -rf rel/couchdb/data
 
+# skip generating buidinfo files
+override_dh_genbuildinfo:
+        # skip
+
+override_dh_genchanges:
+        # skip
+
 # skipping tests until suite is 100% reliable
 override_dh_auto_test:
+        # skip
 
 # instead we rely on dh_install and the couchdb.install file
 override_dh_auto_install:
+        # skip
+
+# do not install man pages
+override_dh_installman:
+        # skip
 
 get-orig-source:
        uscan --noconf --download-current-version --destdir=. --rename
 
-# this allows us to use a fake/equivs libmozjs185-1.0 in automated testing
-override_dh_shlibdeps:
-       dh_shlibdeps -- --ignore-missing-info -xlibmozjs185-1.0
-
 # bintray doesn't support xz uploads :(
 override_dh_builddeb:
        dh_builddeb -- -Zgzip

Reply via email to