Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
debian: drop use of dh-cargo; silence unnecessary warnings
Merged liw opened 1 year ago

Drop use of dh-cargo. We don’t actually need to use it, and it doesn’t help in any way. In fact, it makes things more difficult, as it insists on using the Debian-packaged cargo.

Add overrides for lintian, the Debian package checker, about a missing manual page, and unstripped binary objects. This helps other warnings in the future stand out better.

Signed-off-by: Lars Wirzenius liw@liw.fi

4 files changed +6 -2 191278f0 860f1dc8
modified debian/control
@@ -5,7 +5,6 @@ Section: vcs
Priority: optional
Standards-Version: 4.6.2
Build-Depends: debhelper (>= 10~),
-
  dh-cargo,
  asciidoctor
Homepage: https://radicle.xyz/

modified debian/lintian-overrides
@@ -1 +1,3 @@
radicle binary: initial-upload-closes-no-bugs
+
radicle binary: no-manual-page
+
radicle binary: unstripped-binary-or-object
modified debian/rules
@@ -1,7 +1,9 @@
#!/usr/bin/make -f

+
DEB_BUILD_OPTIONS=nostrip
+

%:
-
	dh $@ --buildsystem cargo
+
	dh $@

override_dh_auto_build:
	scripts/build-man-pages.sh . *.adoc
added debian/source/lintian-overrides
@@ -0,0 +1 @@
+
radicle source: debian-rules-sets-DEB_BUILD_OPTIONS