device-mapper-persistent-data/0001-Tweak-cargo.toml-to-work-with-vendor-directory.patch

32 lines
1000 B
Diff
Raw Normal View History

2024-02-08 14:05:54 +00:00
From d7c6150c644a299bb8667a3d5a01b0e03449e996 Mon Sep 17 00:00:00 2001
2023-02-22 14:49:20 +00:00
From: Marian Csontos <mcsontos@redhat.com>
2023-07-27 10:15:09 +00:00
Date: Thu, 27 Jul 2023 11:37:01 +0200
2023-02-22 14:49:20 +00:00
Subject: [PATCH] Tweak cargo.toml to work with vendor directory
2023-04-28 14:41:15 +00:00
Mock works offline, cargo would try to download the files from github.
So cargo vendor has to be run first, and then change the Cargo.toml to
make mock happy.
2024-02-08 14:05:54 +00:00
(cherry picked from commit 0d5347bd771e960294cd0c2f083d96448613ab9c)
2023-02-22 14:49:20 +00:00
---
2023-12-11 15:43:41 +00:00
Cargo.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2023-02-22 14:49:20 +00:00
diff --git a/Cargo.toml b/Cargo.toml
2024-02-08 14:05:54 +00:00
index 23b46193..b33b7418 100644
2023-02-22 14:49:20 +00:00
--- a/Cargo.toml
+++ b/Cargo.toml
2024-02-08 14:05:54 +00:00
@@ -27,7 +27,8 @@ quick-xml = "0.31"
2023-02-22 14:49:20 +00:00
rand = "0.8"
2023-12-11 15:43:41 +00:00
rangemap = "1.4"
2023-02-22 14:49:20 +00:00
roaring = "0.10"
-rio = { git = "https://github.com/jthornber/rio", branch = "master", optional = true }
+#rio = { git = "https://github.com/jthornber/rio", branch = "master", optional = true }
+rio = { version = "0.9.4", optional = true }
safemem = "0.3"
threadpool = "1.8"
thiserror = "1.0"
--
2023-12-11 15:43:41 +00:00
2.43.0
2023-02-22 14:49:20 +00:00