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@open-xchange.com To: opensuse-buildservice@opensuse.org 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
On Friday 20 June 2008 19:13:21 Mathieu OUDART wrote:
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 ?
Yes, I handle it in KDevelop
For more info see: http://news.opensuse.org/2008/06/04/kdevelop-and-the-opensuse-build-service/
and: http://en.opensuse.org/Build_Service/Deb_builds
Here you can see how I drive the build service to it's limit. So far I'm the only user that I know of that does this kind of stuff. https://build.opensuse.org/package/show?package=KDevelop3&project=home%3...
buildservice@lists.opensuse.org