[NEW PATCH] Support prefixes other then /usr (via gerrit-bot)

Saggi Mizrahi smizrahi at redhat.com
Tue Aug 30 12:35:43 UTC 2011


New patch submitted by Saggi Mizrahi (smizrahi at redhat.com)

You can review this change at: http://gerrit.usersys.redhat.com/867

commit e59b127743e0cae16fa0e6bc2c5f36575f1de4b8
Author: Saggi Mizrahi <smizrahi at redhat.com>
Date:   Tue Aug 30 15:31:56 2011 +0300

    Support prefixes other then /usr
    
    Change-Id: I8e409dd17aa380191d6a54ee9503b1e754a2e98f

diff --git a/vdsm.spec.in b/vdsm.spec.in
index 7e1b43a..9bbd56b 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -2,6 +2,8 @@
 %define vdsm_name vdsm
 %define vdsm_bootstrap vdsm-bootstrap
 %include %{_rpmconfigdir}/macros.python
+%define _prefix @prefix@
+%define py_prefix @prefix@
 
 Summary: Virtual Desktop Server Manager
 Name: vdsm
@@ -47,7 +49,7 @@ administration tasks, statistics gathering, and log collection.
 %setup -q
 
 %build
-%configure
+%configure --prefix=%{_prefix}
 make
 
 %install




More information about the vdsm-patches mailing list