Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH]: optimize _link files
  • From: Dirk Müller <dmueller@xxxxxxx>
  • Date: Thu, 11 Nov 2010 17:57:41 +0100
  • Message-id: <201011111757.41787.dmueller@xxxxxxx>
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
project
Is there a specific reason why you need this change?

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

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
home:dirkmueller:playground:qt).

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
home:dirkmueller:playground:qt

By not specifying the project, it does exactly that.

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

< Previous Next >
Follow Ups