On 04/17/2017 02:35 AM, xiaofeng wrote: > Hi all, > > Is it possible to define BuildRequires on version with release number? Which release number do you mean? The value in the "Release:" field of the spec file? Or do you mean the Fedora release version (such as "25")? In the former case, you can just specify: BuildRequires: foo > 1.0.0-4 In the latter case, you probably want: %if 0%{?fedora} >= 25 BuildRequires: foo %else BuildRequires: bar %endif _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx