2007/3/21, Jules Colding <[EMAIL PROTECTED]>:
> %if 0%{?suse_version}
> BuildRequires: ...
> %endif

What does 0%{?suse_version} do? Does it only evaluates to true if
suse_version is defined or something like that??

If the suseversion macro is defined it returns 1 otherwise 0.
IMHO it should be
%if %suse_version > 1000
BuildRequires:  ...
%else
# neededforbuild     ...
%endif

But AFAIK in Build Service is Buildrequires macro always used also for
older distributions e.g. 9.3
So forgot the # neededforbuild  and use always BuildRequires: .

Regards Ladislav.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to