> On Mon, Nov 10, 2008 at 3:46 AM, Matthew Johnson <[EMAIL PROTECTED]> wrote: > <snip> > > That version uses javap -verbose, which is rather slow, other > > suggestions welcome. It uses the following table: > > > > highest version in the package => depends line > > > > 50 => java-runtime6 > > 49 => java-runtime6 | java-runtime5 > > 48 => java-runtime6 | java-runtime5 | java-runtime2 > > <48 => java-runtime6 | java-runtime5 | java-runtime2 | java-runtime > </snip> > > This is really nice except that you have got the dependency names > wrong. They should be java6-runtime, java5-runtime, java2-runtime etc. > > And have you considered the possibility of having dependency only on > headless runtimes? I am not sure how easy it is to detect as you will > need to check what package each class file depends on ex. swing or awt > etc. >
Maybe it's easier to only check for the proper depends in the control file and fail in case they don't have the proper versions? Either way, I think you must also add real packages to your Depends, all the above are only virtual ones. Thanks for your work, Michael
pgp1cWLx9VOas.pgp
Description: PGP signature