[Pkg-rust-maintainers] Bug#998347: rust-bindgen: diff for NMU version 0.59.1-1.1

Jonas Smedegaard dr at jones.dk
Tue Nov 2 19:21:26 GMT 2021


Control: tags 998347 + patch
Control: tags 998347 + pending

Dear maintainer,

I've prepared an NMU for rust-bindgen (versioned as 0.59.1-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards,

 - Jonas

diff -Nru rust-bindgen-0.59.1/debian/cargo-checksum.json rust-bindgen-0.59.1/debian/cargo-checksum.json
--- rust-bindgen-0.59.1/debian/cargo-checksum.json	2021-08-22 17:37:34.000000000 +0200
+++ rust-bindgen-0.59.1/debian/cargo-checksum.json	2021-11-02 19:36:53.000000000 +0100
@@ -1 +1 @@
-{"package":"Could not get crate checksum","files":{}}
+{"package":"fcc1d4fdeaab48c213b8e18298928319326670fa2b6d0509e785b248fbfe49f1","files":{}}
diff -Nru rust-bindgen-0.59.1/debian/changelog rust-bindgen-0.59.1/debian/changelog
--- rust-bindgen-0.59.1/debian/changelog	2021-08-22 17:37:34.000000000 +0200
+++ rust-bindgen-0.59.1/debian/changelog	2021-11-02 19:36:53.000000000 +0100
@@ -1,3 +1,13 @@
+rust-bindgen (0.59.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * add patch to relax dependency on Rust library env_logger,
+    and update (build-)dependencies on librust-env-logger-*-dev;
+    this closes: bug#998347
+  * fix Cargo.toml checksum hint file
+
+ -- Jonas Smedegaard <dr at jones.dk>  Tue, 02 Nov 2021 19:36:53 +0100
+
 rust-bindgen (0.59.1-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru rust-bindgen-0.59.1/debian/control rust-bindgen-0.59.1/debian/control
--- rust-bindgen-0.59.1/debian/control	2021-08-22 17:37:34.000000000 +0200
+++ rust-bindgen-0.59.1/debian/control	2021-11-02 19:35:53.000000000 +0100
@@ -11,7 +11,7 @@
  librust-clang-sys-1+clang-6-0-dev,
  librust-clang-sys-1+default-dev,
  librust-clap-2+default-dev,
- librust-env-logger-0.7+default-dev,
+ librust-env-logger-0.9+default-dev,
  librust-lazy-static-1+default-dev,
  librust-lazycell-1+default-dev,
  librust-log-0.4+default-dev,
@@ -134,7 +134,7 @@
 Depends:
  ${misc:Depends},
  librust-bindgen-dev (= ${binary:Version}),
- librust-env-logger-0.7+default-dev
+ librust-env-logger-0.9+default-dev
 Provides:
  librust-bindgen-0+env-logger-dev (= ${binary:Version}),
  librust-bindgen-0.59+env-logger-dev (= ${binary:Version}),
@@ -164,7 +164,7 @@
 Depends:
  ${misc:Depends},
  librust-bindgen-dev (= ${binary:Version}),
- librust-env-logger-0.7+default-dev,
+ librust-env-logger-0.9+default-dev,
  librust-log-0.4+default-dev
 Provides:
  librust-bindgen-0+logging-dev (= ${binary:Version}),
diff -Nru rust-bindgen-0.59.1/debian/patches/env_logger.patch rust-bindgen-0.59.1/debian/patches/env_logger.patch
--- rust-bindgen-0.59.1/debian/patches/env_logger.patch	1970-01-01 01:00:00.000000000 +0100
+++ rust-bindgen-0.59.1/debian/patches/env_logger.patch	2021-11-02 19:35:18.000000000 +0100
@@ -0,0 +1,21 @@
+Description: relax dependency on env_logger
+ Debian has only a newer release of env_logger,
+ which apparently works just fine.
+ .
+ This patch relaxes dependency from only release 0.7.0
+ to accept any 0.7.x through 0.9.x releases.
+Author: Jonas Smedegaard <dr at jones.dk>
+Last-Update: 2021-11-02
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -49,7 +49,7 @@
+ optional = true
+ 
+ [dependencies.env_logger]
+-version = "0.7"
++version = ">= 0.7, < 0.10"
+ optional = true
+ 
+ [dependencies.lazy_static]
diff -Nru rust-bindgen-0.59.1/debian/patches/series rust-bindgen-0.59.1/debian/patches/series
--- rust-bindgen-0.59.1/debian/patches/series	2021-08-22 17:37:34.000000000 +0200
+++ rust-bindgen-0.59.1/debian/patches/series	2021-11-02 19:33:53.000000000 +0100
@@ -1,2 +1,3 @@
 disable-runtime.diff
 lower-dep.diff
+env_logger.patch



More information about the Pkg-rust-maintainers mailing list