[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debcheck: "Arch: all" package pulls non-linux package by Recommends



On Sun, 30 May 2010 18:22:16 +0200
Ralf Treinen <treinen@free.fr> wrote:

> On Sun, May 30, 2010 at 02:10:35PM +0200, Christoph Berg wrote:
> > Re: Ralf Treinen 2010-05-26 <[🔎] 20100526194043.GC2946@free.fr>
> > > I am afraid there is currently no way. This would require architecture
> > > constraints for relations between binary packages like
> > > 
> > > Recommends: tomoyo-ccstools1.7 [! kfreebsd-i386 kfreebsd-amd64]
> > > 
> > > Currently (policy 3.8.4), this is not permitted. Only build-time
> > > relations may carry architecture consraints.
> > 
> > You could put ${linux:Recommends} in the Recommends field and use
> > deb-substvars(5), but ...
> 
> How would that change the situation? There still would be only one binary
> package which has Architecture=all, right?

  But the Recommends line could be generated empty if the building
  architecture is one if the kfreebsd ones where the recommended package
  doesn't exist.

  regards,
-- 
  Ricardo Mones 
  ~
  You have the capacity to learn from mistakes. You'll learn a lot 
  today.                                           /usr/games/fortune

Attachment: signature.asc
Description: PGP signature


Reply to: