On 04/14/2010 02:56 PM, Andrew Overholt wrote: > * Alexander Kurtakov <akurtako@xxxxxxxxxx> [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. Sure, but that is a very long way from "the gcj bits will be simply unusable". There will be a speed penalty, but as soon as any gcj-uing package is installed or uninstalled, the db gets rebuilt. It's a fairly robust and fault-tolerant system. Andrew. -- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel