[fedora-java] Saner Java packaging

David Walluck david at zarb.org
Tue Mar 9 15:21:57 UTC 2010


On 03/09/2010 08:31 AM, Andrew Haley wrote:
>  %if %{gcj_support}
>  BuildRequires:         java-gcj-compat-devel
> -Requires(post):                java-gcj-compat
> -Requires(postun):      java-gcj-compat
>  %endif
>  
>  %description
> 
> and it's fine.  There's no need AFAICS for a Requires: on java-gcj-compat.

We used this method in Mandriva. We also changed the %post/%postun to

if [ -x /usr/bin/rebuild-gcj-db ]; then /usr/bin/rebuild-gcj-db || true ; fi

-- 
Sincerely,

David Walluck
<david at zarb.org>


More information about the java-devel mailing list