Re: [opensuse-buildservice] debbuild for building LSB debian packages with RPM spec files on OBS?
On Mon, Jun 25, 2012 at 08:15:11PM -0500, Conan Kudo (?$B%K!<%k!&%4%s%Q) wrote:
Have you done any tests to see if debbuild support can be integrated into OBS yet?
Well, I did a couple of commits in the master branch to move it in the right direction. To be specific, we now allow a "Binarytype" directive in the project config to configure the type of the binaries (rpm/deb) independent of the type of the sources (spec/dsc). So you would use Type: spec Binarytype: deb in the build config of your project. What's still missing is support for "debbuild" in the build script, i.e. it should call debbuild instead of rmbuild if the binarytype is set to "deb". OBS itself doesn't need to be changed for that, we need to support this in the "build" package. Also note that build.opensuse.org currently runs the 2.3 branch, so "Binarytype" is not yet available. We'll change to master this week, though. Cheers. Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Jun 26, 2012 at 5:49 AM, Michael Schroeder
Well, I did a couple of commits in the master branch to move it in the right direction. To be specific, we now allow a "Binarytype" directive in the project config to configure the type of the binaries (rpm/deb) independent of the type of the sources (spec/dsc). So you would use
Type: spec Binarytype: deb
in the build config of your project. What's still missing is support for "debbuild" in the build script, i.e. it should call debbuild instead of rmbuild if the binarytype is set to "deb". OBS itself doesn't need to be changed for that, we need to support this in the "build" package.
This is very interesting. Can this be done on the project config per-repo? Ie: set it only for debian-based repos inside a project? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Dienstag, 26. Juni 2012, 10:57:35 schrieb Claudio Freire:
On Tue, Jun 26, 2012 at 5:49 AM, Michael Schroeder
wrote: Well, I did a couple of commits in the master branch to move it in the right direction. To be specific, we now allow a "Binarytype" directive in the project config to configure the type of the binaries (rpm/deb) independent of the type of the sources (spec/dsc). So you would use
Type: spec Binarytype: deb
in the build config of your project. What's still missing is support for "debbuild" in the build script, i.e. it should call debbuild instead of rmbuild if the binarytype is set to "deb". OBS itself doesn't need to be changed for that, we need to support this in the "build" package.
This is very interesting.
Can this be done on the project config per-repo?
Ie: set it only for debian-based repos inside a project?
%if "%_repository" == "Debian_5" Type:...
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Jun 26, 2012 at 10:59 AM, Adrian Schröter
%if "%_repository" == "Debian_5" Type:...
Oh... I didn't know macros worked in prjconfig. Nice :D -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Jun 26, 2012 at 10:49:12AM +0200, Michael Schroeder wrote:
instead of rmbuild if the binarytype is set to "deb". OBS itself doesn't need to be changed for that, we need to support this in the "build" package.
Who is the maintainer of the build package? Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Mittwoch, 27. Juni 2012, 07:41:51 schrieb Martin Koegler:
On Tue, Jun 26, 2012 at 10:49:12AM +0200, Michael Schroeder wrote:
instead of rmbuild if the binarytype is set to "deb". OBS itself doesn't need to be changed for that, we need to support this in the "build" package.
Who is the maintainer of the build package?
That is the wrong question without having a patch;) https://github.com/openSUSE/obs-build -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Jun 27, 2012 at 07:47:46AM +0200, Adrian Schröter wrote:
Who is the maintainer of the build package?
That is the wrong question without having a patch;)
To prevent the generation of invalid diffs of empty files: https://github.com/e9925248/obs-build/commit/a55179f6b2abc6a781e7251b538c23f... Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Claudio Freire
-
Martin Koegler
-
Michael Schroeder