From: Jeff Johnson $lt;jbj at redhat.com>
Reply-To: rpm-list at redhat.com
To: rpm-list at redhat.com
Subject: rh-rpm] Re: Make rpmbuild _not_ do automatic dependancies.
On Sat, Oct 05, 2002 at 04:37:27PM -0700, Jesse Keating wrote:
> I'm building some rpms, and in the Requires: section, I have some
> packages listed, with > $version so that later releases can use this
> package. The problem is that once the binary rpm is built, it adds
> some actual file dependencies, which are resolved by the previously
> listed packages. Is there any way to keep RPMBUILD from listing BOTH the
> packages AND the files?
>
Add
%define __find_requires %{nil}
to your spec file.
73 de Jeff