[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Problems with find-requires
- From: Tim Mooney <mooney dogbert cc ndsu NoDak edu>
- To: rpm-list redhat com
- Subject: Re: Problems with find-requires
- Date: Wed, 19 Nov 2003 10:39:23 -0600 (CST)
In regard to: Problems with find-requires, Eric-Olivier Lamey said (at...:
>
> Hi,
> I am trying to build a RPM package without the automatic detection of
> the required libraries. I looked in the documentation and I tried to
> change the __find_requires macro but I can't get it to work.
> I tried to put:
> %__find_requires /bin/echo
> both in the spec file and in ~/.rpmmacros, but the 'Requires' part
> is still added. Th weird thing is that it does the same thing if
> I remove /usr/lib/rpm/{redhat}/find-requires.
> Does anyone have an idea ?
>
> Thanks.
>
> The build machine is:
> - distribution: RHEL 3 AS
> - relevant packages: rpm-4.2.1-4.2, rpm-devel-4.2.1-4.2,
>rpm-build-4.2.1-4.2
Very recent rpm has an internal dependency generator which is on by
default. There's a macro you can change to switch back to the old
behavior of calling the external find-requires script.
Look around in /usr/lib/rpm/macros, and copy the relevant setting to
your .rpmmacros file, and you should be set.
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]