[Fedora-packaging] perl module MODULE_COMPAT

Dag Wieers dag at wieers.com
Thu Mar 31 13:02:19 UTC 2005

On Thu, 31 Mar 2005, Michael Schwendt wrote:

> On Wed, 30 Mar 2005 23:07:55 -1000, Warren Togami wrote:
> > Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
> > $version))
> > 
> > As long as we're going through all FC4 perl modules, we might as well 
> > add this to all packages too.  Just confirming, is this wanted in *ALL* 
> > packages that need perl, both regular arch and noarch?
> Certainly for all Perl module packages which install files into versioned
> Perl vendor lib locations (or site lib, although that should not be done).
> That's the only way to ensure that the main "perl" actually supports loading
> from those versioned directories.

One important point, you are (or have been) effectively dropping support 
for every distro prior to FC1. Also perl offers compatibility with 
multiple versions, I guess that's why you want this (so a perl security 
bug allows you to ship a newer perl instead of backporting the fix).

I'm not sure if the advantage of this strict/loose dependency weighs up 
against the disadvantage of dropping everything that came before FC1.

I don't see a problem with no versioned dependency, since the only case 
where this really is a problem is when people install a package from 
another place (you don't have control over that anyway) or Fedora Extras 
ships suddenly without some perl module.

If there was no disadvantage I would probably embrace this as much as the 
next guy.

--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]

More information about the Fedora-packaging mailing list