Mailinglist Archive: opensuse-buildservice (351 mails)

< Previous Next >
Re: [opensuse-buildservice] Shared spec vs duplicated spec's
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 11 Jul 2008 14:58:16 +0200
  • Message-id: <200807111458.16952.adrian@xxxxxxx>
On Friday 11 July 2008 14:52:28 Marcus Rueckert wrote:
On 2008-07-11 20:09:30 +1000, Mark V wrote:
I raised this on the IRC channel so apologies if you've seen this.

I have a project's src.rpm that I'd like to move onto the OBS, and
this has raised some issues....
The current src.rpm uses lots of --build "option n" switches. Some of
these are accommodated by OBS since they are distro specific builds.
Others however relate to building different components.

My Question is how to 'map' this to OBS?

I think, you can create a project config and define rpm macro settings based
on the build target repo.

osc meta prjconf -e <project>

And add

Macros:
%if "%_repository" == "openSUSE_10.3"
%macro_name 1
%endif


for example.

--

Adrian Schroeter
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
email: adrian@xxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References