[ovirt-guest-agent/el5] Attempt to try to fix build error

Vinzenz Feenstra evilissimo at fedoraproject.org
Fri Nov 22 10:03:49 UTC 2013


commit 9a17180df46f18062b7a8bea941bef210cb79b6e
Author: Vinzenz Feenstra <vfeenstr at redhat.com>
Date:   Fri Nov 22 11:03:19 2013 +0100

    Attempt to try to fix build error
    
    Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>

 ovirt-guest-agent.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/ovirt-guest-agent.spec b/ovirt-guest-agent.spec
index 0cb816a..cecb7fc 100644
--- a/ovirt-guest-agent.spec
+++ b/ovirt-guest-agent.spec
@@ -45,12 +45,14 @@ restart).
 %configure --without-sso
 
 %install
+pushd .
 make -C ovirt-guest-agent -f Makefile.el5 install DESTDIR=%{buildroot}
-
+popd
 mkdir -p %{buildroot}%{_localstatedir}/log/ovirt-guest-agent
 mkdir -p %{buildroot}%{_localstatedir}/lock/subsys/ovirt-guest-agent
 
 install -m 755 ovirt-guest-agent/LockActiveSession.py %{buildroot}%{_datadir}/ovirt-guest-agent/LockActiveSession.py
+cp consoleapps/ovirt-shutdown %{buildroot}/etc/security/console.apps
 ln -sf /usr/bin/consolehelper %{buildroot}%{_datadir}/ovirt-guest-agent/ovirt-shutdown
 ln -sf /usr/bin/consolehelper %{buildroot}%{_datadir}/ovirt-guest-agent/ovirt-hibernate
 ln -sf /usr/bin/consolehelper %{buildroot}%{_datadir}/ovirt-guest-agent/ovirt-locksession


More information about the scm-commits mailing list