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
|
||||
%ifarch %{sparc}
|
||||
for I in /sbin/sfdisk \
|
||||
%{_mandir}/man8/sfdisk.8* \
|
||||
/sbin/cfdisk \
|
||||
%{_mandir}/man8/cfdisk.8*; do
|
||||
|
||||
rm -f %{buildroot}$I
|
||||
done
|
||||
rm -f %{buildroot}/sbin/sfdisk \
|
||||
%{buildroot}%{_mandir}/man8/sfdisk.8* \
|
||||
%{buildroot}/sbin/cfdisk \
|
||||
%{buildroot}%{_mandir}/man8/cfdisk.8*
|
||||
%endif
|
||||
|
||||
# we install getopt-*.{bash,tcsh} by doc directive
|
||||
|
Loading…
Reference in New Issue
Block a user