From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has uploaded a new change for review.
Change subject: spec: install libvirt-hook.sh in Makefile.am
......................................................................
spec: install libvirt-hook.sh in Makefile.am
Another step to clean %install in the spec file.
Change-Id: Ib9affdae684a6a2b33a98d82759c2c05fcca880e
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
---
M lib/vdsm/virt/Makefile.am
M vdsm.spec.in
2 files changed, 2 insertions(+), 5 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/35/79435/1
diff --git a/lib/vdsm/virt/Makefile.am b/lib/vdsm/virt/Makefile.am
index 7bcad61..84c97fd 100644
--- a/lib/vdsm/virt/Makefile.am
+++ b/lib/vdsm/virt/Makefile.am
@@ -55,6 +55,7 @@
vm_migrate_hook.py \
$(NULL)
-EXTRA_DIST = \
+libvirthoookdir = /etc/libvirt/hooks/qemu
+dist_libvirthoook_SCRIPTS = \
libvirt-hook.sh \
$(NULL)
diff --git a/vdsm.spec.in b/vdsm.spec.in
index 8ba16d8..9e28859 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -743,10 +743,6 @@
install -dDm 1777 %{buildroot}%{_localstatedir}/log/core
%endif
-# Install the libvirt hook for cleaning up the XML
-install -Dm 0755 lib/vdsm/virt/libvirt-hook.sh \
- %{buildroot}%{_sysconfdir}/libvirt/hooks/qemu
-
%pre
# Force standard locale behavior (English)
export LC_ALL=C
--
To view, visit
https://gerrit.ovirt.org/79435
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9affdae684a6a2b33a98d82759c2c05fcca880e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>