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