22 Nov
2011
22 Nov
'11
11:05
On Tue, Nov 22, 2011 at 11:25:15PM +1300, Volker Kuhlmann wrote:
I have found the problem.
%if 0%(vs="%{vers}"; test ${vs:0:3} = 4.5 && echo 1)
works just fine, except in the OBS for BuildRequires:. It does work in the OBS in %description and %build.
Yeah, OBS can't expand %() for obvious reasons. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org