Re: patch only if dependent version < x? (rpm spec)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam Varshavchik wrote:

> Neal Becker writes:
> 
>> How can I apply a patch only if the version of a dependency is < x?
> 
> You mean you want to specify the dependency's version in a macro, that you
> put into Requires:? If so, just use the macro in your build script, it'll be
> expanded, and you can test its value. Bare-bones shell isn't usually
> convenient for understanding most kinds of version number formats. You may
> need to do something fancy.

I mean, a patch is needed only if one of the BR versions is less than a.b.  So I 
want to conditionally apply a patch, based on the version of the BR.

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux