Change in vdsm[master]: build: Make with_hooks condition more clear

nsoffer at redhat.com nsoffer at redhat.com
Sat Nov 28 23:29:23 UTC 2015


Nir Soffer has uploaded a new change for review.

Change subject: build: Make with_hooks condition more clear
......................................................................

build: Make with_hooks condition more clear

Use simple if instead of cryptic parameter expansion syntax.

Change-Id: I76425f903f248589927d30ac324072081b4174ba
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M vdsm.spec.in
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/45/49345/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index cdb2b04..bb1526f 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -634,7 +634,10 @@
 %if 0%{?enable_autotools}
 autoreconf -if
 %endif
-%configure %{?with_hooks:--enable-hooks} \
+%configure \
+%if 0%{?with_hooks}
+        --enable-hooks \
+%endif
 %if ! 0%{?with_gluster_mgmt}
         --disable-gluster-mgmt \
 %endif


-- 
To view, visit https://gerrit.ovirt.org/49345
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I76425f903f248589927d30ac324072081b4174ba
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list