[opensuse-buildservice] conditional tags in debian control file
Hi, 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 -- Mathieu OUDART - MindTouch --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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
participants (2)
-
Carsten Hoeger
-
Mathieu OUDART