Change in vdsm[master]: hook-macspoof: fix packaging

zhshzhou at linux.vnet.ibm.com zhshzhou at linux.vnet.ibm.com
Fri Mar 15 03:02:38 UTC 2013


Zhou Zheng Sheng has uploaded a new change for review.

Change subject: hook-macspoof: fix packaging
......................................................................

hook-macspoof: fix packaging

The macspoof is an optional package. When we configure without hook
option, is not installed to rpmbuild/BUILDROOT. However in the
vdsm.spec.in, it is not an optional package, so rpmbuild fails to
locate the related file in this case.

This patch moves the hook-macspoof file section to the optional hooks
part in vdsm.spec.in .

Change-Id: I37ddc1d398b3a40d2af10f27dcf557d03d003f7a
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
M vdsm.spec.in
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/85/13085/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index b729f0c..001a3cc 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -904,10 +904,6 @@
 %{_libexecdir}/%{vdsm_name}/hooks/before_vm_dehibernate/50_vhostmd
 %{_libexecdir}/%{vdsm_name}/hooks/after_vm_destroy/50_vhostmd
 
-%files hook-macspoof
-%defattr(-, root, root, -)
-%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_macspoof
-
 %files hook-qemucmdline
 %defattr(-, root, root, -)
 %doc COPYING
@@ -953,6 +949,10 @@
 %{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_isolatedprivatevlan
 %config(noreplace) %{_sysconfdir}/libvirt/nwfilter/isolatedprivatevlan-vdsm.xml
 
+%files hook-macspoof
+%defattr(-, root, root, -)
+%{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/50_macspoof
+
 %files hook-nestedvt
 %defattr(-, root, root, -)
 %{_sysconfdir}/modprobe.d/vdsm-nestedvt.conf


--
To view, visit http://gerrit.ovirt.org/13085
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I37ddc1d398b3a40d2af10f27dcf557d03d003f7a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list