Replace loop by a single invocation with multiple arguments
This commit is contained in:
parent
b15359d1d4
commit
ceb56aabcb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user