Martin Sivák has uploaded a new change for review. Change subject: Introduce new rhev_build spec file variable and use it for mom ......................................................................
Introduce new rhev_build spec file variable and use it for mom This new rhev_build variable will contain 1 if VDSM is being built in brew as part of the official RHEV product. It will contain 0 otherwise (oVirt and Fedora). This allows us to adapt to slightly different versions and/or package names in RHEV environment. Change-Id: Idb970f96a076339cd853001b2d7c2396401f5d13 Signed-off-by: Martin Sivak <[email protected]> --- M vdsm.spec.in 1 file changed, 9 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/66/35666/1 diff --git a/vdsm.spec.in b/vdsm.spec.in index 1c6ea35..c019b31 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -15,6 +15,9 @@ # Fedora official build %global fedora_koji_build 0 +# RHEV official build +%global rhev_build 0 + # Default to skipping autoreconf. Distros can change just this one line # (or provide a command-line override) if they backport any patches that # touch configure.ac or Makefile.am. @@ -137,7 +140,13 @@ Requires: libnl3 Requires: %{name}-xmlrpc = %{version}-%{release} Requires: %{name}-jsonrpc = %{version}-%{release} + +%if %{rhev_build} +Requires: mom >= 0.4.1-4 +%else Requires: mom >= 0.4.3 +%endif + # Numactl is not available on s390[x] and ARM %ifnarch s390 s390x %{arm} Requires: numactl -- To view, visit http://gerrit.ovirt.org/35666 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idb970f96a076339cd853001b2d7c2396401f5d13 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Martin Sivák <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
