Mailinglist Archive: opensuse-buildservice (145 mails)

< Previous Next >
Re: [opensuse-buildservice] prj config to get oss repo?
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.


Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >