Mark
Mark

Reputation: 6464

rpm: specify version in BuildRequires or Requires directives in spec file

Is there a way to specify a package version in BuildRequires or Requires directives inside the rpm spec file? For example, I know that my package can be built with python version 3.5+ (i.e. 3.6 is fine too). I could not find this specific syntax.

Upvotes: 0

Views: 1151

Answers (1)

Aaron D. Marasco
Aaron D. Marasco

Reputation: 6748

It's as you would expect:

Requires: python >= 3.5

Upvotes: 2

Related Questions