From 890fadc952e12ec1845d85b815b4618a3df6b74a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 23 Jun 2019 00:26:05 +0200 Subject: [PATCH] Remove unneeded files Signed-off-by: Igor Gnatenko --- rust-onig_sys.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rust-onig_sys.spec b/rust-onig_sys.spec index 483fa9e..15e4a47 100644 --- a/rust-onig_sys.spec +++ b/rust-onig_sys.spec @@ -88,6 +88,7 @@ which use "print-debug" feature of "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 #rm -vrf oniguruma/ +find oniguruma/ -mindepth 1 -maxdepth 1 -not -name 'src' -not -name 'COPYING' | xargs rm -vrf find oniguruma/ -type f -executable -exec chmod -x {} \+ %cargo_prep