]> git.proxmox.com Git - debcargo-conf.git/commitdiff
serial-test - remove optional dependency on fslock
authorPeter Michael Green <plugwash@debian.org>
Thu, 17 Nov 2022 12:27:55 +0000 (12:27 +0000)
committerPeter Michael Green <plugwash@debian.org>
Sun, 20 Nov 2022 03:31:13 +0000 (03:31 +0000)
src/serial-test/debian/changelog
src/serial-test/debian/patches/disable-fslock.patch [new file with mode: 0644]
src/serial-test/debian/patches/series

index f2a1014ab9c82e8502550f1a803789a49d025b79..bd3c8b5849644639eb0286d8c6c12ebae8e2e302 100644 (file)
@@ -4,8 +4,8 @@ rust-serial-test (0.9.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medi
   * Package serial_test 0.9.0 from crates.io using debcargo 2.6.0 (Closes: #1024087)
   * Drop relax-dep.diff, no longer needed.
   * Set collapse_features = true
-  * Remove optional (in the cargo sense) dependency on document-features as it
-    is not currently in debian.
+  * Remove optional (in the cargo sense) dependencies on document-features and
+    fs-lock as they are not currently in debian.
 
  -- Peter Michael Green <plugwash@debian.org>  Thu, 17 Nov 2022 11:23:30 +0000
 
diff --git a/src/serial-test/debian/patches/disable-fslock.patch b/src/serial-test/debian/patches/disable-fslock.patch
new file mode 100644 (file)
index 0000000..7982dd0
--- /dev/null
@@ -0,0 +1,21 @@
+Index: serial-test/Cargo.toml
+===================================================================
+--- serial-test.orig/Cargo.toml
++++ serial-test/Cargo.toml
+@@ -35,10 +35,6 @@ denylist = ["docsrs"]
+ [dependencies.dashmap]
+ version = "5"
+-[dependencies.fslock]
+-version = "0.2"
+-optional = true
+-
+ [dependencies.futures]
+ version = "^0.3"
+ features = ["executor"]
+@@ -74,5 +70,4 @@ default = [
+     "logging",
+     "async",
+ ]
+-file_locks = ["fslock"]
+ logging = ["log"]
index 3fcea300827b03316e6c43aacddf1da48c17cb14..7295addda0d69d73a8d1a2541ca8c2af526a8927 100644 (file)
@@ -1 +1,2 @@
 disable-document-features.patch
+disable-fslock.patch