Mailinglist Archive: opensuse-buildservice (110 mails)

< Previous Next >
Re: [opensuse-buildservice] linking question
  • From: Christoph Thiel <cthiel@xxxxxxx>
  • Date: Mon, 31 Jul 2006 00:54:15 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0607310048390.21977@xxxxxxxxxxxxx>
On Sun, 30 Jul 2006, Marcus Hüwe wrote:

> > > today i tried to link a package from another project to my project
> > > which wasn't a problem. Then i checked out the new package with osc
> > > but i only find a "_link"-file in the package dir. So how can i add
> > > a patch for example or how can i modify the specfile?
> >
> > Check out
> > or
> >
> > as a reference of using links+patches.
> >
> thanks for your help but it doesn't work:
> For testing i created a simple patch for the specfile (see attached file).
> I put this file into my package dir and run "osc add patch" and "osc ci" (i
> tried it with the webclient too).
> I have no idea what i'm doing wrong :/

Oh, you need to modify the _link file as well :) That's why I was pointing
you to the examples that are already using it.

Here is an example:

<link project='home:cthiel1' package='openobex'>
<apply name='mandriva-patch.diff'/>

This one will just apply the patch mandriva-patch.diff on the

Here is another example, that's using the topadd option, which could be
used to define macros:

<link project="screen" package="screen">
<apply name="patch"/>
<topadd># hello, screen</topadd>

Actually, I'm not sure if we already document those features anywhere?
[There is quite some stuff in the backend, that's not yet utilized by the

To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice-help@xxxxxxxxxxxx
< Previous Next >
Follow Ups