Mailinglist Archive: opensuse-buildservice (261 mails)

< Previous Next >
Re: [opensuse-buildservice] conditional tags in debian control file
  • From: Mathieu OUDART <mathieuo@xxxxxxxxxxxxx>
  • Date: Fri, 20 Jun 2008 12:13:21 -0500 (CDT)
  • Message-id: <1904889523.120191213982001484.JavaMail.root@xxxxxxxxxxxxx>

sure, I just though that OBS could have some extended syntax .. and I haven't
found any way to set soft dependencies in a control file.

any thoughts on how to handle this issue ?

--
Mathieu OUDART

----- Original Message -----
From: "Carsten Hoeger" <choeger@xxxxxxxxxxxxxxxx>
To: opensuse-buildservice@xxxxxxxxxxxx
Sent: Friday, June 20, 2008 12:22:05 AM GMT -08:00 US/Canada Pacific
Subject: Re: [opensuse-buildservice] conditional tags in debian control file

On Thu, Jun 19, Mathieu OUDART wrote:

I'm falling into an issue building my software for debian flavored
platforms. One dependency (libmono-i18n2.0-cil) appeared with Ubuntu 8.04.
Previously these libs were included in the libmono-corlib2.0-cil package. So
I would need to do something like :

%if 0%{?ubuntu_version} < 8
Depends: libmono-corlib2.0-cil
%else
Depends: libmono-corlib2.0-cil, libmono-i18n2.0-cil
%endif

I use that kind of tags in my RPM spec file but would that also work for
Debian control files ? Thanks

Not according to http://www.debian.org/doc/debian-policy/ch-controlfields.html

--
With best regards,

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

< Previous Next >