Mailinglist Archive: opensuse-buildservice (261 mails)

< Previous Next >
Re: [opensuse-buildservice] conditional tags in debian control file
  • From: Carsten Hoeger <choeger@xxxxxxxxxxxxxxxx>
  • Date: Fri, 20 Jun 2008 09:22:05 +0200
  • Message-id: <20080620072205.GC4039@xxxxxxxxxxxxxxxx>
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
< Previous Next >
References