* Alexander Kurtakov <akurtako(a)redhat.com> [2010-03-09 11:13]:
> %if %{gcj_support}
> %post
> if [ -x %{_bindir}/rebuild-gcj-db ]
> then
> %{_bindir}/rebuild-gcj-db
> fi
> %endif
>
> So, if gcj is installed the right thing happens and if gcj isn't installed
> the right thing still happens.
I don't think that if gcj is not installed the right thing still happens
because if rebuild-gcj-db is not available and the gcj-db isn't rebuild then
the gcj bits will be simply unusable or I'm wrong?
I think the concern is that if one installs a bunch of gcj .so-using
packages withOUT whatever provides rebuild-gcj-db installed and THEN
installs java-gcj-compat, the db won't get updated.
Andrew