Mailinglist Archive: opensuse-buildservice (116 mails)

< Previous Next >
Re: [opensuse-buildservice] Specify .spec file to use to build
On Fri, Aug 03, 2012 at 10:06:46AM +0100, Cristian Morales Vega wrote:
On 3 August 2012 09:25, Michael Schroeder <mls@xxxxxxx> wrote:
On Thu, Aug 02, 2012 at 10:08:30PM +0100, Cristian Morales Vega wrote:
I guess because of
http://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks#Using_different_spec_files_for_different_platforms
when you have a package with two spec files (e.g. binutils.spec and
cross-x86_64-binutils.spec) nothing will build for a repository like
"openSUSE_12.2", staying in status excluded.

It should pick binutils.spec if the build service package is named
"binutils". If a package contains more than one specifle, its name
matters.

OK, let's use my specific user case to make this clear. I want the
libraries compiled in my home repo to have DT_NEEDED entries for all
the libraries they actually directly need. I don't submit a patch to
Factory because there are good reason that's not the default.
To do so I add a patch like this
(https://build.opensuse.org/package/view_file?file=binutils-build-no-undefined.patch&package=binutils&project=home%3ARedDwarf).
But since I build for openSUSE_12.1 and openSUSE_12.2 I need two
binutils packages, openSUSE:12.1/binutils and openSUSE:12.2/binutils.
I can't have two packages with the same name in my home repo (sure, I
could create different sub-repos specifically for this, I don't want
to), so the packages with the links are named binutils-12.1 and
binutils-12.2.

It should work if you name the packages "binutils.12.1" and "binutils.12.2".

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >