Federico Simoncelli has uploaded a new change for review.

Change subject: build: simplify fedora checks in the spec file
......................................................................

build: simplify fedora checks in the spec file

Change-Id: I475ea193beb3aeed5f3ca1e1962f897543e7ef83
Signed-off-by: Federico Simoncelli <fsimo...@redhat.com>
---
M ovirt-engine.spec.in
1 file changed, 2 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/04/19804/1

diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in
index 6923c5e..03c30e4 100644
--- a/ovirt-engine.spec.in
+++ b/ovirt-engine.spec.in
@@ -176,8 +176,7 @@
 Requires:      ws-commons-util
 Requires:      yum-plugin-versionlock
 
-%if 0%{?fedora}
-%if %{fedora} >= 19
+%if 0%{?fedora} >= 19
 Requires:      apache-commons-compress
 Requires:      apache-commons-configuration
 Requires:      apache-commons-jxpath
@@ -203,7 +202,6 @@
 Requires:      openstack-java-quantum-client
 Requires:      openstack-java-quantum-model
 Requires:      openstack-java-resteasy-connector
-%endif
 %endif
 
 # We can't require exactly the same version and release of the
@@ -577,8 +575,7 @@
 org/apache/ws/commons/main/ws-commons-util.jar
 org/ovirt/otopi/main/otopi.jar otopi/otopi.jar
 org/ovirt/ovirt-host-deploy/main/ovirt-host-deploy.jar 
ovirt-host-deploy/ovirt-host-deploy.jar
-%if 0%{?fedora}
-%if %{fedora} >= 19
+%if 0%{?fedora} >= 19
 org/apache/commons/compress/main/commons-compress.jar
 org/apache/commons/configuration/main/commons-configuration.jar 
commons-configuration.jar
 org/apache/commons/httpclient/main/commons-httpclient.jar
@@ -607,7 +604,6 @@
 com/woorea/openstack/sdk/main/quantum-client.jar 
openstack-java-sdk/quantum-client.jar
 com/woorea/openstack/sdk/main/quantum-model.jar 
openstack-java-sdk/quantum-model.jar
 com/woorea/openstack/sdk/main/resteasy-connector.jar 
openstack-java-sdk/resteasy-connector.jar
-%endif
 %endif
 __EOF__
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I475ea193beb3aeed5f3ca1e1962f897543e7ef83
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to