[plplot] Requires java-headless (bug #1068488)

Orion Poplawski orion at fedoraproject.org
Tue Feb 25 03:36:30 UTC 2014


commit 73ae056f526803d30fd90703e04cb0e9f7e25a92
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Mon Feb 24 20:37:19 2014 -0700

    Requires java-headless (bug #1068488)

 plplot.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/plplot.spec b/plplot.spec
index a95a946..ec142cf 100644
--- a/plplot.spec
+++ b/plplot.spec
@@ -26,7 +26,7 @@
 
 Name:           plplot
 Version:        5.10.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Library of functions for making scientific plots
 
 Group:          Applications/Engineering
@@ -201,7 +201,11 @@ Requires:       gcc-gfortran
 Summary:        Functions for scientific plotting with Java
 Group:          Development/Libraries
 Requires:       %{name}%{?_isa} = %{version}-%{release}
+%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
+Requires:       java-headless
+%else
 Requires:       java
+%endif
 
 %description    java
 %{summary}.
@@ -718,6 +722,9 @@ fi
 
 
 %changelog
+* Mon Feb 24 2014 Orion Poplawski <orion at cora.nwra.com> - 5.10.0-2
+- Requires java-headless (bug #1068488)
+
 * Thu Feb 13 2014 Orion Poplawski <orion at cora.nwra.com> - 5.10.0-1
 - Update to 5.10.0
 


More information about the scm-commits mailing list