Mailinglist Archive: opensuse-buildservice (131 mails)

< Previous Next >
Re: [opensuse-buildservice] multiple specs status
On 2013-02-20 23:26:54 +0100, Dimstar / Dominique Leuenberger wrote:
On Thu, 2013-02-21 at 00:29 +0300, Kanstantsin Shautsou wrote:
Hi, what is the current/future situation for packages with >1 specs?
Does OBS auto creates package for the second spec? If yes why?
No, it does not.

if there is > 1 .spec file in a package, only the one matching the
package name is being built.

That's not quite correct. The spec file selection works like the
following: check if one of the following files exists and return it

package-repo.spec
package.spec
comp1.spec if package == comp1.<multiple dot separated components
and/or an "arbitrary" str>
and the file comp1.spec exists
*.spec if the package has only one spec file
*package*.spec if there's exactly one file which matches this pattern
*package-repo*.spec if there's exactly one file which matches this
pattern

(for the details see sub findfile in bs_srcserver).

you will have to create linked packages inside the project for the
others to work (see the various python- / python3- packages)



Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >