Source: rust-if-watch Version: 3.2.1-6 Severity: normal Tags: patch X-Debbugs-Cc: noisyc...@tutanota.com
Hi, env_logger v0.11 has been in experimental for a while now, and we intend to upload it to unstable over the following weeks. src:rust-if-watch builds and its autopkgtests pass just fine with v0.11. Bumping the version is straightforward, but I'm attaching a patch nonetheless. Cheers!
>From 29301e5337e52c04363ff5fb24dcda44742b26c6 Mon Sep 17 00:00:00 2001 From: NoisyCoil <noisyc...@tutanota.com> Date: Wed, 18 Dec 2024 00:03:28 +0100 Subject: [PATCH] Bump env_logger to v0.11 --- debian/control | 2 +- debian/patches/1003_env_logger.patch | 17 +++++++++++++++++ debian/patches/series | 1 + debian/tests/control | 10 +++++----- 4 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 debian/patches/1003_env_logger.patch diff --git a/debian/control b/debian/control index 20946bd..3f08af5 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Build-Depends: debhelper-compat (= 13), dh-sequence-rust, librust-async-io-2+default-dev, - librust-env-logger-0.10+default-dev, + librust-env-logger-0.11+default-dev, librust-fnv-1+default-dev, librust-futures-0.3+default-dev, librust-if-addrs-0.10+default-dev, diff --git a/debian/patches/1003_env_logger.patch b/debian/patches/1003_env_logger.patch new file mode 100644 index 0000000..91ebe82 --- /dev/null +++ b/debian/patches/1003_env_logger.patch @@ -0,0 +1,17 @@ +Description: accept newer branches of crate env_logger +Author: NoisyCoil <noisyc...@tutanota.com> +Forwarded: not-needed +Last-Update: 2024-12-17 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -44,7 +44,7 @@ + if-addrs = "0.10.0" + + [dev-dependencies] +-env_logger = "0.10.0" ++env_logger = ">= 0.10.0, <= 0.11" + smol = "2" + tokio = { version = "1.21.2", features = ["rt", "macros"] } + diff --git a/debian/patches/series b/debian/patches/series index edf82f8..98b3af6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,5 @@ 1001_dead_code.patch 1002_fence_tests.patch +1003_env_logger.patch 2002_no_mac.patch 2002_no_windows.patch diff --git a/debian/tests/control b/debian/tests/control index 97eae26..1290cd9 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -5,7 +5,7 @@ Test-Command: /usr/share/dh-rust/bin/cargo-auto-test if-watch 3.2.1 Features: test-name=rust-if-watch:@ Depends: dh-rust, - librust-env-logger-0.10+default-dev, + librust-env-logger-0.11+default-dev, librust-if-watch-3-dev, Restrictions: allow-stderr @@ -14,7 +14,7 @@ Test-Command: /usr/share/dh-rust/bin/cargo-auto-test if-watch 3.2.1 Features: test-name=librust-if-watch-dev:default Depends: dh-rust, - librust-env-logger-0.10+default-dev, + librust-env-logger-0.11+default-dev, librust-if-watch-3+default-dev, Restrictions: allow-stderr @@ -23,7 +23,7 @@ Test-Command: /usr/share/dh-rust/bin/cargo-auto-test if-watch 3.2.1 Features: test-name=librust-if-watch-dev: Depends: dh-rust, - librust-env-logger-0.10+default-dev, + librust-env-logger-0.11+default-dev, librust-if-watch-3-dev, Restrictions: allow-stderr @@ -32,7 +32,7 @@ Test-Command: /usr/share/dh-rust/bin/cargo-auto-test if-watch 3.2.1 Features: test-name=librust-if-watch-dev:smol Depends: dh-rust, - librust-env-logger-0.10+default-dev, + librust-env-logger-0.11+default-dev, librust-if-watch-3+smol-dev, Restrictions: allow-stderr Architecture: amd64 @@ -42,7 +42,7 @@ Test-Command: /usr/share/dh-rust/bin/cargo-auto-test if-watch 3.2.1 Features: test-name=librust-if-watch-dev:tokio Depends: dh-rust, - librust-env-logger-0.10+default-dev, + librust-env-logger-0.11+default-dev, librust-if-watch-3+tokio-dev, Restrictions: allow-stderr Architecture: amd64 -- 2.45.2