From fcb327610e0dd55c918a0846aa2ffe85919339b1 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 25 Jan 2024 15:44:47 +0530 Subject: [PATCH] fix cargo config Signed-off-by: Lokesh Mandvekar --- netavark.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netavark.spec b/netavark.spec index 4d50d4e..1e09974 100644 --- a/netavark.spec +++ b/netavark.spec @@ -88,6 +88,11 @@ tar fx %{SOURCE1} mkdir -p .cargo cat >.cargo/config << EOF +[source."git+https://github.com/namib-project/nftables-rs.git?rev=1b0c60b"] +git = "https://github.com/namib-project/nftables-rs.git" +rev = "1b0c60b" +replace-with = "vendored-sources" + [source.crates-io] replace-with = "vendored-sources"