Mailinglist Archive: opensuse-packaging (139 mails)

< Previous Next >
Re: [opensuse-packaging] RPM condition
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Tue, 18 Mar 2008 17:05:14 +0100
  • Message-id: <20080318160514.GT31080@xxxxxxxxxxxxxxxxxxxxxxx>
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}

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References