[Fedora-packaging] ensuring a specific version of python

Martin Krizek mkrizek at redhat.com
Wed Aug 10 14:49:09 UTC 2011


> > Is there a proper, 'Packaging Guidelines friendly' way to ensure a
> > specific version of python?
> >
> > Is following fine?
> >
> > Requires: python>= 2.6
> > BuildRequires: python2-devel>= 2.6
> 
> Depends on the context and what you mean exactly by "Specific version
> of
> python". however,
> 
> BuildRequires: python2-devel >= 2.6
> will indeed ensure that python3 isn't used, for example.

I mean python >= 2.6 and < 3.

Thanks,
Martin


More information about the packaging mailing list