Re: Saner Java packaging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux