Mailinglist Archive: opensuse-buildservice (226 mails)

< Previous Next >
Re: [opensuse-buildservice] How to ifdef ubuntu in prjconfig?
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 02 Sep 2011 09:59:26 +0200
  • Message-id: <1385164.cLrS0pJ1tR@scherben>
Am Freitag, 2. September 2011, 02:57:53 schrieb Paul Elliott:
If I put the following in my project config:

if 0%{?ubuntu_version} > 1004
Preinstall: xz-utils
Preinstall: liblzma2

It fixes my ubuntu builds, but it breaks my rpm builds saying
nothing provides xz-utils, liblzma2

Try %if

Is there any conditional that will only affect my ubuntu builds?
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

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

< Previous Next >