From a9200c323c921e45b4ee80bd7c1c7112ec344394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Fri, 6 Jan 2023 18:36:48 +0100 Subject: [PATCH] Remove executable bit from CI files This will prevent generating unneeded dependencies on things like python. --- rust-cxx.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust-cxx.spec b/rust-cxx.spec index e935d5a..0d2ac37 100644 --- a/rust-cxx.spec +++ b/rust-cxx.spec @@ -111,6 +111,8 @@ use the "std" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +# Remove executable bit from CI tools +find book/ tools/ -type f -executable -exec chmod a-x '{}' + %generate_buildrequires %cargo_generate_buildrequires