From 9b66d394653ef5df214ddea9079864c893aa897c Mon Sep 17 00:00:00 2001 From: Mahno Date: Sun, 16 Feb 2025 23:12:29 +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 5e7ceac..dfbcd0a 100644 --- a/libyui-bindings.spec +++ b/libyui-bindings.spec @@ -214,11 +214,11 @@ popd %install +find %{buildroot}%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} + pushd %{name} cd build make install DESTDIR=$RPM_BUILD_ROOT popd -find %{buildroot}%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} + %clean %{__rm} -rf %{buildroot}