diff --git a/libyui-bindings.spec b/libyui-bindings.spec index dfbcd0a..3cf1b29 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 %{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} + %clean %{__rm} -rf %{buildroot}