On 08/10/2011 09:18 AM, Martin Krizek wrote:
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.
python runtime deps are generally automatic, with
Requires: python(abi) = ...
being added by rpmbuild. do you have any cases where this isn't the case?
-- rex