[opensuse-buildservice] Per package Prefer definitions
Hi, I have a case: conflict for provider of libgcc_s1 >= 5.1.1+r224716-2.3 needed by gcc5, (provider libgcc_s1-gcc5 is conflicted by installed libgcc_s1) I need to Prefer libgcc_s1-gcc5 but for a single package. Is it possible? Project is defaulting to gcc4.8 but gcc5 is available as well. The reason I need gcc5 for particular package is gcc-go. Thanks, Dinar -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Aug 04, 2015 at 11:07:27PM +0200, Dinar Valeev wrote:
Hi,
I have a case: conflict for provider of libgcc_s1 >= 5.1.1+r224716-2.3 needed by gcc5, (provider libgcc_s1-gcc5 is conflicted by installed libgcc_s1)
I need to Prefer libgcc_s1-gcc5 but for a single package. Is it possible?
Not without modifying the spec file. You need to add a BuildRequires: libgcc_s1-gcc5 line to it. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Aug 5, 2015 at 2:38 PM, Michael Schroeder <mls@suse.de> wrote:
On Tue, Aug 04, 2015 at 11:07:27PM +0200, Dinar Valeev wrote:
Hi,
I have a case: conflict for provider of libgcc_s1 >= 5.1.1+r224716-2.3 needed by gcc5, (provider libgcc_s1-gcc5 is conflicted by installed libgcc_s1)
I need to Prefer libgcc_s1-gcc5 but for a single package. Is it possible?
Not without modifying the spec file. You need to add a
BuildRequires: libgcc_s1-gcc5 That still wouldn't eliminate Preinstall: libgcc_s1 in that case I'm getting rpm conflict at preinstall stage
line to it.
Cheers, Michael.
-- Michael Schroeder mls@suse.de SUSE LINUX 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Dinar Valeev
-
Michael Schroeder