Yaniv Dary has uploaded a new change for review.

Change subject: pakcaging: moved java-devel to parameter
......................................................................

pakcaging: moved java-devel to parameter

This is needed to make sure el6 builds with java-1.7.

Change-Id: I52c8f8cd7e8f274f239b942c79a69ac256c5165b
Signed-off-by: Yaniv Dary <yd...@redhat.com>
---
M ovirt-engine-reports.spec.in
1 file changed, 9 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/88/27488/1

diff --git a/ovirt-engine-reports.spec.in b/ovirt-engine-reports.spec.in
index 2f75b9d..0522d87 100644
--- a/ovirt-engine-reports.spec.in
+++ b/ovirt-engine-reports.spec.in
@@ -1,3 +1,11 @@
+%if 0%{?fedora}
+%global java_devel java-devel
+%endif
+
+%if 0%{?rhel}
+%global java_devel java7-devel
+%endif
+
 %global product_name Reports package for oVirt Virtualization Management
 %global product_description oVirt virtualization reports
 
@@ -39,7 +47,7 @@
 Source0:       
http://ovirt.org/releases/stable/src/@PACKAGE_NAME@-@package_vers...@.tar.gz
 
 BuildRequires: jasperreports-server%{reports_jasper_suffix} >= 5.5.0-6
-BuildRequires: java-devel
+BuildRequires: %{java_devel}
 BuildRequires: jpackage-utils
 BuildRequires: log4j
 BuildRequires: make


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I52c8f8cd7e8f274f239b942c79a69ac256c5165b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Yaniv Dary <yd...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to