Re: building conflicting packages from a single spec

2015-11-19 Thread Pádraig Brady
On 19/11/15 11:11, Florian Festi wrote: > On 11/18/2015 04:26 AM, Pádraig Brady wrote: >> Is $subject possible? >> >> For example generating subpackages like: >> %{name}-small-but-slow-binaries >> %{name}-fast-but-big-binaries >> >> I can %prep and %install into separate areas, >> though was

Re: building conflicting packages from a single spec

2015-11-19 Thread Florian Festi
On 11/18/2015 04:26 AM, Pádraig Brady wrote: > Is $subject possible? > > For example generating subpackages like: > %{name}-small-but-slow-binaries > %{name}-fast-but-big-binaries > > I can %prep and %install into separate areas, > though was then wondering how to adjust > the buildroot for

Re: building conflicting packages from a single spec

2015-11-18 Thread Panu Matilainen
On 11/18/2015 05:26 AM, Pádraig Brady wrote: Is $subject possible? For example generating subpackages like: %{name}-small-but-slow-binaries %{name}-fast-but-big-binaries I can %prep and %install into separate areas, though was then wondering how to adjust the buildroot for subpackages?

Re: building conflicting packages from a single spec

2015-11-18 Thread Jason L Tibbitts III
> "PB" == Pádraig Brady writes: PB> What I've done in %post is to mv the conflicting files from a temp PB> to standard location, overwriting any existing files. You really, really shouldn't do that. Really. - J< -- devel mailing list devel@lists.fedoraproject.org

Re: building conflicting packages from a single spec

2015-11-18 Thread Pádraig Brady
On 18/11/15 03:31, Jason L Tibbitts III wrote: >> "PB" == Pádraig Brady writes: > > PB> Is $subject possible? > > I don't think so, since at the end of %install you have exactly one set > of files in one buildroot. Right. There was talk of potential support for this

Re: building conflicting packages from a single spec

2015-11-18 Thread Richard W.M. Jones
On Wed, Nov 18, 2015 at 04:34:16PM +, Pádraig Brady wrote: > On 18/11/15 03:31, Jason L Tibbitts III wrote: > >> "PB" == Pádraig Brady writes: > > > > PB> Is $subject possible? > > > > I don't think so, since at the end of %install you have exactly one set > > of

Re: building conflicting packages from a single spec

2015-11-18 Thread Pádraig Brady
On 18/11/15 22:34, Richard W.M. Jones wrote: > On Wed, Nov 18, 2015 at 04:34:16PM +, Pádraig Brady wrote: >> On 18/11/15 03:31, Jason L Tibbitts III wrote: "PB" == Pádraig Brady writes: >>> >>> PB> Is $subject possible? >>> >>> I don't think so, since at the end

Re: building conflicting packages from a single spec

2015-11-17 Thread Jason L Tibbitts III
> "PB" == Pádraig Brady writes: PB> Is $subject possible? I don't think so, since at the end of %install you have exactly one set of files in one buildroot. Still, I don't see a reason for the subpackages to actually conflict. PB> Are any other techniques possible?

building conflicting packages from a single spec

2015-11-17 Thread Pádraig Brady
Is $subject possible? For example generating subpackages like: %{name}-small-but-slow-binaries %{name}-fast-but-big-binaries I can %prep and %install into separate areas, though was then wondering how to adjust the buildroot for subpackages? Are any other techniques possible? I suppose I

Re: building conflicting packages from a single spec

2015-11-17 Thread Sérgio Basto
On Qua, 2015-11-18 at 03:26 +, Pádraig Brady wrote: > Is $subject possible? Name:   VirtualBox Conflicts:  %{name}-guest <= %{version}-%{release} %package guest Conflicts:  %{name} <= %{version}-%{release} so you can't install VirtualBox and VirtualBox-guest at same time because the