Fix version requirement for clap to avoid FTBFS in Fedora

Resolves: #2113469
Signed-off-by: Daiki Ueno <dueno@redhat.com>
This commit is contained in:
Daiki Ueno 2022-08-05 15:59:56 +09:00
parent a336a446d8
commit c66421c405
2 changed files with 27 additions and 0 deletions

View File

@ -61,6 +61,8 @@ Patch2: rust-keylime-show-path-missing-cert.patch
Patch3: rust-keylime-descriptive-error-messages.patch
# Set supplementary groups when dropping privileges
Patch4: rust-keylime-set-supplementary-groups.patch
# Fix version requirement for clap to avoid FTBFS in Fedora
Patch5: rust-keylime-metadata.patch
ExclusiveArch: %{rust_arches}

View File

@ -0,0 +1,25 @@
From 360ac8eb65eb44d6a4217f75b94cdb14804df02e Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Fri, 5 Aug 2022 16:03:03 +0900
Subject: [PATCH] rust-keylime-metadata.patch
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 933df5e..20edb8d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,7 @@ doc = false
actix-web = { version = "4", features = ["openssl"] }
base64 = "0.13"
cfg-if = "1"
-clap = { version = "~3.1.18", features = ["derive"] }
+clap = { version = "3.1.18", features = ["derive"] }
compress-tools = "0.12"
futures = "0.3.6"
hex = "0.4"
--
2.37.1