fix PPA build with Rust 1.98

This commit is contained in:
GyulyVGC 2026-11-16 17:20:51 +01:00
parent 92eeafe667
commit ff0803755b
4 changed files with 13 additions and 7 deletions

View file

@ -31,8 +31,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends debhelper devscripts dput gnupg
rustup toolchain install 1.97.1 --profile minimal
rustup default 1.97.1
rustup toolchain install 1.98.1 --profile minimal
rustup default 1.98.1
- name: Prepare tagged source upload
id: source

View file

@ -1,3 +1,9 @@
sniffnet (1.6.0-1~resolute2) resolute; urgency=medium
* Build the PPA package with Rust 1.98.1.
-- Giuliano Bellini <gyulyvgc99@gmail.com> Mon, 16 Nov 2026 16:52:29 +0100
sniffnet (1.6.0-1~resolute1) resolute; urgency=medium
* New upstream release 1.6.0.

View file

@ -3,8 +3,8 @@ Section: net
Priority: optional
Maintainer: Giuliano Bellini <gyulyvgc99@gmail.com>
Build-Depends: debhelper-compat (= 13),
cargo-1.97 (>= 1.97.1),
rustc-1.97 (>= 1.97.1),
cargo-1.98 (>= 1.98.1),
rustc-1.98 (>= 1.98.1),
pkgconf,
libpcap-dev,
libasound2-dev,

View file

@ -3,9 +3,9 @@
export CARGO_HOME = $(CURDIR)/debian/cargo-home
export CARGO_TARGET_DIR = $(CURDIR)/target
export CARGO_NET_OFFLINE = true
export RUSTC = /usr/bin/rustc-1.97
export RUSTDOC = /usr/bin/rustdoc-1.97
CARGO = /usr/bin/cargo-1.97
export RUSTC = /usr/bin/rustc-1.98
export RUSTDOC = /usr/bin/rustdoc-1.98
CARGO = /usr/bin/cargo-1.98
# Let debhelper handle stripping and debug symbols.
export CARGO_PROFILE_RELEASE_STRIP = false
export CARGO_PROFILE_RELEASE_DEBUG = 2