From 787b7fcbf4e698b5c347c4b2c911768df88cd166 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Tue, 11 Jul 2023 00:00:55 +0000 Subject: [PATCH] Remove bundled rust crates %cargo_prep should override the vendoring config, but better safe than sorry. --- python-orjson.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-orjson.spec b/python-orjson.spec index 12d39a2..a9b899b 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -52,6 +52,8 @@ License: %{shrink: %prep %autosetup -p1 -n orjson-%{version} +# Remove bundled rust crates +rm -r include/cargo .cargo/config.toml # Remove bundled yyjson. rm -rv include/yyjson/