|Subject:||wrong generated dependency versions|
I recently used cpan2dist on something that depended on Compress::Zlib. The version I had installed was 2.008, but the latest on CPAN was 2.019. The deb that was generated by cpan2dist depended on Compress::Raw::Zlib 2.008 (my installed version) rather than 2.019 (the version specified in Makefile.PL). Later, trying to fix it, I rebuilt the deb; this time, it built IO-Compress 2.020 (the latest on CPAN), but it depended on Compress::Raw::Zlib 2.019 (the then-installed version) again. I can't tell if this is a bug in CPANPLUS or CPANPLUS::Dist::Deb. Interestingly, IO-Compress's dependency on Compress::Raw::Bzip2 was always correct; it was only Compress::Raw::Zlib that was wrong, so this may have something to do with the ordering of dependencies.