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

rpmbuild: disable find-provides function



It seems one cannot disable or redefine the function that automatically
builds the "provides" list in a new RPM. Appears to be built into
librpmbuild now and never even calls /usr/lib/rpm/find-provides (or
.perl) anymore.

Basically, shared libraries private to a package are being listed as
available by the resulting RPM, causing problems for dependancies of
other packages and having this RPM being installed inappropriately by
Anaconda.

Have tried the traditional approach of having:

   %define __find_provides         %{nil}

or

   %define __find_provides         /bin/true

in the spec file, but this isn't working in RHEL3/4. RPM still comes up
listing every .so file.

How can one disable this function and just list the items from the
"Provides:" tag ?


thanks,
-ericb


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