diff --git a/libvirt.spec.in b/libvirt.spec.in index a39266376747370f7c2588ef8f24eca972142bcb..ba49b1e7441b20d83369f3de2e89ccb33e9aeda4 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1356,6 +1356,8 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} \ $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-docs-%{version} +sed -i -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/libvirt-guests + %clean rm -fr %{buildroot}