Mailinglist Archive: opensuse-buildservice (199 mails)

< Previous Next >
Re: [opensuse-buildservice] Specifying different debian.control files for different Ubuntu versions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18.06.2011 13:06, David Jarvie wrote:
Is it possible to specify different versions of debian.control for building
for different Ubuntu versions? For RPM distros, it's possible to provide
project-openSUSE_11.3.spec which will be used in preference to project.spec
for openSUSE 11.3 - is there a similar possibility for debian.control?

Alternatively, can conditionals be specified inside debian.control in the
same manner as %if ... %endif in .spec file?


The simplest way is to pack the whole debian/ subtree into a separate
tar.gz, then reference that in your .dsc
The .dsc's definitively have the mentioned feature. Have a look here for
example:
https://build.opensuse.org/package/files?package=wxWidgets&project=home%3Afelfert

Also, there's debian specific doc for OBS:
http://en.opensuse.org/openSUSE:Build_Service_Debian_builds

Cheers
-Fritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFN/X/YboM4mAMyprARAgbNAKChL/yIyrTVlsNuPj6C4/kEFbxzLgCfdUgv
vpmSu7ScC4H4qjRs/utGVEg=
=RzEX
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References