Package: sccache
Version: 0.12.0-2

I hope to update the dirs, dirs-sys and directories crates to
versions 6, 0.4 and 6 respectively soon. sccache needs
a dependency update to build with the new version.

diff -Nru sccache-0.12.0/debian/changelog sccache-0.12.0/debian/changelog
--- sccache-0.12.0/debian/changelog     2025-10-23 22:01:49.000000000 +0000
+++ sccache-0.12.0/debian/changelog     2025-12-25 23:05:18.000000000 +0000
@@ -1,3 +1,10 @@
+sccache (0.12.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on directories crate.
+
+ -- Peter Michael Green <[email protected]>  Thu, 25 Dec 2025 23:05:18 +0000
+
 sccache (0.12.0-2) unstable; urgency=medium
 
   * no-changes source-only upload to enable testing migration
diff -Nru sccache-0.12.0/debian/control sccache-0.12.0/debian/control
--- sccache-0.12.0/debian/control       2025-10-21 12:20:14.000000000 +0000
+++ sccache-0.12.0/debian/control       2025-12-25 23:05:18.000000000 +0000
@@ -23,7 +23,8 @@
  librust-chrono-0.4+default-dev,
  librust-clap-4+default-dev,
  librust-daemonize-0.5+default-dev,
- librust-directories-5+default-dev,
+ librust-directories+default-dev (>= 5.0.1),
+ librust-directories+default-dev (<< 7),
  librust-encoding-0.2+default-dev,
  librust-env-logger-0.11+default-dev,
  librust-filetime-0.2+default-dev,
diff -Nru sccache-0.12.0/debian/patches/2006_directories.patch 
sccache-0.12.0/debian/patches/2006_directories.patch
--- sccache-0.12.0/debian/patches/2006_directories.patch        1970-01-01 
00:00:00.000000000 +0000
+++ sccache-0.12.0/debian/patches/2006_directories.patch        2025-12-25 
23:05:12.000000000 +0000
@@ -0,0 +1,19 @@
+Description: accept newer major version of crate directories
+Author: Peter Michael Green <[email protected]>
+Forwarded: not-needed
+Last-Update: 2025-12-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: sccache-0.12.0/Cargo.toml
+===================================================================
+--- sccache-0.12.0.orig/Cargo.toml
++++ sccache-0.12.0/Cargo.toml
+@@ -35,7 +35,7 @@ byteorder = "1.5"
+ bytes = "1"
+ chrono = "0.4"
+ clap = { version = "4.5.13", features = ["derive", "env", "wrap_help"] }
+-directories = "5.0.1"
++directories = ">= 5.0.1, < 7"
+ encoding_rs = "0.8"
+ env_logger = ">= 0.10, <= 0.11"
+ filetime = "0.2"
diff -Nru sccache-0.12.0/debian/patches/series 
sccache-0.12.0/debian/patches/series
--- sccache-0.12.0/debian/patches/series        2025-10-21 12:20:14.000000000 
+0000
+++ sccache-0.12.0/debian/patches/series        2025-12-25 23:03:11.000000000 
+0000
@@ -23,3 +23,4 @@
 2003_no_randomize_readdir.patch
 2004_shared_libs.patch
 2005_ignore_multiarch_tests.patch
+2006_directories.patch

Reply via email to