From 9fcbe219ce45c350cff8bd3763efc107f147e7d7 Mon Sep 17 00:00:00 2001 From: Mahno Date: Sun, 16 Feb 2025 22:30:45 +0800 Subject: [PATCH] try fix build issue --- libyui-bindings.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyui-bindings.spec b/libyui-bindings.spec index bc544af..d7553cd 100644 --- a/libyui-bindings.spec +++ b/libyui-bindings.spec @@ -211,7 +211,6 @@ cmake -DYPREFIX=%{prefix} \ .. make %{?jobs:-j %jobs} popd -find %{RPM_BUILD_ROOT}%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} + %install @@ -219,6 +218,7 @@ pushd %{name} cd build make install DESTDIR=$RPM_BUILD_ROOT popd +find %RPM_BUILD_ROOT%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} + %clean %{__rm} -rf %{buildroot}