19 Mar
2008
19 Mar
'08
16:55
Marcus Rueckert napsal(a):
On 2008-03-18 16:45:20 +0100, Bernhard Walle wrote:
can somebody help me in writing
%if %{undefined rhel_version} && %{undefined centos_version} # code %else # code %endif
in a way that the build in the OBS / SUSE_Linux_10.0 succeeds? I currently get a parser error. Thanks for your help.
if ! 0%{?rhel_version} || %{?rhel_version}
For the record: 10.0 had an old rpm version where the %defined() and %undefined() macros weren't available. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org