diff --git a/util-linux.spec b/util-linux.spec index f465889..2a17596 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -301,7 +301,7 @@ ln -s consolehelper ${RPM_BUILD_ROOT}/usr/bin/kbdrate %if %{include_raw} echo '.so man8/raw.8' > $RPM_BUILD_ROOT%{_mandir}/man8/rawdevices.8 %else -rm -f %{_bindir}/raw %{_mandir}/man8/raw.8* +rm -f $RPM_BUILD_ROOT%{_bindir}/raw $RPM_BUILD_ROOT%{_mandir}/man8/raw.8* %endif install -m 755 partx/{addpart,delpart,partx} $RPM_BUILD_ROOT/sbin