That works now? The last time I tried using %if in Macros it just thought I was trying to define it as a macro. On Fri, 2008-07-11 at 14:58 +0200, Adrian Schröter wrote:
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.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org