Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: spec: add support for EL7 builds
......................................................................

packaging: spec: add support for EL7 builds

Change-Id: I5faef659a862f720fd02ef219d6a178e099ab66d
Bug-Url: https://bugzilla.redhat.com/1159293
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M ovirt-engine-dwh.spec.in
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/61/34761/1

diff --git a/ovirt-engine-dwh.spec.in b/ovirt-engine-dwh.spec.in
index 071ec91..d77b9d7 100644
--- a/ovirt-engine-dwh.spec.in
+++ b/ovirt-engine-dwh.spec.in
@@ -22,6 +22,12 @@
 %endif
 
 %if 0%{?rhel}
+%if 0%{?rhel} >= 7
+%global ovirt_install_systemd 1
+%global ovirt_install_systemv 0
+%global commons_collections apache-commons-collections
+%global dom4j dom4j
+%else
 %global ovirt_install_systemd 0
 %global ovirt_install_systemv 1
 %global commons_collections commons-collections
@@ -29,6 +35,7 @@
 %global dom4j dom4j
 %else
 %global dom4j dom4j-eap6
+%endif
 %endif
 %endif
 
@@ -87,6 +94,9 @@
 Source:                
http://resources.ovirt.org/pub/src/@PACKAGE_NAME@/@PACKAGE_NAME@-@package_vers...@.tar.gz
 
 %if 0%{?rhel}
+%if 0%{?rhel} >= 7
+BuildRequires:  java-devel >= 1.7.0
+%else
 BuildRequires: java7-devel
 %endif
 %if 0%{?fedora}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5faef659a862f720fd02ef219d6a178e099ab66d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to