[openmpi] Require java-headless

Orion Poplawski orion at fedoraproject.org
Fri Feb 21 16:00:27 UTC 2014


commit 35be67770efcb34cd6919ed393e5536dccddca39
Author: Orion Poplawski <orion at nwra.com>
Date:   Fri Feb 21 09:01:14 2014 -0700

    Require java-headless

 openmpi.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/openmpi.spec b/openmpi.spec
index f116c59..5a86b61 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -22,7 +22,7 @@
 
 Name:			openmpi%{?_cc_name_suffix}
 Version:		1.7.4
-Release:		2%{?dist}
+Release:		3%{?dist}
 Summary:		Open Message Passing Interface
 Group:			Development/Libraries
 License:		BSD, MIT and Romio
@@ -87,7 +87,11 @@ Contains development headers and libraries for openmpi.
 Summary:	Java library
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
+Requires:	java-headless
+%else
 Requires:	java
+%endif
 
 %description java
 Java library.
@@ -228,6 +232,9 @@ make check
 %{_mandir}/%{namearch}/man1/mpijavac.1.gz
 
 %changelog
+* Fri Feb 21 2014 Orion Poplawski <orion at cora.nwra.com> - 1.7.4-3
+- Require java-headless
+
 * Sat Feb  8 2014 Ville Skyttä <ville.skytta at iki.fi> - 1.7.4-2
 - Install macros to %%{_rpmconfdir}/macros.d where available.
 


More information about the scm-commits mailing list