diff options
author | 2012-09-24 12:37:02 +0800 | |
---|---|---|
committer | 2012-09-24 12:37:52 +0800 | |
commit | 35616d6e7e035c463571a7f5413dab175dec4411 (patch) | |
tree | 30f7171b19f37632ae09651a914ac3373cb2c7b3 | |
parent | Don't install legacy initscripts at same time as systemd ones (diff) | |
download | libvirt-35616d6e7e035c463571a7f5413dab175dec4411.tar.gz libvirt-35616d6e7e035c463571a7f5413dab175dec4411.tar.bz2 libvirt-35616d6e7e035c463571a7f5413dab175dec4411.zip |
Fix an rpmbuild failure
$RPM_BUILD_ROOT was embedded in /etc/rc.d/init.d/libvirt-guests
-rw-r--r-- | libvirt.spec.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in index a39266376..ba49b1e74 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} |