Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH]: optimize _link files
On 2010-11-11 17:57:41 +0100, Dirk Müller wrote:
On Thursday 04 November 2010, Marcus Hüwe wrote:

osc copypac copies _link files verbatim, so if they refer
to the same project, copying them should make them also
refer to the new project. This can be done by leaving
out the project part if it is the same like the destination
Is there a specific reason why you need this change?

Sure, it is for packages with multiple spec files, e.g. libqt4 and libqt4-

so the setup is like

KDE:Qt / libqt4 /libqt4.spec
KDE:Qt / libqt4-devel-doc / _link pointing to "libqt4"

when I use linkpac, it hardcodes "KDE:Qt" in the _link file.

so, next step, I copy the project to elsewhere (e.g. KDE:Qt to

then in that new project it builds libqt4-devel-doc against the sources in
KDE:Qt, while in this case I want them to be built from

By not specifying the project, it does exactly that.

I just committed your patch. Thanks!

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

< Previous Next >