diff --git a/util-linux.spec b/util-linux.spec index 268c5aa..83b980c 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -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