On Wed, May 31, 2017 at 12:37:44PM +0200, Nikola Pajkovsky wrote:
And can that be in form
%pkg_version gcc <= 7.0
or there are limits on rpm side?
Hey, I like that. It's nicely readable. And yes, rpm can do it. The trick is that <= and 7.0 are arguments to %pkg_version, i.e. your example is actually %{pkg_version gcc <= 7.0}. It somewhat conflicts with "%pkg_version gcc" expanding to the version of gcc, though. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org