| Home Up |
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 A few days later this crossed the mailing list: Date: Mon, 7 Oct 2002 10:08:50 +0300 (EEST) From: Panu Matilainen <pmatilai at welho.com> ... > Add > %define __find_requires %{nil} > to your spec file. Maybe it's just me but I find "AutoReq: 0" a bit more readable :) -- - Panu - With the point being, there is more than one way to do it -- oops -- Is TIMTOWTDI copyrighted by the perl folks? <smile> -- Russ Herrold, Editor See also: Unpackaged files terminates rpmbuild Last updated: Tue, 25 Feb 2003 08:04:15 -0500 |