user2638541
user2638541

Reputation: 5

rpmbuild unexpected dependencies

I have created rpm from binary files. When I try rpm -Uvh my_package.rpm there is a dependency problem. Strange thing is that dependencies are not in the Require section of the spec file. It looks as if rpmbuild checks my binary file for dependencies (just like ldd). How to prevent this?

Upvotes: 0

Views: 2923

Answers (1)

Aaron Hanson
Aaron Hanson

Reputation: 156

short answer; disable the automatic requirements analysis by putting this in the header of your package specification:

AutoReq: no

complete explanation is here: http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-auto-depend.html

Upvotes: 2

Related Questions