Dima Kuznetsov has uploaded a new change for review.

Change subject: packaging: Add spec flags for GWT components
......................................................................

packaging: Add spec flags for GWT components

Added the following macros:
 * ovirt_build_gwt_userportal
 * ovirt_build_gwt_webadmin
Both default to 1, and specify whether to build the component or not
while building rpms.

Change-Id: Ia9374ee3ab33a859d402ece8b94e87a76895d440
Signed-off-by: Dima Kuznetsov <[email protected]>
---
M README.developer
M ovirt-engine.spec.in
2 files changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/89/36289/1

diff --git a/README.developer b/README.developer
index d939518..ad9adf0 100644
--- a/README.developer
+++ b/README.developer
@@ -262,6 +262,12 @@
 ovirt_build_gwt [1]
     Build GWT components.
 
+ovirt_build_gwt_userportal [1]
+    Build GWT user portal.
+
+ovirt_build_gwt_webadmin [1]
+    Build GWT web admin.
+
 ovirt_build_all_user_agents [1]
     Build GWT components for all supported browsers.
 
diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in
index c39e652..8720baa 100644
--- a/ovirt-engine.spec.in
+++ b/ovirt-engine.spec.in
@@ -25,6 +25,12 @@
 %if 0%{!?ovirt_build_gwt:1}
 %global ovirt_build_gwt 1
 %endif
+%if 0%{!?ovirt_build_gwt_userportal:1}
+%global ovirt_build_gwt_userportal 1
+%endif
+%if 0%{!?ovirt_build_gwt_webadmin:1}
+%global ovirt_build_gwt_webadmin 1
+%endif
 %if 0%{!?ovirt_build_locales:1}
 %global ovirt_build_locales 1
 %endif
@@ -145,6 +151,8 @@
 %global make_common_opts \\\
        -j1 \\\
        BUILD_GWT=%{ovirt_build_gwt} \\\
+       BUILD_GWT_USERPORTAL=%{ovirt_build_gwt_userportal} \\\
+       BUILD_GWT_WEBADMIN=%{ovirt_build_gwt_webadmin} \\\
        BUILD_ALL_USER_AGENTS=%{ovirt_build_all_user_agents} \\\
        BUILD_LOCALES=%{ovirt_build_locales} \\\
        BUILD_UT=%{ovirt_build_ut} \\\


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9374ee3ab33a859d402ece8b94e87a76895d440
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Dima Kuznetsov <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to