[node-patches] Change in ovirt-node[ovirt-3.5]: Fixing minimizer dependency between el6 and other distros

fabiand at redhat.com fabiand at redhat.com
Wed Mar 18 09:31:44 UTC 2015


Hello Anatoly Litovsky,

I'd like you to do a code review.  Please visit

    https://gerrit.ovirt.org/38852

to review the following change.

Change subject: Fixing minimizer dependency between el6 and other distros
......................................................................

Fixing minimizer dependency between el6 and other distros

The minimizer will bo both build and required only on el6 platform
We will avoid the situation when its required but not build.
Change-Id: I6dc3c56b816aa31cea835284a2c299140a3de6bc
Signed-off-by: Tolik Litovsky <tlitovsk at redhat.com>
---
M ovirt-node.spec.in
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/52/38852/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index e945892..91b72bd 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -148,12 +148,18 @@
 %package tools
 Summary:        Tools for working with plugins on %{product_family} images
 Group:          Applications/System
+
+
+%if 0%{with_minimizer}
+Requires:       ovirt-node-minimizer
+%else
 %if 0%{?centos}
 Requires:       livecd-tools >= 13.4.4
 %else
 Requires:       livecd-tools >= 1:16.0
 %endif
-Requires:       ovirt-node-minimizer
+%endif
+
 Requires:       libselinux-python
 
 %define tools_root %{_datadir}/ovirt-node-tools


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6dc3c56b816aa31cea835284a2c299140a3de6bc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Anatoly Litovsky <tlitovsk at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list