Replace loop by a single invocation with multiple arguments

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-02-06 11:27:12 +01:00
parent b15359d1d4
commit ceb56aabcb

View File

@ -396,13 +396,10 @@ echo ".so man8/hwclock.8" > %{buildroot}%{_mandir}/man8/clock.8
# unsupported on SPARCs # unsupported on SPARCs
%ifarch %{sparc} %ifarch %{sparc}
for I in /sbin/sfdisk \ rm -f %{buildroot}/sbin/sfdisk \
%{_mandir}/man8/sfdisk.8* \ %{buildroot}%{_mandir}/man8/sfdisk.8* \
/sbin/cfdisk \ %{buildroot}/sbin/cfdisk \
%{_mandir}/man8/cfdisk.8*; do %{buildroot}%{_mandir}/man8/cfdisk.8*
rm -f %{buildroot}$I
done
%endif %endif
# we install getopt-*.{bash,tcsh} by doc directive # we install getopt-*.{bash,tcsh} by doc directive