On Thu, Oct 31, 2019 at 06:20:19AM -0700, L A Walsh wrote:
Ah, because perl is configured to put thing in directories like 5.16.0, 5.16.1, 5.16.2, etc.
But if perl was configured (in an extreme counter example case) to always put libs in '5', then all versions of perl5 would look there for perl and as long as the rpm said it was meant for perl5, then it would work (from an installation point of view).
Though -- more in between, if perl, like python was to only use 2 version numbers, like 5.28, and any version that started with 5.28 would end up in that directory (like 5.28.0, 5.28.3, 5.28.9...etc). From a release-configuration point of view -- as long as the rpm points to perl 5.28 as the compatible version (and directory), then that middle road should also work (because it works for python saying >=3.5 even if it is really 3.5.1 or 3.5.3, etc), right?
I.e. if it works for python, then it should work with perl -- I understand, I think, where you are coming from -- as long as both libraries and perl point to the same directory, they should work together. That should work for most people, including me, unless your requirement is that somebody's gotta be screwed and there has to be a loser, in which case we'd still have a problem, but hopefully you aren't that type of person -- that'd just be silly.
It should work like this for SUSE's perl: If there's a minor version update (i.e. no ABI breakage), perl will be configured so that it also looks into the directory of the older perl. So perl-5.28.1 should also look into the 5.28.0 directory. Also, perl-5.28.1 should provide both "perl(:MODULE_COMPAT_5.28.1)" and "perl(:MODULE_COMPAT_5.28.0)". Now, looking at Factory's perl this doesn't seem to be true, so apparently I made a mistake when I did the 5.28.1 update. With perl upstream doing major version updates this often, all of this is moot. Factory will get perl-5.30.0 in a couple of weeks, which will not be compatible to 5.28.*. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org