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}