Use -rf for the rm, it only happens with KF 5.34 or higher

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/lokalize?expand=0&rev=61
This commit is contained in:
Luca Beltrame 2017-05-18 05:03:07 +00:00 committed by Git OBS Bridge
parent 0ce5d811be
commit f4adc8548f

View File

@ -77,7 +77,7 @@ export CFLAGS="%{optflags} -fPIC"
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang} %if %{with lang}
# Remove bogus folder # Remove bogus folder
rm -r %{buildroot}/usr/share/locale/sr/docs/ rm -rf %{buildroot}/usr/share/locale/sr/docs/
%find_lang %{name} --with-man --all-name %find_lang %{name} --with-man --all-name
%kf5_find_htmldocs %kf5_find_htmldocs
%endif %endif