Reputation: 5
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
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