Mailinglist Archive: opensuse-packaging (139 mails)

< Previous Next >
[opensuse-packaging] RPM condition
  • From: Bernhard Walle <bwalle@xxxxxxx>
  • Date: Tue, 18 Mar 2008 16:45:20 +0100
  • Message-id: <froo2g$afl$1@xxxxxxxxxxxxx>
Hello,

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.


Bernhard

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >