RPM Community Forums

Mailing List Message of <rpm-devel>

Avoiding dependencies

From: Bernhard Rosenkränzer <bero@arklinux.org>
Date: Tue 23 Dec 2008 - 11:55:08 CET
Message-Id: <200812231155.08891.bero@arklinux.org>
I've just run into the old avoiding dependency problems 
again, and (unless I'm overlooking something and there 
already is a fix for this) I guess we need to add a new tag for 
it...

In this particular case, a package containing a /proc/self/fd/0 
-> /dev/stdin symlink is causing a dependency on 
/proc/self/fd/0, which (obviously) isn't provided by any 
package.

The usual tricks of removing the executable bit doesn't 
apply here, so the best thing to do is %define __find_requires 
to a script that runs /usr/lib/rpm/find-requires |grep -v /proc

That, however, turns off the internal dependency generator 
and all the features it brings.

Any chance for a DoesntRequire: or FilterRequires: tag, or for 
calling the internal dependency generator from a 
__find_requires script?

ttyl
bero
Received on Tue Dec 23 12:04:41 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.