diff --git a/libyui-bindings.spec b/libyui-bindings.spec index 3cf1b29..e76b349 100644 --- a/libyui-bindings.spec +++ b/libyui-bindings.spec @@ -218,7 +218,7 @@ pushd %{name} cd build make install DESTDIR=$RPM_BUILD_ROOT popd -find %{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} + +find $RPM_BUILD_ROOT/%{python3_sitelib} -name "__pycache__" -type d -exec rm -rf {} + %clean %{__rm} -rf %{buildroot}