Skip to content

Commit

Permalink
debian/control: Add cargo-vendor-filterer in devel version
Browse files Browse the repository at this point in the history
Ubuntu devel already contains rust-cargo-vendor-filterer, we can't yet
build-depend on it in debian/control for everybody (as it's not in noble
yet), but we can still workaround this.

A change to dh-rust (just after the last run of the
build-deb run on the PR), broke the usage of cargo-vendor-filterer
when installed from cargo itself.

This is ugly, but avoids us to branch for now.
  • Loading branch information
3v1n0 committed Jan 23, 2025
1 parent 01d5314 commit b621e18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Build-Depends: debhelper-compat (= 13),
dh-exec,
dh-golang,
dctrl-tools,
# FIXME: We need cargo-vendor-filterer starting from plucky, but noble isn't ready yet
# so workaround it, making it kind of optional, and requiring it only on versions after
# noble (controlled via base-files version that matches the one in noble).
cargo-vendor-filterer | base-files (<< 13.5),
golang-go (>= 2:1.23~) | golang-1.23-go,
libc6-dev (>= 2.35),
libglib2.0-dev,
Expand Down

0 comments on commit b621e18

Please sign in to comment.