-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/20/2014 07:59 AM, Stephen Gallagher wrote:
> Requiring a specific version of Java leads to breakages, like the 
> one happening on nightly builds in Fedora Rawhide right now. We
> should use the more generic 'java' BuildRequires instead of the 
> versioned one.
> 
> 
> This is breaking my nightly static analysis scans on Rawhide.
> 
> 

It was pointed out on IRC that we should be using java-headless as
well. Updated patch attached.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlP0kb0ACgkQeiVVYja6o6PpRQCeMwFoK+Pm1YILMhGqW6gxPF8B
f54AmgPufg9fMKo2/l4h3yh5/13S6SHW
=lFv4
-----END PGP SIGNATURE-----
>From 660a209df59fec3108466bbf10bdb5f37b17fbaa Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgall...@redhat.com>
Date: Wed, 20 Aug 2014 07:56:59 -0400
Subject: [PATCH] Change BuildRequires for Java

Requiring a specific version of Java leads to breakages, like the
one happening on nightly builds in Fedora Rawhide right now.
We should use the more generic 'java' BuildRequires instead of the
versioned one.
---
 freeipa.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index 6f22bc92f76f2e4bd732a995e392d6845dab27b7..163f2a476bccc4a06e13c3f78e7204755d2b03af 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -65,7 +65,7 @@ BuildRequires:  m2crypto
 BuildRequires:  check
 BuildRequires:  libsss_idmap-devel
 BuildRequires:  libsss_nss_idmap-devel
-BuildRequires:  java-1.7.0-openjdk
+BuildRequires:  java-headless
 BuildRequires:  rhino
 BuildRequires:  libverto-devel
 BuildRequires:  systemd
-- 
2.0.4

Attachment: 0001-Change-BuildRequires-for-Java.patch.sig
Description: PGP signature

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to