RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Filtering automagically generated dependencies

From: Arkadiusz Miskiewicz <arekm@pld-linux.org>
Date: Fri 05 Oct 2007 - 13:56:29 CEST
Message-Id: <200710051356.29772.arekm@pld-linux.org>
On Friday 05 of October 2007, Jeff Johnson wrote:
> On Oct 5, 2007, at 2:25 AM, Arkadiusz Miskiewicz wrote:
>
> Sucks is a different mtter.
>
> How many packages need this functionality? Acroread, which isn't
> built correctly. How many other packages __NEED__ a grep -v
> filtering mechanism in rpm because add some Requires: manually
> "sucks"?

Only few. In PLD

$ grep '_noauto' *.spec | cut -d: -f1 | sort | uniq | wc -l
498
$ ls *.spec |wc -l
12169

> > There is package A that Requires: libcrap.so.1 and there is package
> > B that
> > Requires: libcrap.so.1. Tell me now how to filter out libcrap.so.1
> > ONLY for
> > package A but NOT B with per-distro filtering rule.
>
> Presumably A and B are binary subpkgs of a single build

No. Different specs. And you can use only per-distro filtering and cannot use 
manual Requires:. Try that ;-)

> 73 de Jeff

-- 
Arkadiusz Mi¶kiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
Received on Fri Oct 5 13:56:34 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.