[glite-lb-client-java] Switch to java-headless (RB #1068107).

František Dvořák valtri at fedoraproject.org
Mon Feb 24 00:34:07 UTC 2014


commit 5025d48e6170db532f4ebe06b29b640593682262
Author: František Dvořák <valtri at civ.zcu.cz>
Date:   Mon Feb 24 01:25:40 2014 +0100

    Switch to java-headless (RB #1068107).

 glite-lb-client-java.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/glite-lb-client-java.spec b/glite-lb-client-java.spec
index 5f8cd67..4628d0a 100644
--- a/glite-lb-client-java.spec
+++ b/glite-lb-client-java.spec
@@ -3,7 +3,7 @@
 
 Name:           glite-lb-client-java
 Version:        2.0.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        JAVA implementation of the L&B service client
 
 License:        ASL 2.0
@@ -30,7 +30,11 @@ BuildRequires:  perl(POSIX)
 BuildRequires:  maven-local
 Requires:       glite-jobid-api-java
 Requires:       jakarta-commons-lang
+%if 0%{?rhel} >= 7 || 0%{?fedora} >= 20
+Requires:       java-headless
+%else
 Requires:       java
+%endif
 
 %description
 JAVA implementation of the L&B service client. Supports producing (logging)
@@ -110,6 +114,9 @@ install -m 0644 JPP-%{name}.pom JPP-%{name}-axis.pom $RPM_BUILD_ROOT%{_mavenpomd
 
 
 %changelog
+* Mon Feb 24 2014 František Dvořák <valtri at civ.zcu.cz> - 2.0.5-3
+- Switch to java-headless (RB #1068107)
+
 * Wed Jan 15 2014 František Dvořák <valtri at civ.zcu.cz> - 2.0.5-2
 - Remove jpackage-utils (Build)Requires (needed only for EPEL <= 6)
 


More information about the scm-commits mailing list