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/87/27487/1

diff --git a/ovirt-engine-reports.spec.in b/ovirt-engine-reports.spec.in
index 2af192e..c09d117 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://resources.ovirt.org/pub/src/@PACKAGE_NAME@/@PACKAGE_NAME@-@package_vers...@.tar.gz
 
 BuildRequires: jasperreports-server%{reports_jasper_suffix} >= 5.5.0-7
-BuildRequires: java-devel
+BuildRequires: %{java_devel}
 BuildRequires: jpackage-utils
 BuildRequires: log4j
 BuildRequires: make


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I52c8f8cd7e8f274f239b942c79a69ac256c5165b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
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