Orphaning java-1.5.0-gcj
Simo Sorce
simo at redhat.com
Mon Apr 14 13:38:47 UTC 2014
Thanks a lot,
I will push this patch and rebuild in rawhide.
Simo.
On Mon, 2014-04-14 at 09:44 +0200, Stanislav Ochotnicky wrote:
> On Sun 13 Apr 2014 08:42:43 PM CEST Simo Sorce wrote:
> > [snip] I know little to nothing about java bindings so if it is
> > substantial work I will just remove the java binding and ask rel eng to
> > pull the subpackage.
>
> You can't just "pull" packages. You'll have to properly "Obsoletes:
> lasso-java" it. I am attaching a patch which worked for me (including a
> scratchbuild with openjdk). I haven't actually tested the code, but I
> guess it should work (it's JNI though so...meh)
>
> A side note: I believe we generally start release numbering at 1 instead
> of 0, but of course it doesn't hurt anything...
>
> differences between files attachment
> (0001-Use-OpenJDK-instead-of-GCJ-for-java-bindings.patch)
> From ef5fd12e46974858b25c2aa032e943514a0bf921 Mon Sep 17 00:00:00 2001
> From: Stanislav Ochotnicky <sochotnicky at redhat.com>
> Date: Mon, 14 Apr 2014 09:42:19 +0200
> Subject: [PATCH] Use OpenJDK instead of GCJ for java bindings
>
> ---
> lasso.spec | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/lasso.spec b/lasso.spec
> index e96e39b..d060cf0 100644
> --- a/lasso.spec
> +++ b/lasso.spec
> @@ -11,7 +11,7 @@
> Summary: Liberty Alliance Single Sign On
> Name: lasso
> Version: 2.4.0
> -Release: 0%{?dist}
> +Release: 1%{?dist}
> License: GPLv2+
> Group: System Environment/Libraries
> Source: https://dev.entrouvert.org/attachments/download/3874/lasso-2.4.0.tar.gz
> @@ -55,8 +55,10 @@ Perl language bindings for the lasso (Liberty Alliance Single Sign On) library.
> %package java
> Summary: Liberty Alliance Single Sign On (lasso) Java bindings
> Group: Development/Libraries
> -BuildRequires: java-devel, jpackage-utils
> -Requires: jre-gcj, jpackage-utils
> +BuildRequires: java-devel
> +BuildRequires: jpackage-utils
> +Requires: java
> +Requires: jpackage-utils
> Requires: %{name}%{?_isa} = %{version}-%{release}
>
> %description java
> @@ -197,6 +199,9 @@ rm -fr %{buildroot}%{_defaultdocdir}/%{name}
> %endif
>
> %changelog
> +* Mon Apr 14 2014 Stanislav Ochotnicky <sochotnicky at redhat.com> - 2.4.0-1
> +- Use OpenJDK instead of GCJ for java bindings
> +
> * Sat Jan 11 2014 Simo Sorce <simo at redhat.com> 2.4.0-0
> - Update to final 2.4.0 version
> - Drop all patches, they are now included in 2.4.0
>
> --
> Stanislav Ochotnicky <sochotnicky at redhat.com>
> Software Engineer - Developer Experience
>
> PGP: 7B087241
> Red Hat Inc. http://cz.redhat.com
--
Simo Sorce * Red Hat, Inc * New York
More information about the devel
mailing list