Is it possible to specify in a rpm spec file that to be able to build you need a version of a package greater than and at the same time lower than something?
For example I would like to specify python >= 2.7 and < 3.0.
Can it be done with buildrequires and if it is possible what would be the syntax?
As I have not seen any example like that I was thinking of:
BuildRequires: python >= 2.7
BuildRequires: python < 3.0