diff --git a/rubberband.spec b/rubberband.spec index ab63ff9..3df3350 100644 --- a/rubberband.spec +++ b/rubberband.spec @@ -57,8 +57,8 @@ developing applications that use %{name}. %install %meson_install -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a +find %{buildroot} -name '*.la' -exec rm -f {} ';' +rm -rf %{buildroot}%{_libdir}/*.a %if %{with check}