Re: Problems with find-requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux